CVE-2026-98497

Source
https://cve.org/CVERecord?id=CVE-2026-98497
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98497.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-98497
Downstream
Published
2026-10-18T15:16:28Z
Modified
2026-10-20T02:30:14Z
Summary
net/mlx5e: fix swapped IPv6 IPsec policy masks
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98497.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
ca7992f52c2cb5ef61fbfa590a2d7c926f290237
Fixed
3803dc8477f08e0dac4050cafee0de43f32727be
Fixed
e73f832f0a7b2c6ea45b2124c732d639be97b547
Fixed
10de7ed8ef4840da9ca21de4c29578657ac367db

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98497.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.15.0
Fixed
6.18.55
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98497.json"