Description
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.
CVSS breakdown
CVSS 3.1
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
High
Affected products
- Linux / Linuxc4b885139203d37f76662c37ae645fe8e0f4e4e5 – eb323f7b82d2e2f638de0cc2a177803eb20e0707
- Linux / Linuxc4b885139203d37f76662c37ae645fe8e0f4e4e5 – fc1c518bb1f054831ecabb32da9b8e1dff9699c6
- Linux / Linuxc4b885139203d37f76662c37ae645fe8e0f4e4e5 – f98b7f85e04b40e28b08c461ded0cc79f14f5509
- Linux / Linuxc4b885139203d37f76662c37ae645fe8e0f4e4e5 – 82664d0f1ba25e4f9a71994954abae24c60f4067
- Linux / Linuxc4b885139203d37f76662c37ae645fe8e0f4e4e5 – b130a6eefa02bd4d475f2f059da8bcfb3e7d18d9
- Linux / Linuxc4b885139203d37f76662c37ae645fe8e0f4e4e5 – 938867e870fb5471bb16f442aeac81326e05bf65
- Linux / Linuxc4b885139203d37f76662c37ae645fe8e0f4e4e5 – 392cc1d8408b5665215c1e9290bbf0f92339b043
- Linux / Linuxc4b885139203d37f76662c37ae645fe8e0f4e4e5 – 4b2b4d7d4e203c92db8966b163edfacb1f0e1e29
- Linux / Linux2.6.17 – 2.6.17
- Linux / Linux0 – 2.6.17
- Linux / Linux5.10.258 – 5.10.*
- Linux / Linux5.15.209 – 5.15.*
- Linux / Linux6.1.175 – 6.1.*
- Linux / Linux6.6.141 – 6.6.*
- Linux / Linux6.12.91 – 6.12.*
- Linux / Linux6.18.33 – 6.18.*
- Linux / Linux7.0.10 – 7.0.*
- Linux / Linux7.1 – *
References
- MISChttps://git.kernel.org/stable/c/eb323f7b82d2e2f638de0cc2a177803eb20e0707
- MISChttps://git.kernel.org/stable/c/fc1c518bb1f054831ecabb32da9b8e1dff9699c6
- MISChttps://git.kernel.org/stable/c/f98b7f85e04b40e28b08c461ded0cc79f14f5509
- MISChttps://git.kernel.org/stable/c/82664d0f1ba25e4f9a71994954abae24c60f4067
- MISChttps://git.kernel.org/stable/c/b130a6eefa02bd4d475f2f059da8bcfb3e7d18d9
- MISChttps://git.kernel.org/stable/c/938867e870fb5471bb16f442aeac81326e05bf65
- MISChttps://git.kernel.org/stable/c/392cc1d8408b5665215c1e9290bbf0f92339b043
- MISChttps://git.kernel.org/stable/c/4b2b4d7d4e203c92db8966b163edfacb1f0e1e29