CVE-2026-64109: af_unix: Fix UAF read of tail->len in unix_stream_data_wait()
Noroxi assessment
Priority: Monitor (action score 35/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.12% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 26342087fac93b3932e6af61dc91ec029cb8a623, 38bccb927d83d7d52e5b20015a172a0b6101d11e, 5f162f95a95834f06a8ec6140889272ad12e842f.
Low priority for now. Upgrade to Linux Linux 26342087fac93b3932e6af61dc91ec029cb8a623, 38bccb927d83d7d52e5b20015a172a0b6101d11e, 5f162f95a95834f06a8ec6140889272ad12e842f or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Jul 19, 2026
- Updated
- Oct 19, 2026
- EPSS
- 0.1% · 2th percentile
- CWE
- CWE-416
Report tools
Action score
35
Monitor
Low priority for now.
- CVSS
- 35 / 40 · 8.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.1%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · Linux
- 8.8
- NVD has not scored this yet; the score shown is the CNA’s.
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernel4.2 and later · before 6.6.143
- linux linux kernel6.7 and later · before 6.12.92
- linux linux kernel6.13 and later · before 6.18.34
- linux linux kernel6.19 and later · before 7.0.11
- linux linux kernel7.1
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 4.2affected
- 2b514574f7e88c8498027ee366fd6e7aae5aa4b5 and later · before 26342087fac93b3932e6af61dc91ec029cb8a623affected · git
- 2b514574f7e88c8498027ee366fd6e7aae5aa4b5 and later · before 38bccb927d83d7d52e5b20015a172a0b6101d11eaffected · git
- 2b514574f7e88c8498027ee366fd6e7aae5aa4b5 and later · before acdff9907478e82208475b1151700d0b71dcdc63affected · git
- 2b514574f7e88c8498027ee366fd6e7aae5aa4b5 and later · before 5f162f95a95834f06a8ec6140889272ad12e842faffected · git
- 2b514574f7e88c8498027ee366fd6e7aae5aa4b5 and later · before be309f8eae8b474a4a617eaae01324da996fc719affected · git
- before 4.2not affected · semver
- 6.6.143 and later · up to and including 6.6.*not affected · semver
- 6.12.92 and later · up to and including 6.12.*not affected · semver
- 6.18.34 and later · up to and including 6.18.*not affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:10 | kernel | before 6.12.0-211.69.1.el10_2 | 6.12.0-211.69.1.el10_2 |
| AlmaLinux:10 | kernel-64k | before 6.12.0-211.69.1.el10_2 | 6.12.0-211.69.1.el10_2 |
| AlmaLinux:10 | kernel-64k-core | before 6.12.0-211.69.1.el10_2 | 6.12.0-211.69.1.el10_2 |
| AlmaLinux:10 | kernel-64k-debug | before 6.12.0-211.69.1.el10_2 | 6.12.0-211.69.1.el10_2 |
| AlmaLinux:10 | kernel-64k-debug-core | before 6.12.0-211.69.1.el10_2 | 6.12.0-211.69.1.el10_2 |
| AlmaLinux:10 | kernel-64k-debug-devel | before 6.12.0-211.69.1.el10_2 | 6.12.0-211.69.1.el10_2 |
| AlmaLinux:10 | kernel-64k-debug-devel-matched | before 6.12.0-211.69.1.el10_2 | 6.12.0-211.69.1.el10_2 |
| AlmaLinux:10 | kernel-64k-debug-modules | before 6.12.0-211.69.1.el10_2 | 6.12.0-211.69.1.el10_2 |
| AlmaLinux:10 | kernel-64k-debug-modules-core | before 6.12.0-211.69.1.el10_2 | 6.12.0-211.69.1.el10_2 |
| AlmaLinux:10 | kernel-64k-debug-modules-extra | before 6.12.0-211.69.1.el10_2 | 6.12.0-211.69.1.el10_2 |
| AlmaLinux:10 | kernel-64k-devel | before 6.12.0-211.69.1.el10_2 | 6.12.0-211.69.1.el10_2 |
| AlmaLinux:10 | kernel-64k-devel-matched | before 6.12.0-211.69.1.el10_2 | 6.12.0-211.69.1.el10_2 |
| AlmaLinux:10 | kernel-64k-modules | before 6.12.0-211.69.1.el10_2 | 6.12.0-211.69.1.el10_2 |
| AlmaLinux:10 | kernel-64k-modules-core | before 6.12.0-211.69.1.el10_2 | 6.12.0-211.69.1.el10_2 |
| AlmaLinux:10 | kernel-64k-modules-extra | before 6.12.0-211.69.1.el10_2 | 6.12.0-211.69.1.el10_2 |
| AlmaLinux:10 | kernel-abi-stablelists | before 6.12.0-211.69.1.el10_2 | 6.12.0-211.69.1.el10_2 |
| AlmaLinux:10 | kernel-core | before 6.12.0-211.69.1.el10_2 | 6.12.0-211.69.1.el10_2 |
| AlmaLinux:10 | kernel-cross-headers | before 6.12.0-211.69.1.el10_2 | 6.12.0-211.69.1.el10_2 |
| AlmaLinux:10 | kernel-debug | before 6.12.0-211.69.1.el10_2 | 6.12.0-211.69.1.el10_2 |
| AlmaLinux:10 | kernel-debug-core | before 6.12.0-211.69.1.el10_2 | 6.12.0-211.69.1.el10_2 |
| AlmaLinux:10 | kernel-debug-devel | before 6.12.0-211.69.1.el10_2 | 6.12.0-211.69.1.el10_2 |
| AlmaLinux:10 | kernel-debug-devel-matched | before 6.12.0-211.69.1.el10_2 | 6.12.0-211.69.1.el10_2 |
| AlmaLinux:10 | kernel-debug-modules | before 6.12.0-211.69.1.el10_2 | 6.12.0-211.69.1.el10_2 |
| AlmaLinux:10 | kernel-debug-modules-core | before 6.12.0-211.69.1.el10_2 | 6.12.0-211.69.1.el10_2 |
+90
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2026-64105Jul 19, 2026 · KVM: arm64: vgic: Free private_irqs when init fails after allocation22Monitor
- ← EarlierCVE-2026-64106Jul 19, 2026 · KVM: arm64: vgic-its: Reject restored DTE with out-of-range num_eventid_bits36Monitor
- Later →CVE-2026-64110Jul 19, 2026 · igc: fix potential skb leak in igc_fpe_xmit_smd_frame()22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 26342087fac93b3932e6af61dc91ec029cb8a623 | Vendor (CNA) |
| Linux Linux | 38bccb927d83d7d52e5b20015a172a0b6101d11e | Vendor (CNA) |
| Linux Linux | 5f162f95a95834f06a8ec6140889272ad12e842f | Vendor (CNA) |
| Linux Linux | acdff9907478e82208475b1151700d0b71dcdc63 | Vendor (CNA) |
| Linux Linux | be309f8eae8b474a4a617eaae01324da996fc719 | Vendor (CNA) |
| almalinux:kernel | 6.12.0-211.69.1.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:kernel-64k | 6.12.0-211.69.1.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:kernel-64k-core | 6.12.0-211.69.1.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:kernel-64k-debug | 6.12.0-211.69.1.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:kernel-64k-debug-core | 6.12.0-211.69.1.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:kernel-64k-debug-devel | 6.12.0-211.69.1.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:kernel-64k-debug-devel-matched | 6.12.0-211.69.1.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:kernel-64k-debug-modules | 6.12.0-211.69.1.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:kernel-64k-debug-modules-core | 6.12.0-211.69.1.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:kernel-64k-debug-modules-extra | 6.12.0-211.69.1.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:kernel-64k-devel | 6.12.0-211.69.1.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:kernel-64k-devel-matched | 6.12.0-211.69.1.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| debian:linux | 6.12.94-1 · Debian:13 | Package registry (OSV) |
| rocky linux:kernel | 0:6.12.0-211.69.1.el10_2 · Rocky Linux:10 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
Impact can extend beyond the vulnerable component (scope changes).
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Changed
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-416 · Use After FreeCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
nvd-secondary
Root cause
After a memory region is freed, another reference pointing to it is still used. By then, the same region may have been allocated for different data.
The bug in code
The whole CWE-416 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
free(dev->buf);
/* ... another thread is still running ... */
process(dev->buf);Fixed
lock(&dev->lock);
free(dev->buf);
dev->buf = NULL;
unlock(&dev->lock);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- SSVC exploitation— → none
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (4 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.