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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
1d3de414eb20d937d82c5219fd13ee4cedc499cb to < 99f6050201468cf3f98c2d1cc22889a231eb2c10affected1d3de414eb20d937d82c5219fd13ee4cedc499cb to < e3666d0f3ad0eac36846219612dc6aefc952d03aaffected1d3de414eb20d937d82c5219fd13ee4cedc499cb to < 3a6c0f2aee0be6a2b1023351cb99e496fd66d506affected1d3de414eb20d937d82c5219fd13ee4cedc499cb to < 079813024cf2e9262ea416f378de2bc9587d16fdaffected1d3de414eb20d937d82c5219fd13ee4cedc499cb to < 6933b0ae39d81c93ef703b88d71126fc88f2522faffected1d3de414eb20d937d82c5219fd13ee4cedc499cb to < 6fb4db31176b3aaf50f15e7c5eae7cfed4b8000daffected1d3de414eb20d937d82c5219fd13ee4cedc499cb to < 283f5b9c6b7ef942af22eb991aecd4c3844eba9daffected1d3de414eb20d937d82c5219fd13ee4cedc499cb to < 2edda78aa4eb04cd8f112a81897510ee0cdd7099affected
Linux Linux
Default version status: affected
2.6.14affected0 to < 2.6.14unaffected5.10.275 to ≤ 5.10.*unaffected5.15.226 to ≤ 5.15.*unaffected6.1.193 to ≤ 6.1.*unaffected6.6.163 to ≤ 6.6.*unaffected6.12.119 to ≤ 6.12.*unaffected6.18.65 to ≤ 6.18.*unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected
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 ↗