netfilter: xt_dccp: handle reserved options as single-byte
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
netfilter: xt_dccp: 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. dccp_find_option() 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 XT_DCCP_OPTION 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 DCCPO_MAX_RESERVED as single-byte, matching the protocol definition. Triggering requires CONFIG_NETFILTER_XTABLES_LEGACY, CONFIG_NETFILTER_XT_MATCH_DCCP, an option-based rule, and remote protocol-33 reachability. The touched source is unchanged at 0c2669a9f4a1d607e7591ae50ccf3c432a0aff08, where the patch applies and builds cleanly.
| Product | Versions |
|---|---|
| Linux Linux | 1d3de414eb20d937d82c5219fd13ee4cedc499cb to before 99f6050201468cf3f98c2d1cc22889a231eb2c10 Affected1d3de414eb20d937d82c5219fd13ee4cedc499cb to before e3666d0f3ad0eac36846219612dc6aefc952d03a Affected1d3de414eb20d937d82c5219fd13ee4cedc499cb to before 3a6c0f2aee0be6a2b1023351cb99e496fd66d506 Affected1d3de414eb20d937d82c5219fd13ee4cedc499cb to before 079813024cf2e9262ea416f378de2bc9587d16fd Affected1d3de414eb20d937d82c5219fd13ee4cedc499cb to before 6933b0ae39d81c93ef703b88d71126fc88f2522f Affected1d3de414eb20d937d82c5219fd13ee4cedc499cb to before 6fb4db31176b3aaf50f15e7c5eae7cfed4b8000d Affected1d3de414eb20d937d82c5219fd13ee4cedc499cb to before 283f5b9c6b7ef942af22eb991aecd4c3844eba9d Affected1d3de414eb20d937d82c5219fd13ee4cedc499cb to before 2edda78aa4eb04cd8f112a81897510ee0cdd7099 Affected |
| Linux Linux | 2.6.14 Affectedbefore 2.6.14 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/99f6050201468cf3f98c2d1cc22889a231eb2c10
- https://git.kernel.org/stable/c/e3666d0f3ad0eac36846219612dc6aefc952d03a
- https://git.kernel.org/stable/c/3a6c0f2aee0be6a2b1023351cb99e496fd66d506
- https://git.kernel.org/stable/c/079813024cf2e9262ea416f378de2bc9587d16fd
- https://git.kernel.org/stable/c/6933b0ae39d81c93ef703b88d71126fc88f2522f
- https://git.kernel.org/stable/c/6fb4db31176b3aaf50f15e7c5eae7cfed4b8000d
- https://git.kernel.org/stable/c/283f5b9c6b7ef942af22eb991aecd4c3844eba9d
- https://git.kernel.org/stable/c/2edda78aa4eb04cd8f112a81897510ee0cdd7099
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.