CVE-2024-40954
Fix Status by Distribution
Fixed in 15 of 27 tracked Linux releases
Fix evidence last checked: 2026-11-27 12:31 UTC
Get alerted when your releases are fixedFixed in:
AlmaLinux 8
ALSA-2024:7000 · Published: 2024-09-25
ALSA-2024:7001 · Published: 2024-09-24
AlmaLinux 9
ALSA-2024:5363 · Published: 2024-11-03
Debian 11 (Bullseye)
DLA-4008-1 · Published: 2025-01-02
DSA-5731-1 · Published: 2024-07-16
Debian 12 (Bookworm)
DSA-5731-1 · Published: 2024-07-16
Debian 13 (Trixie)
Debian Security Tracker · Observed 2026-11-21
Oracle Linux 8
ELSA-2024-7000 · Published: 2024-09-24
Oracle Linux 9
ELSA-2024-5363 · Published: 2024-08-14
Red Hat Enterprise Linux 8
RHSA-2024:7000 · Published: 2024-09-24
Red Hat Enterprise Linux 9
RHSA-2024:5363 · Published: 2024-08-14
Rocky Linux 8
RLSA-2024:7000 · Published: 2025-05-07
RLSA-2024:7001 · Published: 2024-09-30
Rocky Linux 9
RLSA-2024:5363 · Published: 2024-08-21
SUSE Linux Enterprise Server 15 SP5
SUSE-SU-2025:0266 · Published: 2025-01-27
SUSE-SU-2025:0260 · Published: 2025-01-27
SUSE-SU-2025:0254 · Published: 2025-01-27
SUSE-SU-2025:0253 · Published: 2025-01-27
SUSE-SU-2025:0252 · Published: 2025-01-27
SUSE-SU-2025:0164 · Published: 2025-01-17
SUSE-SU-2025:0158 · Published: 2025-01-17
SUSE-SU-2025:0146 · Published: 2025-01-16
SUSE-SU-2025:0138 · Published: 2025-01-16
SUSE-SU-2025:0115 · Published: 2025-01-15
SUSE-SU-2025:0114 · Published: 2025-01-15
SUSE-SU-2024:4243 · Published: 2024-12-06
SUSE-SU-2024:4228 · Published: 2024-12-06
SUSE-SU-2024:4218 · Published: 2024-12-05
SUSE-SU-2024:4216 · Published: 2024-12-05
SUSE-SU-2024:4214 · Published: 2024-12-05
SUSE-SU-2024:4207 · Published: 2024-12-05
SUSE-SU-2024:4128 · Published: 2024-12-02
SUSE-SU-2024:4127 · Published: 2024-12-02
SUSE-SU-2024:4125 · Published: 2024-12-02
SUSE-SU-2024:4124 · Published: 2024-12-02
SUSE-SU-2024:4123 · Published: 2024-12-02
SUSE-SU-2024:4122 · Published: 2024-12-02
SUSE-SU-2024:3860 · Published: 2024-10-31
SUSE-SU-2024:3857 · Published: 2024-10-31
SUSE-SU-2024:3856 · Published: 2024-10-31
SUSE-SU-2024:3855 · Published: 2024-10-31
SUSE-SU-2024:3852 · Published: 2024-10-31
SUSE-SU-2024:3842 · Published: 2024-10-31
SUSE-SU-2024:3840 · Published: 2024-10-30
SUSE-SU-2024:3837 · Published: 2024-10-30
SUSE-SU-2024:3833 · Published: 2024-10-30
SUSE-SU-2024:3831 · Published: 2024-10-30
SUSE-SU-2024:3830 · Published: 2024-10-30
SUSE-SU-2024:3829 · Published: 2024-10-30
SUSE-SU-2024:3710 · Published: 2024-10-16
SUSE-SU-2024:3706 · Published: 2024-10-16
SUSE-SU-2024:3702 · Published: 2024-10-16
SUSE-SU-2024:3701 · Published: 2024-10-16
SUSE-SU-2024:3697 · Published: 2024-10-16
SUSE-SU-2024:3694 · Published: 2024-10-16
SUSE-SU-2024:3679 · Published: 2024-10-16
SUSE-SU-2024:3670 · Published: 2024-10-16
SUSE-SU-2024:3655 · Published: 2024-10-16
SUSE-SU-2024:3639 · Published: 2024-10-15
SUSE-SU-2024:3638 · Published: 2024-10-15
SUSE-SU-2024:3636 · Published: 2024-10-15
SUSE-SU-2024:3635 · Published: 2024-10-15
SUSE-SU-2024:3632 · Published: 2024-10-15
SUSE-SU-2024:3631 · Published: 2024-10-15
SUSE-SU-2024:3627 · Published: 2024-10-15
SUSE-SU-2024:3625 · Published: 2024-10-15
SUSE-SU-2024:3624 · Published: 2024-10-14
SUSE-SU-2024:3623 · Published: 2024-10-14
SUSE-SU-2024:2947 · Published: 2024-08-16
SUSE-SU-2024:2939 · Published: 2024-08-16
SUSE-SU-2024:2894 · Published: 2024-08-13
SUSE Linux Enterprise Server 15 SP6
SUSE-SU-2025:0269 · Published: 2025-01-28
SUSE-SU-2025:0265 · Published: 2025-01-27
SUSE-SU-2025:0262 · Published: 2025-01-27
SUSE-SU-2025:0255 · Published: 2025-01-27
SUSE-SU-2025:0188 · Published: 2025-01-18
SUSE-SU-2025:0187 · Published: 2025-01-18
SUSE-SU-2025:0168 · Published: 2025-01-17
SUSE-SU-2025:0084 · Published: 2025-01-14
SUSE-SU-2024:4210 · Published: 2024-12-05
SUSE-SU-2024:4209 · Published: 2024-12-05
SUSE-SU-2024:4208 · Published: 2024-12-05
SUSE-SU-2024:4139 · Published: 2024-12-02
SUSE-SU-2024:3884 · Published: 2024-11-04
SUSE-SU-2024:3882 · Published: 2024-11-04
SUSE-SU-2024:3881 · Published: 2024-11-04
SUSE-SU-2024:3880 · Published: 2024-11-04
SUSE-SU-2024:3835 · Published: 2024-10-30
SUSE-SU-2024:3708 · Published: 2024-10-16
SUSE-SU-2024:3680 · Published: 2024-10-16
SUSE-SU-2024:3666 · Published: 2024-10-16
SUSE-SU-2024:3628 · Published: 2024-10-15
SUSE-SU-2024:3626 · Published: 2024-10-15
SUSE-SU-2024:3383 · Published: 2024-09-23
SUSE-SU-2024:3195 · Published: 2024-09-10
SUSE-SU-2024:3194 · Published: 2024-09-10
Ubuntu 22.04 LTS (Jammy Jellyfish)
USN-9192-1 · Published: 2026-11-24
USN-9191-1 · Published: 2026-11-24
USN-9173-2 · Published: 2026-11-20
USN-9173-1 · Published: 2026-11-19
USN-7029-1 · Published: 2024-09-23
USN-7007-3 · Published: 2024-09-23
USN-7019-1 · Published: 2024-09-18
USN-7009-1 · Published: 2024-09-13
USN-7008-1 · Published: 2024-09-13
USN-7007-1 · Published: 2024-09-13
USN-7005-2 · Published: 2024-09-13
Ubuntu 24.04 LTS (Noble Numbat)
USN-9191-1 · Published: 2026-11-24
USN-9173-3 · Published: 2026-11-24
USN-9174-2 · Published: 2026-11-24
USN-9175-1 · Published: 2026-11-19
USN-9173-1 · Published: 2026-11-19
USN-9002-1 · Published: 2026-11-06
USN-6999-2 · Published: 2024-09-23
USN-7005-1 · Published: 2024-09-12
USN-7004-1 · Published: 2024-09-12
USN-6999-1 · Published: 2024-09-11
No fix evidence found:
In the Linux kernel, the following vulnerability has been resolved: net: do not leave a dangling sk pointer, when socket creation fails It is possible to trigger a use-after-free by: * attaching an fentry probe to __sock_release() and the probe calling the bpf_get_socket_cookie() helper * running traceroute -I 1.1.1.1 on a freshly booted VM A KASAN enabled kernel will log something like below (decoded and stripped): ================================================================== BUG: KASAN: slab-use-after-free in __sock_gen_cookie (./arch/x86/include/asm/atomic64_64.h:15 ./include/linux/atomic/atomic-arch-fallback.h:2583 ./include/linux/atomic/atomic-instrumented.h:1611 net/core/sock_diag.c:29) Read of size 8 at addr ffff888007110dd8 by task traceroute/299 CPU: 2 PID: 299 Comm: traceroute Tainted: G E 6.10.0-rc2+ #2 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 Call Trace: <TASK> dump_stack_lvl (lib/dump_stack.c:117 (discriminator 1)) print_report (mm/kasan/report.c:378 mm/kasan/report.c:488) ? __sock_gen_cookie (./arch/x86/include/asm/atomic64_64.h:15 ./include/linux/atomic/atomic-arch-fallback.h:2583 ./include/linux/atomic/atomic-instrumented.h:1611 net/core/sock_diag.c:29) kasan_report (mm/kasan/report.c:603) ? __sock_gen_cookie (./arch/x86/include/asm/atomic64_64.h:15 ./include/linux/atomic/atomic-arch-fallback.h:2583 ./include/linux/atomic/atomic-instrumented.h:1611 net/core/sock_diag.c:29) kasan_check_range (mm/kasan/generic.c:183 mm/kasan/generic.c:189) __sock_gen_cookie (./arch/x86/include/asm/atomic64_64.h:15 ./include/linux/atomic/atomic-arch-fallback.h:2583 ./include/linux/atomic/atomic-instrumented.h:1611 net/core/sock_diag.c:29) bpf_get_socket_ptr_cookie (./arch/x86/include/asm/preempt.h:94 ./include/linux/sock_diag.h:42 net/core/filter.c:5094 net/core/filter.c:5092) bpf_prog_875642cf11f1d139___sock_release+0x6e/0x8e bpf_trampoline_6442506592+0x47/0xaf __sock_release (net/socket.c:652) __sock_create (net/socket.c:1601) ... Allocated by task 299 on cpu 2 at 78.328492s: kasan_save_stack (mm/kasan/common.c:48) kasan_save_track (mm/kasan/common.c:68) __kasan_slab_alloc (mm/kasan/common.c:312 mm/kasan/common.c:338) kmem_cache_alloc_noprof (mm/slub.c:3941 mm/slub.c:4000 mm/slub.c:4007) sk_prot_alloc (net/core/sock.c:2075) sk_alloc (net/core/sock.c:2134) inet_create (net/ipv4/af_inet.c:327 net/ipv4/af_inet.c:252) __sock_create (net/socket.c:1572) __sys_socket (net/socket.c:1660 net/socket.c:1644 net/socket.c:1706) __x64_sys_socket (net/socket.c:1718) do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) Freed by task 299 on cpu 2 at 78.328502s: kasan_save_stack (mm/kasan/common.c:48) kasan_save_track (mm/kasan/common.c:68) kasan_save_free_info (mm/kasan/generic.c:582) poison_slab_object (mm/kasan/common.c:242) __kasan_slab_free (mm/kasan/common.c:256) kmem_cache_free (mm/slub.c:4437 mm/slub.c:4511) __sk_destruct (net/core/sock.c:2117 net/core/sock.c:2208) inet_create (net/ipv4/af_inet.c:397 net/ipv4/af_inet.c:252) __sock_create (net/socket.c:1572) __sys_socket (net/socket.c:1660 net/socket.c:1644 net/socket.c:1706) __x64_sys_socket (net/socket.c:1718) do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) Fix this by clearing the struct socket reference in sk_common_release() to cover all protocol families create functions, which may already attached the reference to the sk object with sock_init_data().
Exploit evidence
Last checked: 2026-08-04 11:44 UTC
No exploitation evidence · CISA Coordinator (Assessed 2024-09-10 17:03 UTC)