netfilter: xt_policy: fix strict mode inbound policy matching
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.258, 5.15.209, 6.1.175, 6.6.141, 6.12.91, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
In the Linux kernel, the following vulnerability has been resolved: netfilter: xt_policy: fix strict mode inbound policy matching match_policy_in() walks sec_path entries from the last transform to the first one, but strict policy matching needs to consume info->pol[] in the same forward order as the rule layout. Derive the strict-match policy position from the number of transforms already consumed so that multi-element inbound rules are matched consistently.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
From c4b885139203d37f76662c37ae645fe8e0f4e4e5 · fixed in eb323f7b82d2e2f638de0cc2a177803eb20e0707; From c4b885139203d37f76662c37ae645fe8e0f4e4e5 · fixed in fc1c518bb1f054831ecabb32da9b8e1dff9699c6; From c4b885139203d37f76662c37ae645fe8e0f4e4e5 · fixed in f98b7f85e04b40e28b08c461ded0cc79f14f5509; From c4b885139203d37f76662c37ae645fe8e0f4e4e5 · fixed in 82664d0f1ba25e4f9a71994954abae24c60f4067; From c4b885139203d37f76662c37ae645fe8e0f4e4e5 · fixed in b130a6eefa02bd4d475f2f059da8bcfb3e7d18d9; From c4b885139203d37f76662c37ae645fe8e0f4e4e5 · fixed in 938867e870fb5471bb16f442aeac81326e05bf65; From c4b885139203d37f76662c37ae645fe8e0f4e4e5 · fixed in 392cc1d8408b5665215c1e9290bbf0f92339b043; From c4b885139203d37f76662c37ae645fe8e0f4e4e5 · fixed in 4b2b4d7d4e203c92db8966b163edfacb1f0e1e29
- Linux Linux
2.6.17
- KernelLinux
From 2.6.17 · fixed in 5.10.258; From 5.11.0 · fixed in 5.15.209; From 5.16.0 · fixed in 6.1.175; From 6.2.0 · fixed in 6.6.141; From 6.7.0 · fixed in 6.12.91; From 6.13.0 · fixed in 6.18.33; From 6.19.0 · fixed in 7.0.10
References 8
git.kernel.org
- stable/c/eb323f7b82d2e2f638de0cc2a177803eb20e0707
- stable/c/fc1c518bb1f054831ecabb32da9b8e1dff9699c6
- stable/c/f98b7f85e04b40e28b08c461ded0cc79f14f5509
- stable/c/82664d0f1ba25e4f9a71994954abae24c60f4067
- stable/c/b130a6eefa02bd4d475f2f059da8bcfb3e7d18d9
- stable/c/938867e870fb5471bb16f442aeac81326e05bf65
- stable/c/392cc1d8408b5665215c1e9290bbf0f92339b043
- stable/c/4b2b4d7d4e203c92db8966b163edfacb1f0e1e29