CVE-2024-44946
published high CVSS 3.1 · 7.8kcm: Serialise kcm_sendmsg() for the same socket.
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxab7ac4eb9832e32a09f4e8042705484d2fb0aad3 to < 8c9cdbf600143bd6835c8b8351e5ac956da79aec · ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 to < 6633b17840bf828921254d788ccd15602843fe9b · ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 to < eb06c8d3022ce6738711191c89f9b3e9cfb91914 · ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 to < fa6c23fe6dcac8c8bd63920ee8681292a2bd544e · ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 to < 72da240aafb142630cf16adc803ccdacb3780849 · ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 to < 00425508f30baa5ab6449a1f478480ca7cffa6da · ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 to < 9c8d544ed619f704e2b70e63e08ab75630c2ea23 · ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 to < 807067bf014d4a3ae2cc55bd3de16f22a01eb580 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.6 (affected) · 0 to < 4.6 (unaffected · semver) · 4.19.321 through 4.19.* (unaffected · semver) · 5.4.283 through 5.4.* (unaffected · semver) · 5.10.225 through 5.10.* (unaffected · semver) · 5.15.166 through 5.15.* (unaffected · semver) · 6.1.107 through 6.1.* (unaffected · semver) · 6.6.48 through 6.6.* (unaffected · semver) · 6.10.7 through 6.10.* (unaffected · semver) · 6.11 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-713 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-779 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bookworm | linux | Advisory build | 6.1.112-1 | DSA-5782-1 |
| Oracle Linux | 7 | kernel-uekaarch64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Debian | bullseye | linux | Advisory build | 5.10.226-1 | DLA-3912-1 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.119-1~deb11u1 | DLA-4008-1 |
| Oracle Linux | 7 | kernel-uekaarch64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uekx86_64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Oracle Linux | 7 | kernel-uekx86_64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-containerx86_64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-debugaarch64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Oracle Linux | 7 | kernel-uek-debugaarch64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-debugx86_64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Oracle Linux | 7 | kernel-uek-debugx86_64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-debug-develaarch64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Oracle Linux | 7 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-debug-develx86_64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Oracle Linux | 7 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-develaarch64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Oracle Linux | 7 | kernel-uek-develaarch64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-develx86_64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Oracle Linux | 7 | kernel-uek-develx86_64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-docaarch64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-docx86_64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Oracle Linux | 7 | kernel-uek-docx86_64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-headersaarch64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Oracle Linux | 7 | kernel-uek-toolsaarch64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Oracle Linux | 7 | kernel-uek-toolsaarch64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-toolsx86_64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Oracle Linux | 7 | kernel-uek-toolsx86_64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-tools-libsaarch64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Oracle Linux | 7 | kernel-uek-tools-libsaarch64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-tools-libs-develaarch64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Oracle Linux | 7 | perfaarch64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Oracle Linux | 7 | perfaarch64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | python-perfaarch64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Oracle Linux | 7 | python-perfaarch64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 |
| Oracle Linux | 8 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 |
| Oracle Linux | 8 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 |
| Oracle Linux | 8 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 |
| Oracle Linux | 8 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 |
| Oracle Linux | 8 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 |
| Oracle Linux | 8 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: kcm: Serialise kcm_sendmsg() for the same socket. syzkaller reported UAF in kcm_release(). [0] The scenario is 1. Thread A builds a skb with MSG_MORE and sets kcm->seq_skb. 2. Thread A resumes building skb from kcm->seq_skb but is blocked by sk_stream_wait_memory() 3. Thread B calls sendmsg() concurrently, finishes building kcm->seq_skb and puts the skb to the write queue 4. Thread A faces an error and finally frees skb that is already in the write queue 5. kcm_release() does double-free the skb in the write queue When a thread is building a MSG_MORE skb, another thread must not touch it. Let's add a per-sk mutex and serialise kcm_sendmsg(). [0]: BUG: KASAN: slab-use-after-free in __skb_unlink include/linux/skbuff.h:2366 [inline] BUG: KASAN: slab-use-after-free in __skb_dequeue include/linux/skbuff.h:2385 [inline] BUG: KASAN: slab-use-after-free in __skb_queue_purge_reason include/linux/skbuff.h:3175 [inline] BUG: KASAN: slab-use-after-free in __skb_queue_purge include/linux/skbuff.h:3181 [inline] BUG: KASAN: slab-use-after-free in kcm_release+0x170/0x4c8 net/kcm/kcmsock.c:1691 Read of size 8 at addr ffff0000ced0fc80 by task syz-executor329/6167 CPU: 1 PID: 6167 Comm: syz-executor329 Tainted: G B 6.8.0-rc5-syzkaller-g9abbc24128bc #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Call trace: dump_backtrace+0x1b8/0x1e4 arch/arm64/kernel/stacktrace.c:291 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:298 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd0/0x124 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:377 [inline] print_report+0x178/0x518 mm/kasan/report.c:488 kasan_report+0xd8/0x138 mm/kasan/report.c:601 __asan_report_load8_noabort+0x20/0x2c mm/kasan/report_generic.c:381 __skb_unlink include/linux/skbuff.h:2366 [inline] __skb_dequeue include/linux/skbuff.h:2385 [inline] __skb_queue_purge_reason include/linux/skbuff.h:3175 [inline] __skb_queue_purge include/linux/skbuff.h:3181 [inline] kcm_release+0x170/0x4c8 net/kcm/kcmsock.c:1691 __sock_release net/socket.c:659 [inline] sock_close+0xa4/0x1e8 net/socket.c:1421 __fput+0x30c/0x738 fs/file_table.c:376 ____fput+0x20/0x30 fs/file_table.c:404 task_work_run+0x230/0x2e0 kernel/task_work.c:180 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0x618/0x1f64 kernel/exit.c:871 do_group_exit+0x194/0x22c kernel/exit.c:1020 get_signal+0x1500/0x15ec kernel/signal.c:2893 do_signal+0x23c/0x3b44 arch/arm64/kernel/signal.c:1249 do_notify_resume+0x74/0x1f4 arch/arm64/kernel/entry-common.c:148 exit_to_user_mode_prepare arch/arm64/kernel/entry-common.c:169 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:178 [inline] el0_svc+0xac/0x168 arch/arm64/kernel/entry-common.c:713 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 Allocated by task 6166: kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x40/0x78 mm/kasan/common.c:68 kasan_save_alloc_info+0x70/0x84 mm/kasan/generic.c:626 unpoison_slab_object mm/kasan/common.c:314 [inline] __kasan_slab_alloc+0x74/0x8c mm/kasan/common.c:340 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook mm/slub.c:3813 [inline] slab_alloc_node mm/slub.c:3860 [inline] kmem_cache_alloc_node+0x204/0x4c0 mm/slub.c:3903 __alloc_skb+0x19c/0x3d8 net/core/skbuff.c:641 alloc_skb include/linux/skbuff.h:1296 [inline] kcm_sendmsg+0x1d3c/0x2124 net/kcm/kcmsock.c:783 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] sock_sendmsg+0x220/0x2c0 net/socket.c:768 splice_to_socket+0x7cc/0xd58 fs/splice.c:889 do_splice_from fs/splice.c:941 [inline] direct_splice_actor+0xec/0x1d8 fs/splice.c:1164 splice_direct_to_actor+0x438/0xa0c fs/splice.c:1108 do_splice_direct_actor ---truncated---
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerable code is reached only through local `sendmsg(2)`/`sendfile(2)`/`splice(2)` syscalls on an AF_KCM socket the attacker opened; a remote peer cannot drive `kcm_sendmsg()`. Local code execution on the system is required. AC:L - The attacker controls both sides of the race (two threads on one fd it owns) and controls the blocking window itself by shrinking `SO_SNDBUF` so `sk_stream_wait_memory()` reliably blocks with the sock lock dropped; syzbot reproduced it and confirmed the fix. PR:L - `kcm_create()` performs no `capable()`/`ns_capable()` check and `__sock_create()` autoloads `net-pf-41` without a capability gate, so any unprivileged local user can open a PF_KCM socket; no psock attach or CAP_NET_ADMIN is needed since the corrupted skb is purged at `kcm_release()`. UI:N - The attacker's own two threads perform every step — create the socket, race the sendmsg calls, and close the fd. No victim action is involved. S:U - The use-after-free and double free are confined to kernel heap within the same security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - A freed `skbuff_head_cache` object stays linked in `sk_write_queue`, so its reclaimed contents are read back and, with an attached psock, `kcm_write_msgs()` can transmit the freed skb's frags to the peer — leaking kernel heap; a UAF of this shape is a general arbitrary-read primitive. I:H - `__skb_unlink()` on the freed skb writes through attacker-reclaimable `next`/`prev` pointers (`next->prev = prev; prev->next = next`), yielding a write-what-where primitive, compounded by a genuine double free of the skb — both are exploitable for control-flow hijack and privilege escalation. A:H - The reported KASAN slab-use-after-free in `kcm_release()` plus the double free corrupt the skb list and slab freelist, causing kernel oops/panic; any unprivileged user can trigger this repeatedly.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 to < 8c9cdbf600143bd6835c8b8351e5ac956da79aec (affected · git)ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 to < 6633b17840bf828921254d788ccd15602843fe9b (affected · git)ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 to < eb06c8d3022ce6738711191c89f9b3e9cfb91914 (affected · git)ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 to < fa6c23fe6dcac8c8bd63920ee8681292a2bd544e (affected · git)ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 to < 72da240aafb142630cf16adc803ccdacb3780849 (affected · git)ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 to < 00425508f30baa5ab6449a1f478480ca7cffa6da (affected · git)ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 to < 9c8d544ed619f704e2b70e63e08ab75630c2ea23 (affected · git)ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 to < 807067bf014d4a3ae2cc55bd3de16f22a01eb580 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.6 (affected)0 to < 4.6 (unaffected · semver)4.19.321 through 4.19.* (unaffected · semver)5.4.283 through 5.4.* (unaffected · semver)5.10.225 through 5.10.* (unaffected · semver)5.15.166 through 5.15.* (unaffected · semver)6.1.107 through 6.1.* (unaffected · semver)6.6.48 through 6.6.* (unaffected · semver)6.10.7 through 6.10.* (unaffected · semver)6.11 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
10- https://git.kernel.org/stable/c/00425508f30baa5ab6449a1f478480ca7cffa6da
- https://git.kernel.org/stable/c/6633b17840bf828921254d788ccd15602843fe9b
- https://git.kernel.org/stable/c/72da240aafb142630cf16adc803ccdacb3780849
- https://git.kernel.org/stable/c/807067bf014d4a3ae2cc55bd3de16f22a01eb580
- https://git.kernel.org/stable/c/8c9cdbf600143bd6835c8b8351e5ac956da79aec
- https://git.kernel.org/stable/c/9c8d544ed619f704e2b70e63e08ab75630c2ea23
- https://git.kernel.org/stable/c/eb06c8d3022ce6738711191c89f9b3e9cfb91914
- https://git.kernel.org/stable/c/fa6c23fe6dcac8c8bd63920ee8681292a2bd544e
- https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
Provider assertions
3Linux · cna
kcm: Serialise kcm_sendmsg() for the same socket.
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5dd9b9167953dbec6293f8f1fcc0ee3502261d81f3723920ac25695e03be978b
- Ingested
- 23 Sep 2026, 08:27:32 UTC
- Source record
- Official CVE record