net: shrink the payload-only part of skb dataref to one bit
CVE-2026-139219Published 30 Nov 2026, 13:32 UTC
Real-world risk
4.3/ 10Medium
Schedule in the normal cycle
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.8
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from Linux)
In the Linux kernel, the following vulnerability has been resolved: net: shrink the payload-only part of skb dataref to one bit skb_shinfo(skb)->dataref is split in two 16-bit halves: the lower one counts all references, the upper one the payload-only (nohdr) references. __skb_clone() increments dataref without bound, and skb_cloned() only checks the low 16 bits. With 65,537 references the low half reads 1, the head looks private, and pskb_expand_head() (or skb_unclone(), skb_cow(), ...) frees it while clones still point to it. An unprivileged user can reach this from a user and network namespace: about 32,770 AF_PACKET sockets on lo bring dataref to 0x10001, then any pskb_expand_head() on the receive path (here a pull of a large IPv6 Hop-by-Hop header) frees the shared head: BUG: KASAN: slab-use-after-free in _copy_to_iter+0x187/0x1330 Read of size 1590 at addr ff110001104a9002 by task dataref_wrap/87 skb_copy_datagram_iter+0x60/0x190 packet_recvmsg+0x1f5/0x12b0 __sys_recvfrom+0x18d/0x290 Freed by task 87: kfree+0xf3/0x3b0 pskb_expand_head+0x344/0xeb0 __pskb_pull_tail+0xf9/0x1bf0 ipv6_parse_hopopts+0x377/0x4f0 ip6_rcv_core+0xc67/0x1620 The upper half never holds more than 1. It is only set by __skb_header_release(), with atomic_set() on an skb owning its head (TCP/SCTP output, and GRO which never sees cloned skbs). __skb_clone() clears nohdr, and __copy_skb_header() does not copy it. Move SKB_DATAREF_SHIFT to 30, so that the reference count gets 30 bits, and dataref stays positive. Wrapping it would need 2^30 live clones of a single skb, which socket buffer limits and memory make unreachable. This issue was found by Anthropic using Claude, and validated by Ada Logics.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Linux kernelUbiquitous | = 2.6.12 | 7.4-rc1 |
What to do
Update to a fixed version: 7.4-rc1.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.2% chance of exploitation in 30 days (percentile 8), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.500
- Threat T1: Nothing known0.850
- 10 × impact 1 × prerequisites 0.5 × threat 0.854.250
- Rounded to one decimal between 0.1 and 104.3
Exploitation and evidence timeline
- 30 Nov 2026 Published
- 3 Dec 2026 Risk 4.3 (cvss fallback)
Weakness
No weakness type given.
References
- https://git.kernel.org/stable/c/4a1cbfa8fc3e2f33e4def55b6007b04c502a563a
- https://git.kernel.org/stable/c/81a535f1b4c2d95039375c1e40d6559b5768f880
- https://git.kernel.org/stable/c/b1516e9a12af67539599711d20e664fbc9cb30fc
- https://git.kernel.org/stable/c/2cc19452f4245a78ac6ab0ecc0176e907130d0ba
- https://git.kernel.org/stable/c/1dc2a6858c7f8522ac22249cd44d58b5b7aa655a
- https://git.kernel.org/stable/c/4957ea03bf2696f5da12c09144f48d040696ecc2
- CVE-2026-139219 on CVE.org