net/mlx5e: fix swapped IPv6 IPsec policy masks
Summary
| CVE | CVE-2026-98497 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-18 16:17:00 UTC |
| Updated | 2026-10-19 10:19:02 UTC |
| 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. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected ca7992f52c2cb5ef61fbfa590a2d7c926f290237 3803dc8477f08e0dac4050cafee0de43f32727be git |
Not specified |
| CNA |
Linux |
Linux |
affected ca7992f52c2cb5ef61fbfa590a2d7c926f290237 e73f832f0a7b2c6ea45b2124c732d639be97b547 git |
Not specified |
| CNA |
Linux |
Linux |
affected ca7992f52c2cb5ef61fbfa590a2d7c926f290237 10de7ed8ef4840da9ca21de4c29578657ac367db git |
Not specified |
| CNA |
Linux |
Linux |
affected 6.15 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.15 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.55 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.2.9 7.2.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/e73f832f0a7b2c6ea45b2124c732d639be97b547 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/3803dc8477f08e0dac4050cafee0de43f32727be |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/10de7ed8ef4840da9ca21de4c29578657ac367db |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.