Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-139279

netfilter: xt_dccp: handle reserved options as single-byte

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 < 99f6050201468cf3f98c2d1cc22889a231eb2c10affected
  • 1d3de414eb20d937d82c5219fd13ee4cedc499cb to < e3666d0f3ad0eac36846219612dc6aefc952d03aaffected
  • 1d3de414eb20d937d82c5219fd13ee4cedc499cb to < 3a6c0f2aee0be6a2b1023351cb99e496fd66d506affected
  • 1d3de414eb20d937d82c5219fd13ee4cedc499cb to < 079813024cf2e9262ea416f378de2bc9587d16fdaffected
  • 1d3de414eb20d937d82c5219fd13ee4cedc499cb to < 6933b0ae39d81c93ef703b88d71126fc88f2522faffected
  • 1d3de414eb20d937d82c5219fd13ee4cedc499cb to < 6fb4db31176b3aaf50f15e7c5eae7cfed4b8000daffected
  • 1d3de414eb20d937d82c5219fd13ee4cedc499cb to < 283f5b9c6b7ef942af22eb991aecd4c3844eba9daffected
  • 1d3de414eb20d937d82c5219fd13ee4cedc499cb to < 2edda78aa4eb04cd8f112a81897510ee0cdd7099affected

Linux Linux

Default version status: affected

  • 2.6.14affected
  • 0 to < 2.6.14unaffected
  • 5.10.275 to ≤ 5.10.*unaffected
  • 5.15.226 to ≤ 5.15.*unaffected
  • 6.1.193 to ≤ 6.1.*unaffected
  • 6.6.163 to ≤ 6.6.*unaffected
  • 6.12.119 to ≤ 6.12.*unaffected
  • 6.18.65 to ≤ 6.18.*unaffected
  • 7.3.6 to ≤ 7.3.*unaffected
  • 7.4-rc1 to ≤ *unaffected

References