CVE
CVE-2025-38052
CNA description
In the Linux kernel, the following vulnerability has been resolved: net/tipc: fix slab-use-after-free Read in tipc_aead_encrypt_done Syzbot reported a slab-use-after-free with the following call trace: ================================================================== BUG: KASAN: slab-use-after-free in tipc_aead_encrypt_done+0x4bd/0x510 net/tipc/crypto.c:840 Read of size 8 at addr ffff88807a733000 by task kworker/1:0/25 Call Trace: kasan_report+0xd9/0x110 mm/kasan/report.c:601 tipc_aead_encrypt_done+0x4bd/0x510 net/tipc/crypto.c:840 crypto_request_complete include/crypto/algapi.h:266 aead_request_complete include/crypto/internal/aead.h:85 cryptd_aead_crypt+0x3b8/0x750 crypto/cryptd.c:772 crypto_request_complete include/crypto/algapi.h:266 cryptd_queue_worker+0x131/0x200 crypto/cryptd.c:181 process_one_work+0x9fb/0x1b60 kernel/workqueue.c:3231 Allocated by task 8355: kzalloc_noprof include/linux/slab.h:778 tipc_crypto_start+0xcc/0x9e0 net/tipc/crypto.c:1466 tipc_init_net+0x2dd/0x430 net/tipc/core.c:72 ops_init+0xb9/0x650 net/core/net_namespace.c:139 setup_net+0x435/0xb40 net/core/net_namespace.c:343 copy_net_ns+0x2f0/0x670 net/core/net_namespace.c:508 create_new_namespaces+0x3ea/0xb10 kernel/nsproxy.c:110 unshare_nsproxy_namespaces+0xc0/0x1f0 kernel/nsproxy.c:228 ksys_unshare+0x419/0x970 kernel/fork.c:3323 __do_sys_unshare kernel/fork.c:3394 Freed by task 63: kfree+0x12a/0x3b0 mm/slub.c:4557 tipc_crypto_stop+0x23c/0x500 net/tipc/crypto.c:1539 tipc_exit_net+0x8c/0x110 net/tipc/core.c:119 ops_exit_list+0xb0/0x180 net/core/net_namespace.c:173 cleanup_net+0x5b7/0xbf0 net/core/net_namespace.c:640 process_one_work+0x9fb/0x1b60 kernel/workqueue.c:3231 After freed the tipc_crypto tx by delete namespace, tipc_aead_encrypt_done may still visit it in cryptd_queue_worker workqueue. I reproduce this issue by: ip netns add ns1 ip link add veth1 type veth peer name veth2 ip link set…
Affected versions
All Linux kernel vulnerabilities →
- 6.15-rc7This version only
- 6.15-rc6This version only
- 6.15-rc5This version only
- 6.15-rc4This version only
- 6.15-rc3This version only
- 6.15-rc2This version only
- 6.15-rc1This version only
- ≥ 6.13, < 6.14.9Fixed in 6.14.9
- ≥ 6.7, < 6.12.31Fixed in 6.12.31
- ≥ 6.2, < 6.6.93Fixed in 6.6.93
- ≥ 5.16, < 6.1.141Fixed in 6.1.141
- ≥ 5.11, < 5.15.185Fixed in 5.15.185
- ≥ 5.5, < 5.10.238Fixed in 5.10.238
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/4a0fddc2c0d5c28aec8c262ad4603be0bef1938c · Patch
- git.kernel.org/stable/c/689a205cd968a1572ab561b0c4c2d50a10e9d3b0 · Patch
- git.kernel.org/stable/c/b19fc1d0be3c3397e5968fe2627f22e7f84673b1 · Patch
- git.kernel.org/stable/c/b8fcae6d2e93c54cacb8f579a77d827c1c643eb5 · Patch
- git.kernel.org/stable/c/d42ed4de6aba232d946d20653a70f79158a6535b · Patch
- git.kernel.org/stable/c/e279024617134c94fd3e37470156534d5f2b3472 · Patch
- git.kernel.org/stable/c/f5c2c4eaaa5a8e7e0685ec031d480e588e263e59 · Patch
- lists.debian.org/debian-lts-announce/2025/10/msg00007.html · Third Party Advisory
- lists.debian.org/debian-lts-announce/2025/10/msg00008.html · Third Party Advisory
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.