Comparison Using Wrong Factors Affecting kernel6.18-headers package, versions <1:6.18.56-125.164.amzn2023


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.46% (40th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-KERNEL618HEADERS-21804411
  • published29 Oct 2026
  • disclosed18 Oct 2026

Introduced: 18 Oct 2026

NewCVE-2026-98497  (opens in a new tab)
CWE-1025  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 kernel6.18-headers to version 1:6.18.56-125.164.amzn2023 or higher.
This issue was patched in ALAS2023-2026-3251.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel6.18-headers package and not the kernel6.18-headers package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1