{"api_version":"1","generated_at":"2026-12-01T14:27:25+00:00","cve":"CVE-2026-139219","urls":{"html":"https://cve.report/CVE-2026-139219","api":"https://cve.report/api/cve/CVE-2026-139219.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139219","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139219"},"summary":{"title":"net: shrink the payload-only part of skb dataref to one bit","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: shrink the payload-only part of skb dataref to one bit\n\nskb_shinfo(skb)->dataref is split in two 16-bit halves: the lower\none counts all references, the upper one the payload-only (nohdr)\nreferences.\n\n__skb_clone() increments dataref without bound, and skb_cloned()\nonly checks the low 16 bits. With 65,537 references the low half\nreads 1, the head looks private, and pskb_expand_head() (or\nskb_unclone(), skb_cow(), ...) frees it while clones still point\nto it.\n\nAn unprivileged user can reach this from a user and network namespace:\nabout 32,770 AF_PACKET sockets on lo bring dataref to 0x10001, then\nany pskb_expand_head() on the receive path (here a pull of a large\nIPv6 Hop-by-Hop header) frees the shared head:\n\nBUG: KASAN: slab-use-after-free in _copy_to_iter+0x187/0x1330\nRead of size 1590 at addr ff110001104a9002 by task dataref_wrap/87\n skb_copy_datagram_iter+0x60/0x190\n packet_recvmsg+0x1f5/0x12b0\n __sys_recvfrom+0x18d/0x290\nFreed by task 87:\n kfree+0xf3/0x3b0\n pskb_expand_head+0x344/0xeb0\n __pskb_pull_tail+0xf9/0x1bf0\n ipv6_parse_hopopts+0x377/0x4f0\n ip6_rcv_core+0xc67/0x1620\n\nThe upper half never holds more than 1. It is only set by\n__skb_header_release(), with atomic_set() on an skb owning its head\n(TCP/SCTP output, and GRO which never sees cloned skbs).\n__skb_clone() clears nohdr, and __copy_skb_header() does not copy it.\n\nMove SKB_DATAREF_SHIFT to 30, so that the reference count gets 30 bits,\nand dataref stays positive. Wrapping it would need 2^30 live clones of\na single skb, which socket buffer limits and memory make unreachable.\n\nThis issue was found by Anthropic using Claude, and validated by\nAda Logics.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:18:42","updated_at":"2026-12-01 06:17:39"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/1dc2a6858c7f8522ac22249cd44d58b5b7aa655a","name":"https://git.kernel.org/stable/c/1dc2a6858c7f8522ac22249cd44d58b5b7aa655a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/81a535f1b4c2d95039375c1e40d6559b5768f880","name":"https://git.kernel.org/stable/c/81a535f1b4c2d95039375c1e40d6559b5768f880","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/2cc19452f4245a78ac6ab0ecc0176e907130d0ba","name":"https://git.kernel.org/stable/c/2cc19452f4245a78ac6ab0ecc0176e907130d0ba","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b1516e9a12af67539599711d20e664fbc9cb30fc","name":"https://git.kernel.org/stable/c/b1516e9a12af67539599711d20e664fbc9cb30fc","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/4957ea03bf2696f5da12c09144f48d040696ecc2","name":"https://git.kernel.org/stable/c/4957ea03bf2696f5da12c09144f48d040696ecc2","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/4a1cbfa8fc3e2f33e4def55b6007b04c502a563a","name":"https://git.kernel.org/stable/c/4a1cbfa8fc3e2f33e4def55b6007b04c502a563a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139219","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139219","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 4a1cbfa8fc3e2f33e4def55b6007b04c502a563a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 81a535f1b4c2d95039375c1e40d6559b5768f880 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 b1516e9a12af67539599711d20e664fbc9cb30fc git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 2cc19452f4245a78ac6ab0ecc0176e907130d0ba git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 1dc2a6858c7f8522ac22249cd44d58b5b7aa655a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 4957ea03bf2696f5da12c09144f48d040696ecc2 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.12","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.12 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.119 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["include/linux/skbuff.h"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"4a1cbfa8fc3e2f33e4def55b6007b04c502a563a","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"81a535f1b4c2d95039375c1e40d6559b5768f880","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"b1516e9a12af67539599711d20e664fbc9cb30fc","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"2cc19452f4245a78ac6ab0ecc0176e907130d0ba","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"1dc2a6858c7f8522ac22249cd44d58b5b7aa655a","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"4957ea03bf2696f5da12c09144f48d040696ecc2","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["include/linux/skbuff.h"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.12"},{"lessThan":"2.6.12","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.119","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"2.6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"2.6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","versionStartIncluding":"2.6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"2.6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"2.6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"2.6.12","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: shrink the payload-only part of skb dataref to one bit\n\nskb_shinfo(skb)->dataref is split in two 16-bit halves: the lower\none counts all references, the upper one the payload-only (nohdr)\nreferences.\n\n__skb_clone() increments dataref without bound, and skb_cloned()\nonly checks the low 16 bits. With 65,537 references the low half\nreads 1, the head looks private, and pskb_expand_head() (or\nskb_unclone(), skb_cow(), ...) frees it while clones still point\nto it.\n\nAn unprivileged user can reach this from a user and network namespace:\nabout 32,770 AF_PACKET sockets on lo bring dataref to 0x10001, then\nany pskb_expand_head() on the receive path (here a pull of a large\nIPv6 Hop-by-Hop header) frees the shared head:\n\nBUG: KASAN: slab-use-after-free in _copy_to_iter+0x187/0x1330\nRead of size 1590 at addr ff110001104a9002 by task dataref_wrap/87\n skb_copy_datagram_iter+0x60/0x190\n packet_recvmsg+0x1f5/0x12b0\n __sys_recvfrom+0x18d/0x290\nFreed by task 87:\n kfree+0xf3/0x3b0\n pskb_expand_head+0x344/0xeb0\n __pskb_pull_tail+0xf9/0x1bf0\n ipv6_parse_hopopts+0x377/0x4f0\n ip6_rcv_core+0xc67/0x1620\n\nThe upper half never holds more than 1. It is only set by\n__skb_header_release(), with atomic_set() on an skb owning its head\n(TCP/SCTP output, and GRO which never sees cloned skbs).\n__skb_clone() clears nohdr, and __copy_skb_header() does not copy it.\n\nMove SKB_DATAREF_SHIFT to 30, so that the reference count gets 30 bits,\nand dataref stays positive. Wrapping it would need 2^30 live clones of\na single skb, which socket buffer limits and memory make unreachable.\n\nThis issue was found by Anthropic using Claude, and validated by\nAda Logics."}],"metrics":[{"cvssV3_1":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"scenarios":[{"lang":"en","value":"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.\nAC: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.\nPR: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.\nUI: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.\nS: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.\nC: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).\nI: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.\nA: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."}]}],"providerMetadata":{"dateUpdated":"2026-12-01T05:41:53.605Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/4a1cbfa8fc3e2f33e4def55b6007b04c502a563a"},{"url":"https://git.kernel.org/stable/c/81a535f1b4c2d95039375c1e40d6559b5768f880"},{"url":"https://git.kernel.org/stable/c/b1516e9a12af67539599711d20e664fbc9cb30fc"},{"url":"https://git.kernel.org/stable/c/2cc19452f4245a78ac6ab0ecc0176e907130d0ba"},{"url":"https://git.kernel.org/stable/c/1dc2a6858c7f8522ac22249cd44d58b5b7aa655a"},{"url":"https://git.kernel.org/stable/c/4957ea03bf2696f5da12c09144f48d040696ecc2"}],"title":"net: shrink the payload-only part of skb dataref to one bit","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139219","datePublished":"2026-11-30T13:32:41.809Z","dateReserved":"2026-11-30T13:22:15.921Z","dateUpdated":"2026-12-01T05:41:53.605Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:18:42","lastModifiedDate":"2026-12-01 06:17:39","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139219","Ordinal":"1","Title":"net: shrink the payload-only part of skb dataref to one bit","CVE":"CVE-2026-139219","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139219","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: shrink the payload-only part of skb dataref to one bit\n\nskb_shinfo(skb)->dataref is split in two 16-bit halves: the lower\none counts all references, the upper one the payload-only (nohdr)\nreferences.\n\n__skb_clone() increments dataref without bound, and skb_cloned()\nonly checks the low 16 bits. With 65,537 references the low half\nreads 1, the head looks private, and pskb_expand_head() (or\nskb_unclone(), skb_cow(), ...) frees it while clones still point\nto it.\n\nAn unprivileged user can reach this from a user and network namespace:\nabout 32,770 AF_PACKET sockets on lo bring dataref to 0x10001, then\nany pskb_expand_head() on the receive path (here a pull of a large\nIPv6 Hop-by-Hop header) frees the shared head:\n\nBUG: KASAN: slab-use-after-free in _copy_to_iter+0x187/0x1330\nRead of size 1590 at addr ff110001104a9002 by task dataref_wrap/87\n skb_copy_datagram_iter+0x60/0x190\n packet_recvmsg+0x1f5/0x12b0\n __sys_recvfrom+0x18d/0x290\nFreed by task 87:\n kfree+0xf3/0x3b0\n pskb_expand_head+0x344/0xeb0\n __pskb_pull_tail+0xf9/0x1bf0\n ipv6_parse_hopopts+0x377/0x4f0\n ip6_rcv_core+0xc67/0x1620\n\nThe upper half never holds more than 1. It is only set by\n__skb_header_release(), with atomic_set() on an skb owning its head\n(TCP/SCTP output, and GRO which never sees cloned skbs).\n__skb_clone() clears nohdr, and __copy_skb_header() does not copy it.\n\nMove SKB_DATAREF_SHIFT to 30, so that the reference count gets 30 bits,\nand dataref stays positive. Wrapping it would need 2^30 live clones of\na single skb, which socket buffer limits and memory make unreachable.\n\nThis issue was found by Anthropic using Claude, and validated by\nAda Logics.","Type":"Description","Title":"net: shrink the payload-only part of skb dataref to one bit"}]}}}