Linux vulnerability lets packets fool firewalls about their ports
A Linux vulnerability can make a packet look like port 53 traffic while reaching port 9999. Check the kernel fix, not just your firewall rules.

A Linux vulnerability can let specially crafted IPv6 fragments fool stateful firewall filtering and reach a restricted service. Red Hat rates CVE-2026-139281 as Critical, with a CVSS score of 9.1, and says exploitation requires neither authentication nor user interaction. The practical catch: a correct-looking firewall policy cannot compensate for the kernel misidentifying the traffic that policy evaluates.
The most useful detail is in the upstream fix. Connection tracking can record a packet as destined for UDP port 53 while Linux delivers its payload to UDP port 9999. That is a concrete mismatch between what the security boundary sees and what the receiving service gets.
For developers responsible for production hosts, the immediate decision is whether the running kernel contains the fix. Reviewing port allowlists alone does not settle that question. Equally, this advisory establishes a filtering bypass, not automatic remote code execution in every reachable application.
How this Linux vulnerability makes two ports look like one
The bug sits in Netfilter's IPv6 fragment reassembly path. The patch explanation describes an offset stored in an eight-bit unsigned variable even though the function's output argument uses an integer. A long extension-header chain can push the relevant position beyond byte 255. The smaller variable then wraps.
Reassembly uses that shortened position to update the preceding Next Header field, changing a different byte from the one intended. Connection tracking and local delivery can consequently disagree about the transport information. The fix makes the working offset an integer, consistent with the surrounding offset variables.
Here is an illustrative calculation, not an exploit: an unsigned eight-bit value holds 256 possible values. Storing an offset of 300 leaves 44 because 300 % 256 = 44. The arithmetic explains why an apparently small type choice can move a later write to the wrong position.
The engineering lesson extends beyond packet parsers. When a component validates or classifies an object and another component consumes it, both must agree on its interpretation. A security check can be perfectly consistent with its own parsed view and still protect the wrong thing.
Do not read the port-53 example as a claim that every DNS allowance is exploitable. It is the upstream demonstration of inconsistent interpretation. Whether traffic reaches a particular service still depends on the affected path, network reachability and filtering arrangement.
The fix exists, but your distribution has the final answer
The Linux kernel CVE team's record traces the issue to Linux 2.6.15 and lists these first fixed upstream releases. These are branch-specific reference points, not universal package-version tests.
| Upstream branch | First fixed release listed for this CVE |
|---|---|
| 5.10 | 5.10.275 |
| 5.15 | 5.15.226 |
| 6.1 | 6.1.193 |
| 6.6 | 6.6.163 |
| 6.12 | 6.12.119 |
| 6.18 | 6.18.65 |
| 7.3 | 7.3.6 |
| Mainline development | 7.4-rc1 |
Use your distribution's advisory to judge its packages. Red Hat explains that it backports fixes while retaining older base versions. A version string that appears below an upstream threshold can therefore need a vendor-specific assessment. Conversely, knowing that an upstream patch exists does not establish that your installed distribution package includes it.
The distinction is visible in Debian's security tracker. At our December 3 check, it marked the Bookworm security source package 6.1.192-3 and Trixie security source package 6.12.118-1 vulnerable, while listing 7.3.6-1 as the fixed version in unstable. Those are source-package statuses, not instructions to replace a stable installation with unstable.
Our recommendation is to make the closure record specific: host, running kernel, vendor package, advisory and activation method. A ticket saying only “Linux updated” leaves the central question unanswered.
Audit the boundary before changing it
Start with a read-only inventory on each Linux host whose filtering you rely on. The following commands collect context; they do not detect exploitation or return a patched/unpatched verdict. We checked their syntax and documented interfaces, but did not reproduce the vulnerability in a lab.
# Identify the operating-system release and running kernel.
cat /etc/os-release
uname -r
# Inspect IPv6 addresses and routes in this network namespace.
ip -6 address show
ip -6 route show table all
# Inspect IPv6 TCP and UDP listeners.
sudo ss -6 -lntup
# Inspect an nftables ruleset, if nftables is installed.
sudo nft -a list rulesetThe kernel's administration guide documents uname -r for identifying the running release. The iproute2 project documents address inspection, route inspection and socket inspection with ss. Netfilter documents list ruleset and the handle option. If your firewall uses another management tool, inspect its active configuration too.
Use the output to answer three operational questions. Which services listen on IPv6? Which traffic paths are supposed to protect them? Which machine owns the kernel enforcing that boundary? Repeat the inventory in relevant network namespaces rather than assuming one host-shell view covers every workload.
Then distinguish configuration evidence from patch evidence. A listener listing helps identify what deserves investigation. A ruleset shows intended filtering. Neither proves that the affected parser has been corrected. Record those findings separately from the vendor's fixed-package determination.
This also gives the team a useful handoff: application owners identify services that depend on network-only access restrictions, while infrastructure owners establish the kernel's patch status. Prioritize services where losing the network boundary would expose functionality without another access check. That is a triage recommendation, not a claim that this CVE removes application authentication.
What to do
First, establish the vendor fix status for the kernel actually running. Use the upstream matrix to orient the investigation, then follow the distribution's supported update and activation procedure. Verify the running release afterward and retain the matching advisory. The kernel CVE team recommends updating to a stable release and discourages cherry-picking individual fixes.
Second, treat disabling IPv6 as a dependency decision. Red Hat lists that mitigation only for systems that do not require IPv6. The kernel's sysctl documentation says disabling it on an interface removes that interface's IPv6 addresses and routes. Check connectivity requirements and recovery access before making the change. Do not turn an urgent security update into a self-inflicted connectivity incident.
Third, set a concrete completion test. Require evidence that the vendor fix is active, that required IPv6 services still work and that restricted services remain inaccessible from the relevant untrusted networks. Ordinary connectivity tests cannot reproduce this crafted-fragment bug, so successful filtering tests supplement patch verification rather than replace it.
The useful response is a verified kernel update with a named owner and an observed running version. Another screenshot of the same firewall rules does not establish that the underlying packet interpretation changed.


