aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/lib/py/netns.py
diff options
context:
space:
mode:
authorIvan Pravdin <[email protected]>2025-05-18 22:41:02 +0000
committerHerbert Xu <[email protected]>2025-05-19 05:44:16 +0000
commitb2df03ed4052e97126267e8c13ad4204ea6ba9b6 (patch)
tree195d9ca059427d2a2e481d1e4341ac18ae339189 /tools/testing/selftests/net/lib/py/netns.py
parentpadata: do not leak refcount in reorder_work (diff)
downloadkernel-b2df03ed4052e97126267e8c13ad4204ea6ba9b6.tar.gz
kernel-b2df03ed4052e97126267e8c13ad4204ea6ba9b6.zip
crypto: algif_hash - fix double free in hash_accept
If accept(2) is called on socket type algif_hash with MSG_MORE flag set and crypto_ahash_import fails, sk2 is freed. However, it is also freed in af_alg_release, leading to slab-use-after-free error. Fixes: fe869cdb89c9 ("crypto: algif_hash - User-space interface for hash operations") Cc: <[email protected]> Signed-off-by: Ivan Pravdin <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/netns.py')
0 files changed, 0 insertions, 0 deletions