Skip to content
CVE PROGRAM SOURCE RECORD7.5 High

CVE-2026-98497

net/mlx5e: fix swapped IPv6 IPsec policy masks

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • ca7992f52c2cb5ef61fbfa590a2d7c926f290237 to < 3803dc8477f08e0dac4050cafee0de43f32727beaffected
  • ca7992f52c2cb5ef61fbfa590a2d7c926f290237 to < e73f832f0a7b2c6ea45b2124c732d639be97b547affected
  • ca7992f52c2cb5ef61fbfa590a2d7c926f290237 to < 10de7ed8ef4840da9ca21de4c29578657ac367dbaffected

Linux Linux

Default version status: affected

  • 6.15affected
  • 0 to < 6.15unaffected
  • 6.18.55 to ≤ 6.18.*unaffected
  • 7.2.9 to ≤ 7.2.*unaffected
  • 7.3 to ≤ *unaffected

References