Skip to main content
← All vulnerabilities
CVE-2026-98497

net/mlx5e: fix swapped IPv6 IPsec policy masks

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.18.55, 7.2.9
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From ca7992f52c2cb5ef61fbfa590a2d7c926f290237 · fixed in 3803dc8477f08e0dac4050cafee0de43f32727be; From ca7992f52c2cb5ef61fbfa590a2d7c926f290237 · fixed in e73f832f0a7b2c6ea45b2124c732d639be97b547; From ca7992f52c2cb5ef61fbfa590a2d7c926f290237 · fixed in 10de7ed8ef4840da9ca21de4c29578657ac367db

  • Linux Linux

    6.15

  • KernelLinux

    From 6.15.0 · fixed in 6.18.55; From 6.19.0 · fixed in 7.2.9

References 3

git.kernel.org