In the Linux kernel, the following vulnerability has been resolved: netfilter: ctnetlink: use netlink policy range checks Replace manual range and mask validations with netlink policy annotations in ctnetlink code paths, so that the netlink core rejects invalid values early and can generate extack errors. - CTA_PROTOINFO_TCP_STATE: reject values > TCP_CONNTRACK_SYN_SENT2 at policy level, removing the manual >= TCP_CONNTRACK_MAX check. - CTA_PROTOINFO_TCP_WSCALE_ORIGINAL/REPLY: reject values > TCP_MAX_WSCALE (14). The normal TCP option parsing path already clamps to this value, but the ctnetlink path accepted 0-255, causing undefined behavior when used as a u32 shift count. - CTA_FILTER_ORIG_FLAGS/REPLY_FLAGS: use NLA_POLICY_MASK with CTA_FILTER_F_ALL, removing the manual mask checks. - CTA_EXPECT_FLAGS: use NLA_POLICY_MASK with NF_CT_EXPECT_MASK, adding a new mask define grouping all valid expect flags. Extracted from a broader nf-next patch by Florian Westphal, scoped to ctnetlink for the fixes tree.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
| Attack Vector | LOCAL |
|---|---|
| Attack Complexity | LOW |
| Privileges Required | LOW |
| User Interaction | NONE |
| Scope | UNCHANGED |
| Confidentiality Impact | NONE |
| Integrity Impact | NONE |
| Availability Impact | HIGH |
| Source | Type | Description |
|---|---|---|
| [email protected] | Primary |
en
NVD-CWE-noinfo
|
| Vendor | Product | Version | Update | Type |
|---|---|---|---|---|
| linux | linux_kernel | * | <built-in method update of dict object at 0x7d23beb86a40> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7d2424650b40> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7d23a52f4800> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7d23beb87b00> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7d23beb848c0> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7d23beb868c0> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7d23a52f63c0> | Operating System |
| linux | linux_kernel | 2.6.22 | <built-in method update of dict object at 0x7d23beb86840> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x7d2364415cc0> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x7d23beb86580> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x7d23644171c0> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x7d23beb87440> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x7d2424626e40> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x7d2364415480> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x7d23beb87d40> | Operating System |
| Vulnerable | CPE |
|---|---|
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:2.6.22:-:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:* |