CVE-2026-98497

net/mlx5e: fix swapped IPv6 IPsec policy masks

State
Published
Severity
7.5 High
Published
Oct 18, 2026
Updated
Oct 24, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • ca7992f52c2cb5ef61fbfa590a2d7c926f290237 to before 3803dc8477f08e0dac4050cafee0de43f32727beAffected
  • ca7992f52c2cb5ef61fbfa590a2d7c926f290237 to before e73f832f0a7b2c6ea45b2124c732d639be97b547Affected
  • ca7992f52c2cb5ef61fbfa590a2d7c926f290237 to before 10de7ed8ef4840da9ca21de4c29578657ac367dbAffected
LinuxLinux
  • 6.15Affected
  • before 6.15Not affected
  • 6.18.55 through 6.18.*Not affected
  • 7.2.9 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.