CVE-2026-139279: netfilter: xt_dccp: handle reserved options as single-byte
In the Linux kernel, the following vulnerability has been resolved:
netfilter: xtdccp: handle reserved options as single-byte
The DCCP UAPI defines option numbers 3 through 31 as reserved. Like Padding and Mandatory, these options occupy one byte. dccpfindoption() only treats values below 2 as single-byte and interprets the byte after a reserved option as a TLV length.
This can skip a later option and invert an XTDCCPOPTION rule result. A local production-hook fixture installed the same DROP rule for IPv4 and IPv6. In three fresh boots per kernel, a target-only packet was dropped 20/20 times, while adding reserved option 3 before the same target let 20/20 packets reach the protected receiver. The fixed kernel dropped all trigger packets in three fresh boots and preserved the normal controls.
Treat every option up to DCCPOMAXRESERVED as single-byte, matching the protocol definition. Triggering requires CONFIGNETFILTERXTABLESLEGACY, CONFIGNETFILTERXTMATCHDCCP, an option-based rule, and remote protocol-33 reachability. The touched source is unchanged at 0c2669a9f4a1d607e7591ae50ccf3c432a0aff08, where the patch applies and builds cleanly.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.10.275 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.226 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.1.193 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.163 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.119 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.65 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.6 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.6-1
Event History
Frequently Asked Questions
Which systems should be prioritized for investigation?
Prioritize systems built with CONFIG_NETFILTER_XTABLES_LEGACY and CONFIG_NETFILTER_XT_MATCH_DCCP that use option-based XT_DCCP rules and are reachable remotely for DCCP (IP protocol 33). Systems missing any of these conditions are not described as triggerable.
What access does an attacker need to exploit this?
The attacker needs remote network reachability to the affected host using DCCP, protocol number 33. No local access is described, but exploitation also depends on an option-based XT_DCCP rule being present.
What is the practical security impact of a successful trigger?
A reserved DCCP option placed before a target option can cause the matcher to skip the later option and reverse the result of an XT_DCCP_OPTION rule. In the reported test, packets that should have matched a DROP rule instead reached the protected receiver.
Is there a known source revision where the fix can be applied cleanly?
The report states that the touched source is unchanged at 0c2669a9f4a1d607e7591ae50ccf3c432a0aff08, where the patch applies and builds cleanly. The listed kernel.org stable references provide the corresponding fixes.