Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-139219

published high CVSS 3.1 · 7.8

net: shrink the payload-only part of skb dataref to one bit

Published
30 Nov 2026, 13:32:41 UTC
Updated
01 Dec 2026, 05:41:53 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 4a1cbfa8fc3e2f33e4def55b6007b04c502a563a · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 81a535f1b4c2d95039375c1e40d6559b5768f880 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < b1516e9a12af67539599711d20e664fbc9cb30fc · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 2cc19452f4245a78ac6ab0ecc0176e907130d0ba · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 1dc2a6858c7f8522ac22249cd44d58b5b7aa655a · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 4957ea03bf2696f5da12c09144f48d040696ecc2 · Other versions: unaffected Affected Not stated Linux
Linux — Linux2.6.12 (affected) · 0 to < 2.6.12 (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Pending Fix Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Pending Fix Not stated Amazon Linux assessment

Description

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for 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 wrap requires ~65,537 live clones of one skb, created by the attacker's own AF_PACKET sockets (packet_rcv() calls skb_clone() for each socket on both the dev_queue_xmit_nit() TX tap and the __netif_receive_skb_core() ptype_all RX delivery on lo). Only a local process can hold that many sockets, and a remote peer cannot build up the count. AC:L - The attacker picks the socket count and sends the packets, so dataref can be set to exactly 0x10001 with no race. Their IPv6 Hop-by-Hop packet then reaches __pskb_pull_tail()->pskb_expand_head(), where skb_cloned() reads the low 16 bits as 1 and calls skb_free_head(). The fix commit reproduced this deterministically. PR:L - packet_create() checks only ns_capable(net->user_ns, CAP_NET_RAW), which an unprivileged user gets with unshare -Urn (and Docker grants NET_RAW by default). The ~32,770 sockets can be spread over several processes, so RLIMIT_NOFILE is not a barrier. UI:N - The attacker opens the sockets, sends the loopback packets and calls recvmsg on their own sockets; no other user, mount or admin action is involved. S:U - The memory corruption is in the kernel's own skb heap and leads to kernel privilege escalation within the same authority; no hypervisor or IOMMU boundary is crossed. C:H - pskb_expand_head() kfree()s the head while the queued clones still point at it, and packet_recvmsg()->skb_copy_datagram_msg() then copies the freed and reallocated slab memory to userspace (the KASAN log shows a 1590-byte read). I:H - When each stale clone is freed, skb_data_unref() runs atomic_sub_return() on dataref inside the reallocated object. When that reaches zero, skb_release_data() unrefs frag pointers read from the attacker-sprayed memory and calls skb_free_head() again, giving a decrement-write and double-free primitive. A:H - Use-after-free and double free of the skb head crash the kernel (KASAN slab-use-after-free, slab corruption or oops), and the attacker can repeat it at will.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 4a1cbfa8fc3e2f33e4def55b6007b04c502a563a (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 81a535f1b4c2d95039375c1e40d6559b5768f880 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < b1516e9a12af67539599711d20e664fbc9cb30fc (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 2cc19452f4245a78ac6ab0ecc0176e907130d0ba (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 1dc2a6858c7f8522ac22249cd44d58b5b7aa655a (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 4957ea03bf2696f5da12c09144f48d040696ecc2 (affected · git)Default: unaffected Linux · cna
Linux Linux 2.6.12 (affected)0 to < 2.6.12 (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

6

Provider assertions

1

Linux · cna

net: shrink the payload-only part of skb dataref to one bit

Provenance

Schema
5.2
Searchable
yes
Content hash
f0ac3133e6a2382c8f823bf6f0665a839c6fd75a623667c0e88a047e1abec36c
Ingested
01 Dec 2026, 05:47:22 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected