CVE-2026-64109
published high CVSS 3.1 · 8.8af_unix: Fix UAF read of tail->len in unix_stream_data_wait()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux2b514574f7e88c8498027ee366fd6e7aae5aa4b5 to < 26342087fac93b3932e6af61dc91ec029cb8a623 · 2b514574f7e88c8498027ee366fd6e7aae5aa4b5 to < 38bccb927d83d7d52e5b20015a172a0b6101d11e · 2b514574f7e88c8498027ee366fd6e7aae5aa4b5 to < acdff9907478e82208475b1151700d0b71dcdc63 · 2b514574f7e88c8498027ee366fd6e7aae5aa4b5 to < 5f162f95a95834f06a8ec6140889272ad12e842f · 2b514574f7e88c8498027ee366fd6e7aae5aa4b5 to < be309f8eae8b474a4a617eaae01324da996fc719 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.2 (affected) · 0 to < 4.2 (unaffected · semver) · 6.6.143 through 6.6.* (unaffected · semver) · 6.12.92 through 6.12.* (unaffected · semver) · 6.18.34 through 6.18.* (unaffected · semver) · 7.0.11 through 7.0.* (unaffected · semver) · 7.1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1881 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1894 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 10 | kernel-abi-stablelists | Advisory build | 6.12.0-211.69.1.el10_2 | ALSA-2026:91565 |
| AlmaLinux | 10 | kernel-doc | Advisory build | 6.12.0-211.69.1.el10_2 | ALSA-2026:91565 |
Show 98 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | bpftool | Advisory build | 4.18.0-553.181.1.el8_10 | ALSA-2026:93436 |
| AlmaLinux | 8 | kernel | Advisory build | 4.18.0-553.181.1.el8_10 | ALSA-2026:93436 |
| AlmaLinux | 8 | kernel-abi-stablelists | Advisory build | 4.18.0-553.181.1.el8_10 | ALSA-2026:93436 |
| AlmaLinux | 8 | kernel-core | Advisory build | 4.18.0-553.181.1.el8_10 | ALSA-2026:93436 |
| AlmaLinux | 8 | kernel-cross-headers | Advisory build | 4.18.0-553.181.1.el8_10 | ALSA-2026:93436 |
| AlmaLinux | 8 | kernel-debug | Advisory build | 4.18.0-553.181.1.el8_10 | ALSA-2026:93436 |
| AlmaLinux | 8 | kernel-debug-core | Advisory build | 4.18.0-553.181.1.el8_10 | ALSA-2026:93436 |
| AlmaLinux | 8 | kernel-debug-devel | Advisory build | 4.18.0-553.181.1.el8_10 | ALSA-2026:93436 |
| AlmaLinux | 8 | kernel-debug-modules | Advisory build | 4.18.0-553.181.1.el8_10 | ALSA-2026:93436 |
| AlmaLinux | 8 | kernel-debug-modules-extra | Advisory build | 4.18.0-553.181.1.el8_10 | ALSA-2026:93436 |
| AlmaLinux | 8 | kernel-devel | Advisory build | 4.18.0-553.181.1.el8_10 | ALSA-2026:93436 |
| AlmaLinux | 8 | kernel-doc | Advisory build | 4.18.0-553.181.1.el8_10 | ALSA-2026:93436 |
| AlmaLinux | 8 | kernel-headers | Advisory build | 4.18.0-553.181.1.el8_10 | ALSA-2026:93436 |
| AlmaLinux | 8 | kernel-modules | Advisory build | 4.18.0-553.181.1.el8_10 | ALSA-2026:93436 |
| AlmaLinux | 8 | kernel-modules-extra | Advisory build | 4.18.0-553.181.1.el8_10 | ALSA-2026:93436 |
| AlmaLinux | 8 | kernel-rt | Advisory build | 4.18.0-553.181.1.rt7.522.el8_10 | ALSA-2026:93437 |
| AlmaLinux | 8 | kernel-rt-core | Advisory build | 4.18.0-553.181.1.rt7.522.el8_10 | ALSA-2026:93437 |
| AlmaLinux | 8 | kernel-rt-debug | Advisory build | 4.18.0-553.181.1.rt7.522.el8_10 | ALSA-2026:93437 |
| AlmaLinux | 8 | kernel-rt-debug-core | Advisory build | 4.18.0-553.181.1.rt7.522.el8_10 | ALSA-2026:93437 |
| AlmaLinux | 8 | kernel-rt-debug-devel | Advisory build | 4.18.0-553.181.1.rt7.522.el8_10 | ALSA-2026:93437 |
| AlmaLinux | 8 | kernel-rt-debug-modules | Advisory build | 4.18.0-553.181.1.rt7.522.el8_10 | ALSA-2026:93437 |
| AlmaLinux | 8 | kernel-rt-debug-modules-extra | Advisory build | 4.18.0-553.181.1.rt7.522.el8_10 | ALSA-2026:93437 |
| AlmaLinux | 8 | kernel-rt-devel | Advisory build | 4.18.0-553.181.1.rt7.522.el8_10 | ALSA-2026:93437 |
| AlmaLinux | 8 | kernel-rt-modules | Advisory build | 4.18.0-553.181.1.rt7.522.el8_10 | ALSA-2026:93437 |
| AlmaLinux | 8 | kernel-rt-modules-extra | Advisory build | 4.18.0-553.181.1.rt7.522.el8_10 | ALSA-2026:93437 |
| AlmaLinux | 8 | kernel-tools | Advisory build | 4.18.0-553.181.1.el8_10 | ALSA-2026:93436 |
| AlmaLinux | 8 | kernel-tools-libs | Advisory build | 4.18.0-553.181.1.el8_10 | ALSA-2026:93436 |
| AlmaLinux | 8 | kernel-tools-libs-devel | Advisory build | 4.18.0-553.181.1.el8_10 | ALSA-2026:93436 |
| AlmaLinux | 8 | kernel-zfcpdump | Advisory build | 4.18.0-553.181.1.el8_10 | ALSA-2026:93436 |
| AlmaLinux | 8 | kernel-zfcpdump-core | Advisory build | 4.18.0-553.181.1.el8_10 | ALSA-2026:93436 |
| AlmaLinux | 8 | kernel-zfcpdump-devel | Advisory build | 4.18.0-553.181.1.el8_10 | ALSA-2026:93436 |
| AlmaLinux | 8 | kernel-zfcpdump-modules | Advisory build | 4.18.0-553.181.1.el8_10 | ALSA-2026:93436 |
| AlmaLinux | 8 | kernel-zfcpdump-modules-extra | Advisory build | 4.18.0-553.181.1.el8_10 | ALSA-2026:93436 |
| AlmaLinux | 8 | perf | Advisory build | 4.18.0-553.181.1.el8_10 | ALSA-2026:93436 |
| AlmaLinux | 8 | python3-perf | Advisory build | 4.18.0-553.181.1.el8_10 | ALSA-2026:93436 |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-rt-64k | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-rt-64k-core | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-rt-64k-debug | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-rt-64k-debug-core | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-rt-64k-debug-devel | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-core | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-extra | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-rt-64k-devel | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-rt-64k-modules | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-rt-64k-modules-core | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-rt-64k-modules-extra | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-uki-virt-addons | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-741.14.1.el9_9 | ALSA-2026:97435 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: af_unix: Fix UAF read of tail->len in unix_stream_data_wait() unix_stream_data_wait() does skb_peek_tail(&sk->sk_receive_queue) without holding any lock that prevents SKBs on that queue from being dequeued and freed. This has been the case since commit 79f632c71bea ("unix/stream: fix peeking with an offset larger than data in queue"). The first consequence of this is that the pointer comparison `tail != last` can be false even if `last` semantically refers to an already-freed SKB while `tail` is a new SKB allocated at the same address; which can cause unix_stream_data_wait() to wrongly keep blocking after new data has arrived, but only in a weird scenario where a peeking recv() and a normal recv() on the same socket are racing, which is probably not a real problem. But since commit 2b514574f7e8 ("net: af_unix: implement splice for stream af_unix sockets"), `tail` is actually dereferenced, which can cause UAF in the following race scenario (where test_setup() runs single-threaded, and afterwards, test_thread1() and test_thread2() run concurrently in two threads: ``` static int socks[2]; void test_setup(void) { socketpair(AF_UNIX, SOCK_STREAM, 0, socks); send(socks[1], "A", 1, 0); int peekoff = 1; setsockopt(socks[0], SOL_SOCKET, SO_PEEK_OFF, &peekoff, sizeof(peekoff)); } void test_thread1(void) { char dummy; recv(socks[0], &dummy, 1, MSG_PEEK); } void test_thread2(void) { char dummy; recv(socks[0], &dummy, 1, 0); shutdown(socks[1], SHUT_WR); } ``` when racing like this: ``` thread1 thread2 unix_stream_read_generic mutex_lock(&u->iolock) skb_peek(&sk->sk_receive_queue) skb_peek_next(skb, &sk->sk_receive_queue) mutex_unlock(&u->iolock) unix_stream_read_generic unix_state_lock(sk) skb_peek(&sk->sk_receive_queue) unix_state_unlock(sk) unix_stream_data_wait unix_state_lock(sk) tail = skb_peek_tail(&sk->sk_receive_queue) spin_lock(&sk->sk_receive_queue.lock) __skb_unlink(skb, &sk->sk_receive_queue) spin_unlock(&sk->sk_receive_queue.lock) consume_skb(skb) [frees the SKB] `tail != last`: false `tail`: true `tail->len != last_len` ***UAF*** ``` Fix the UAF by removing the read of tail->len; checking tail->len would only make sense if SKBs in the receive queue of a UNIX socket could grow, which can no longer happen. Kuniyuki explained: > When commit 869e7c62486e ("net: af_unix: implement stream sendpage > support") added sendpage() support, data could be appended to the last > skb in the receiver's queue. > > That's why we needed to check if the length of the last skb was changed > while waiting for new data in unix_stream_data_wait(). > > However, commit a0dbf5f818f9 ("af_unix: Support MSG_SPLICE_PAGES") and > commit 57d44a354a43 ("unix: Convert unix_stream_sendpage() to use > MSG_SPLICE_PAGES") refactored sendmsg(), and now data is always added > to a new skb. That means this fix is not suitable for kernels before 6.5.
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
- 8.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- Scenarios
- en: AV:L - The bug is reached only through local syscalls on AF_UNIX SOCK_STREAM sockets (recvmsg, splice_read, setsockopt SO_PEEK_OFF), not via any network protocol handler. AC:L - The attacker controls both racing threads on the same socket fd and can retry the peek/normal-recv interleaving; this is a self-induced race, not one dependent on uncontrollable kernel state. PR:L - Any unprivileged local user can create AF_UNIX socketpairs, set SO_PEEK_OFF, and run concurrent recv operations without capabilities, including from within user namespaces. UI:N - Exploitation requires no victim interaction; the attacker sets up and races their own socket endpoints programmatically. S:C - Successful kernel heap UAF exploitation from an unprivileged container, Android app sandbox, or user-namespace tenant crosses the sandbox boundary to compromise the host kernel. C:H - This is a slab use-after-free read of sk_buff->len on freed memory, which per UAF guidance enables arbitrary kernel memory disclosure and heap layout leaks. I:H - UAF on sk_buff objects in the kernel heap can be leveraged through heap grooming and spraying to obtain arbitrary write and kernel code execution primitives. A:H - The UAF read can trigger KASAN slab-use-after-free faults, kernel oops, or panic during the dereference, and repeated triggering causes denial of service.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 2b514574f7e88c8498027ee366fd6e7aae5aa4b5 to < 26342087fac93b3932e6af61dc91ec029cb8a623 (affected · git)2b514574f7e88c8498027ee366fd6e7aae5aa4b5 to < 38bccb927d83d7d52e5b20015a172a0b6101d11e (affected · git)2b514574f7e88c8498027ee366fd6e7aae5aa4b5 to < acdff9907478e82208475b1151700d0b71dcdc63 (affected · git)2b514574f7e88c8498027ee366fd6e7aae5aa4b5 to < 5f162f95a95834f06a8ec6140889272ad12e842f (affected · git)2b514574f7e88c8498027ee366fd6e7aae5aa4b5 to < be309f8eae8b474a4a617eaae01324da996fc719 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.2 (affected)0 to < 4.2 (unaffected · semver)6.6.143 through 6.6.* (unaffected · semver)6.12.92 through 6.12.* (unaffected · semver)6.18.34 through 6.18.* (unaffected · semver)7.0.11 through 7.0.* (unaffected · semver)7.1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-416 CWE-416 Use After Free
References
5- https://git.kernel.org/stable/c/26342087fac93b3932e6af61dc91ec029cb8a623
- https://git.kernel.org/stable/c/38bccb927d83d7d52e5b20015a172a0b6101d11e
- https://git.kernel.org/stable/c/5f162f95a95834f06a8ec6140889272ad12e842f
- https://git.kernel.org/stable/c/acdff9907478e82208475b1151700d0b71dcdc63
- https://git.kernel.org/stable/c/be309f8eae8b474a4a617eaae01324da996fc719
Provider assertions
2Linux · cna
af_unix: Fix UAF read of tail->len in unix_stream_data_wait()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 22f1370f37f6d2806c9a7e1e79cfaa5bf9bd7cb976fdeab2e39bdb7a83a3463a
- Ingested
- 19 Oct 2026, 20:33:47 UTC
- Source record
- Official CVE record