Linux kernel packet filter bypass in IPv6 conntrack
Affects Linux kernels with IPv6 conntrack defragmentation (nf_defrag_ipv6) active, which is present whenever IPv6 conntrack filtering is configured. Fixed by kernel patch ids 48d522b65fb0, c540c1de02e9, 150100520016 and 6448b59ff3c8.
- Exploited
- No known exploitation
- Fix
- Vendor patch: 48d522b65fb0ce2bd54f8f5838d77b48afcf1f3e, c540c1de02e9bc08a9880cee39a4757ef23365c9, 150100520016209a46a0419edc41d1c94ebc7f66, 6448b59ff3c83d9f4edc73c082eab7989ebe8e57
- Who is exposed
- Not reported
Summary
A flaw in the Linux kernel's netfilter connection tracking lets a remote attacker, without logging in, send specially crafted fragmented IPv6 packets whose header offset wraps around during reassembly. This can make the firewall's connection tracking see a different destination port than the one the packet is actually delivered to, so traffic could slip past filtering rules.
Written by a model
Original description
In the Linux kernel, the following vulnerability has been resolved:
netfilter: nf_conntrack: avoid truncating IPv6 nexthdr offset
find_prev_fhdr() returns the offset of the Next Header field before an IPv6 Fragment header through an int pointer, but stores the offset in a u8 local. An extension header chain can put this field beyond byte 255, causing the offset to wrap before it is saved in the fragment queue.
Reassembly later uses the wrapped value to update the preceding Next Header field. This overwrites another byte in the IPv6 header chain and can make conntrack parse a different transport tuple from the one used by IPv6 local delivery. A two-fragment packet can, for example, be recorded as UDP destination port 53 while its payload is delivered to UDP port 9999.
Use int for the working offset, matching the output argument and the other offset variables in this path.
Who should check
Teams running Linux kernels with IPv6 netfilter conntrack (nf_defrag_ipv6) active, such as hosts using nftables/ip6tables to filter inbound IPv6 traffic.
“The only precondition is an active nf_defrag_ipv6, which is present whenever the IPv6 conntrack filtering being bypassed is configured.”
What to do
Apply the vendor's patch: 48d522b65fb0ce2bd54f8f5838d77b48afcf1f3e, c540c1de02e9bc08a9880cee39a4757ef23365c9, 150100520016209a46a0419edc41d1c94ebc7f66, 6448b59ff3c83d9f4edc73c082eab7989ebe8e57.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-139281 (netfilter: nf_conntrack: avoid truncating IPv6 nexthdr offset), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-139281 (entry last updated 2026-12-01):
Affected:
- Linux Linux: version range not reported
- Linux Linux: versions 2.6.15
Vendor patches: 48d522b65fb0ce2bd54f8f5838d77b48afcf1f3e, c540c1de02e9bc08a9880cee39a4757ef23365c9, 150100520016209a46a0419edc41d1c94ebc7f66, 6448b59ff3c83d9f4edc73c082eab7989ebe8e57 (source: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=c540c1de02e9bc08a9880cee39a4757ef23365c9). Check each asset for these patch ids, not only its version.
Conditions (all must be true for the bug to be hit):
- IPv6 conntrack defragmentation (nf_defrag_ipv6) must be active on the host (source: https://www.cve.org/CVERecord?id=CVE-2026-139281)
- Attacker sends IPv6 fragments whose extension header chain places the pre-fragment Next Header field beyond byte 255 (source: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=c540c1de02e9bc08a9880cee39a4757ef23365c9)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, no login, no user action.
CISA KEV: CVE-2026-139281 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-139281 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://git.kernel.org/stable/c/c540c1de02e9bc08a9880cee39a4757ef23365c9
- https://git.kernel.org/stable/c/150100520016209a46a0419edc41d1c94ebc7f66
- https://git.kernel.org/stable/c/6448b59ff3c83d9f4edc73c082eab7989ebe8e57
- https://git.kernel.org/stable/c/3468d5cb0cbfdc4b1bfa3d5e7ed8ed50c7ac9f5a
- https://git.kernel.org/stable/c/55cd1d227de0caa8ab5e0440c2701d3b438d3fb6
- https://git.kernel.org/stable/c/c6168a32eb25ec8f35e894c3851b87a013fd5b42
- https://git.kernel.org/stable/c/2004d38294264f89495e09337cba1b1f5bd1db43
- https://git.kernel.org/stable/c/48d522b65fb0ce2bd54f8f5838d77b48afcf1f3e
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-139281
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-139281"}.Affected versions
- Linux LinuxVersion range not reported
- Linux Linux2.6.15
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure17/25No login or user action needed, reachable over the network without a login · Unknown: Advisories don't say whether default setups are affected
- Reach20/20Affects Linux kernel (software on nearly every server, desktop or phone)
- Severity9.1/10CVSS 9.1
- No patch0/5No signal
What would change the score
- Would score about 91 if added to CISA KEV
- Would score about 86 if CISA's SSVC rates exploitation active
- Would score about 51 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now1 day
- Record last updated
- Posted on X by cve.now
Evidence 10
Questions about CVE-2026-139281
Is CVE-2026-139281 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
The Linux kernel stored an IPv6 next-header offset in a variable too small to hold it. When an extension header chain pushes that field past byte 255, the offset wraps. Conntrack and the firewall can then classify a different transport port than the one delivered locally, for example port 53 instead of 9999, which bypasses inbound packet-filter policy.
Source: cve.org, git.kernel.org
Which versions are affected by CVE-2026-139281?
Linux: version 2.6.15.
Source: cve.now feed data
Am I affected, and how do I check?
The advisory names Linux but lists no version ranges. The only stated precondition is an active nf_defrag_ipv6, which is present whenever the IPv6 conntrack filtering being bypassed is configured. A reader can check whether IPv6 conntrack filtering is set up on the host and whether the nf_defrag_ipv6 module is loaded.
Source: cve.org, git.kernel.org
How do I fix CVE-2026-139281?
The advisory lists no fixed version and no workaround. The fix changes the working offset to an int, matching the output argument and the other offset variables. It is in the kernel commits 48d522b65fb0ce2bd54f8f5838d77b48afcf1f3e, c540c1de02e9bc08a9880cee39a4757ef23365c9, 150100520016209a46a0419edc41d1c94ebc7f66 and 6448b59ff3c83d9f4edc73c082eab7989ebe8e57.
Source: cve.org, git.kernel.org
Related
- CVE-2026-139801KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM
- CVE-2026-139799mm/shmem: hold off eviction in shmem_writeout()
- CVE-2026-139792ALSA: pcm: Prevent O_APPEND open on OSS streams
- CVE-2026-139788cipso: stop modifying live ip_options_rcu
- CVE-2026-139786mm/vma: avoid spurious write locks when mm->mm_lock_seq overflows
- CVE-2026-1398009p/xen: drain response work after unbinding IRQ
No corrections so far. Something wrong on this page? Report an error.