{"id":"CVE-2026-98497","title":"net/mlx5e: fix swapped IPv6 IPsec policy masks","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5e: fix swapped IPv6 IPsec policy masks\n\nIPv6 XFRM policies may use different source and destination prefix\nlengths. mlx5e_ipsec_policy_mask() builds the corresp…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= ca7992f52c2cb5ef61fbfa590a2d7c926f290237 < 3803dc8477f08e0dac4050cafee0de43f32727be","Linux >= ca7992f52c2cb5ef61fbfa590a2d7c926f290237 < e73f832f0a7b2c6ea45b2124c732d639be97b547","Linux >= ca7992f52c2cb5ef61fbfa590a2d7c926f290237 < 10de7ed8ef4840da9ca21de4c29578657ac367db","Linux 6.15"],"published":"2026-10-18","updated":"2026-10-18","sourceUpdated":"2026-10-18T15:16:28.852Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-98497","references":[{"url":"https://git.kernel.org/stable/c/3803dc8477f08e0dac4050cafee0de43f32727be"},{"url":"https://git.kernel.org/stable/c/e73f832f0a7b2c6ea45b2124c732d639be97b547"},{"url":"https://git.kernel.org/stable/c/10de7ed8ef4840da9ca21de4c29578657ac367db"}],"tags":["cve.org"],"ingestedAt":"2026-10-18T15:45:12.289Z","slug":"CVE-2026-98497","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5e: fix swapped IPv6 IPsec policy masks\n\nIPv6 XFRM policies may use different source and destination prefix\nlengths. mlx5e_ipsec_policy_mask() builds the corresponding masks\nindependently, but setup_fte_addr6() installs each mask in the opposite\naddress field.\n\nWhen the prefix lengths differ, this makes the source match use the\ndestination prefix and the destination match use the source prefix. The\nresulting hardware rule can both miss traffic covered by the policy and\nmatch traffic outside it.\n\nInstall each mask in its corresponding match field.\n\n## Affected\n\n- `Linux >= ca7992f52c2cb5ef61fbfa590a2d7c926f290237 < 3803dc8477f08e0dac4050cafee0de43f32727be`\n- `Linux >= ca7992f52c2cb5ef61fbfa590a2d7c926f290237 < e73f832f0a7b2c6ea45b2124c732d639be97b547`\n- `Linux >= ca7992f52c2cb5ef61fbfa590a2d7c926f290237 < 10de7ed8ef4840da9ca21de4c29578657ac367db`\n- `Linux 6.15`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}