net/mlx5e: fix swapped IPv6 IPsec policy masks
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 10de7ed8ef4840da9ca21de4c29578657ac367db, Kernel 3803dc8477f08e0dac4050cafee0de43f32727be, Kernel e73f832f0a7b2c6ea45b2124c732d639be97b547 and 2 more.
In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: fix swapped IPv6 IPsec policy masks IPv6 XFRM policies may use different source and destination prefix lengths. mlx5e_ipsec_policy_mask() builds the corresponding masks independently, but setup_fte_addr6() installs each mask in the opposite address field. When the prefix lengths differ, this makes the source match use the destination prefix and the destination match use the source prefix. The resulting hardware rule can both miss traffic covered by the policy and match traffic outside it. Install each mask in its corresponding match field.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.15, >=ca7992f52c2cb5ef61fbfa590a2d7c926f290237 <10de7ed8ef4840da9ca21de4c29578657ac367db, >=ca7992f52c2cb5ef61fbfa590a2d7c926f290237 <3803dc8477f08e0dac4050cafee0de43f32727be, >=ca7992f52c2cb5ef61fbfa590a2d7c926f290237 <e73f832f0a7b2c6ea45b2124c732d639be97b547 | 10de7ed8ef4840da9ca21de4c29578657ac367db, 3803dc8477f08e0dac4050cafee0de43f32727be, e73f832f0a7b2c6ea45b2124c732d639be97b547 |
| linux-kernel: Kernel | >=6.15.0 <6.18.55, >=6.19.0 <7.2.9 | 6.18.55, 7.2.9 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket