CVE-2026-98497·Kernel vulnerability
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.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.18.55, 7.2.9, 7.3
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.46% — higher than 40% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-98497 scores 7.5 on CVSS, so a successful attack would be serious — but at 0.46%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
How to fix this CVE
Update your Linux kernel to resolve a critical IPsec policy mask configuration error that can cause IPv6 traffic to be incorrectly matched or dropped. If you are running kernel 6.18.x, update to 6.18.55 or later; if running 7.2.x, update to 7.2.9 or later; if running 7.3+, ensure you have the latest stable release. Contact your Linux distribution for a patched kernel package rather than compiling from source, as most vendors have backported the fix to their supported kernel branches.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your current kernel version with `uname -r` and compare against the fixed versions (6.18.55, 7.2.9, or 7.3+)
- Step 2: Verify if IPsec/XFRM policies are in use on your system with `ip xfrm policy show` and check for IPv6 policies with asymmetric source/destination prefix lengths
- Step 3: Monitor syslog for IPsec policy errors with `sudo grep -i 'ipsec\|xfrm' /var/log/syslog` and check for unexpected policy rejections or traffic drops affecting IPv6 encrypted connections
- Step 4: After updating, run `uname -r` to confirm the new kernel version is active (may require reboot), then re-run `ip xfrm policy show` to verify policies are installed correctly
FAQ
What is CVE-2026-98497?
This vulnerability affects the Linux kernel's IPsec implementation, where IPv6 policy masks are incorrectly swapped during hardware offloading configuration. This causes the source and destination address filters to use each other's prefix lengths, resulting in traffic matching failures and policy bypass conditions.
Is CVE-2026-98497 being actively exploited?
No, this CVE is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits are currently available. However, the logic flaw can still be triggered by legitimate IPv6 IPsec traffic with mismatched source/destination prefix lengths.
What versions of Kernel are affected by CVE-2026-98497?
The vulnerability affects kernel versions prior to 6.18.55, 7.2.9, and 7.3. All 6.18.x releases before 6.18.55 and all 7.2.x releases before 7.2.9 are vulnerable; users on mainline should update to 7.3 or later.
How do I check if my server is vulnerable to CVE-2026-98497?
Run `uname -r` to get your kernel version. If it shows 6.18.x (before .55), 7.2.x (before .9), or 7.0-7.2.x, you are vulnerable. Cross-reference your version number against the fixed versions provided by your Linux distributor.
Does Defensia detect CVE-2026-98497?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-98497 will appear in your dashboard with remediation steps specific to your kernel branch.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-98497. Free for 1 server.
Get started free