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.
Published: 2026-10-18
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: IPsec Policy Misapplication
Action: Apply Update
AI Analysis

Impact

In the Linux kernel, the mlx5e network driver incorrectly applied IPv6 IPsec policy masks by installing the source mask into the destination field and vice versa when the prefix lengths differed. This mask misassignment can cause hardware rules to miss traffic that should be encrypted or to allow traffic that should be blocked, effectively undermining the intended IPsec protection. The flaw does not lead to remote code execution; its primary impact is the potential loss of confidentiality due to policy bypass or the loss of availability when legitimate packets are dropped.

Affected Systems

Any system running a Linux kernel that includes the mlx5e driver is affected. The vendor is Linux, and no specific kernel version range is provided in the advisory. Users running older kernels that do not yet incorporate the fix should update the kernel or otherwise mitigate the issue.

Risk and Exploitability

The vulnerability has a CVSS score of 7.5, indicating high severity, and an EPSS score of < 1%, meaning the probability of exploitation is very low. The CVE is not listed in the CISA KEV catalog. The likely attack vector is remote network traffic that traverses the affected host; the exploit requires crafting IPv6 packets whose source and destination prefix lengths differ. An attacker could bypass IPsec enforcement or cause a denial of service by manipulating traffic to trigger the swapped mask logic. Overall, the risk is high in terms of confidentiality and availability but low in exploitation likelihood.

Generated by OpenCVE AI on October 24, 2026 at 17:29 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the commit fixing the swapped IPv6 IPsec policy masks.
  • If updating the kernel immediately is not possible, disable the mlx5e network interface or unload the driver until a patched kernel is installed to prevent the policy mismatch.
  • After applying the patch or disabling the driver, validate IPsec policy enforcement by sending IPv6 traffic with unequal source and destination prefix lengths to confirm correct behavior.

Generated by OpenCVE AI on October 24, 2026 at 17:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 24 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20
CWE-678

Sat, 24 Oct 2026 14:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.6, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L'}

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Wed, 21 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-1025
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.6, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L'}

threat_severity

Moderate


Mon, 19 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20
CWE-678

Sun, 18 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
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.
Title net/mlx5e: fix swapped IPv6 IPsec policy masks
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-24T14:09:07.181Z

Reserved: 2026-09-25T10:25:14.353Z

Link: CVE-2026-98497

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T16:17:00.697

Modified: 2026-10-24T14:16:44.467

Link: CVE-2026-98497

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-18T00:00:00Z

Links: CVE-2026-98497 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-24T17:30:08Z

Weaknesses
  • CWE-1025

    Comparison Using Wrong Factors