Skip to main content

In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: fix swapped IPv6 IPsec policy masks IPv6 XFRM policies may use… (CVE-2026-98497)

0
Medium
Published: 10/18/2026 (10/18/2026, 18:31:51 UTC)
Source: GCVE Database

Description

A vulnerability in the Linux kernel's mlx5e driver caused swapped IPv6 IPsec policy masks, leading to incorrect hardware rules for IPv6 XFRM policies. This flaw resulted in source and destination prefix masks being applied to the wrong address fields, potentially causing traffic to be incorrectly matched or missed by IPsec policies. The issue has been resolved by correcting the mask installation to match the appropriate address fields.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/18/2026, 20:18:29 UTC

Technical Analysis

The Linux kernel vulnerability CVE-2026-98497 involves the mlx5e driver handling of IPv6 IPsec policy masks. IPv6 XFRM policies can have different source and destination prefix lengths. The function mlx5e_ipsec_policy_mask() builds masks independently, but setup_fte_addr6() incorrectly installs each mask in the opposite address field. This causes the source match to use the destination prefix and vice versa, resulting in hardware rules that may miss traffic covered by the policy or match traffic outside the intended policy. The fix ensures each mask is installed in its corresponding match field.

Potential Impact

The vulnerability can cause IPsec policies for IPv6 traffic to be improperly enforced by the hardware, potentially allowing some traffic that should be protected to bypass the policy or causing legitimate traffic to be incorrectly matched. This undermines the effectiveness of IPsec protections on affected systems.

Mitigation Recommendations

A fix for this vulnerability has been implemented in the Linux kernel by correcting the mask installation logic in the mlx5e driver. Users should apply the official kernel updates that include this fix. Since this is a kernel-level issue, upgrading to a patched kernel version is the recommended remediation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-jq4w-vj6x-gwh6
Osv Schema Version
1.4.0
Aliases
["CVE-2026-98497"]

Threat ID: 6ad520b02cdf04f656993af8

Added to database: 10/18/2026, 19:40:32 UTC

Last enriched: 10/18/2026, 20:18:29 UTC

Last updated: 10/18/2026, 22:02:57 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses