In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_exthdr: fix register tracking for F_PRESENT flag nft_exthdr_init() passes user-controlled priv->len to nft_parse_register_store(), which marks that many bytes in the register bitmap as initialized. However, when NFT_EXTHDR_F_PRESENT is set, the eval paths write only 1 byte (nft_reg_store8) or 4 bytes (*dest = 0 on TCP/DCCP error path). When len > 4, registers beyond the first are never written, retaining uninitialized stack data from nft_regs. Bail out if userspace requests too much data when F_PRESENT is set.
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
CWE-908
|
| Vendor | Product | Version | Update | Type |
|---|---|---|---|---|
| linux | linux_kernel | * | <built-in method update of dict object at 0x7d23a59c9fc0> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7d23af076500> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7d239fbe9d00> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7d239fbeac00> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7d23a59c8b80> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7d23a59c8400> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7d23af075f40> | Operating System |
| linux | linux_kernel | 7.1 | <built-in method update of dict object at 0x7d23a59c9f40> | Operating System |
| linux | linux_kernel | 7.1 | <built-in method update of dict object at 0x7d23a59c9e00> | Operating System |
| linux | linux_kernel | 7.1 | <built-in method update of dict object at 0x7d23a59c8180> | Operating System |
| linux | linux_kernel | 7.1 | <built-in method update of dict object at 0x7d23a59c8600> | Operating System |
| linux | linux_kernel | 7.1 | <built-in method update of dict object at 0x7d23af0742c0> | Operating System |
| linux | linux_kernel | 7.1 | <built-in method update of dict object at 0x7d239fbe82c0> | Operating System |
| linux | linux_kernel | 7.1 | <built-in method update of dict object at 0x7d239fbe8d40> | 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:7.1:rc1:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.1:rc6:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.1:rc7:*:*:*:*:*:* |