{"api_version":"1","generated_at":"2026-10-21T12:45:43+00:00","cve":"CVE-2026-98497","urls":{"html":"https://cve.report/CVE-2026-98497","api":"https://cve.report/api/cve/CVE-2026-98497.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-98497","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-98497"},"summary":{"title":"net/mlx5e: fix swapped IPv6 IPsec policy masks","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5e: fix swapped IPv6 IPsec policy masks\n\nIPv6 XFRM policies may use different source and destination prefix\nlengths. mlx5e_ipsec_policy_mask() builds the corresponding masks\nindependently, but setup_fte_addr6() installs each mask in the opposite\naddress field.\n\nWhen the prefix lengths differ, this makes the source match use the\ndestination prefix and the destination match use the source prefix. The\nresulting hardware rule can both miss traffic covered by the policy and\nmatch traffic outside it.\n\nInstall each mask in its corresponding match field.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-10-18 16:17:00","updated_at":"2026-10-19 10:19:02"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/e73f832f0a7b2c6ea45b2124c732d639be97b547","name":"https://git.kernel.org/stable/c/e73f832f0a7b2c6ea45b2124c732d639be97b547","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/3803dc8477f08e0dac4050cafee0de43f32727be","name":"https://git.kernel.org/stable/c/3803dc8477f08e0dac4050cafee0de43f32727be","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/10de7ed8ef4840da9ca21de4c29578657ac367db","name":"https://git.kernel.org/stable/c/10de7ed8ef4840da9ca21de4c29578657ac367db","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-98497","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98497","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ca7992f52c2cb5ef61fbfa590a2d7c926f290237 3803dc8477f08e0dac4050cafee0de43f32727be git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ca7992f52c2cb5ef61fbfa590a2d7c926f290237 e73f832f0a7b2c6ea45b2124c732d639be97b547 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ca7992f52c2cb5ef61fbfa590a2d7c926f290237 10de7ed8ef4840da9ca21de4c29578657ac367db git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.15","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.15 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.55 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.9 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"3803dc8477f08e0dac4050cafee0de43f32727be","status":"affected","version":"ca7992f52c2cb5ef61fbfa590a2d7c926f290237","versionType":"git"},{"lessThan":"e73f832f0a7b2c6ea45b2124c732d639be97b547","status":"affected","version":"ca7992f52c2cb5ef61fbfa590a2d7c926f290237","versionType":"git"},{"lessThan":"10de7ed8ef4840da9ca21de4c29578657ac367db","status":"affected","version":"ca7992f52c2cb5ef61fbfa590a2d7c926f290237","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.15"},{"lessThan":"6.15","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.55","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.9","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.55","versionStartIncluding":"6.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.9","versionStartIncluding":"6.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3","versionStartIncluding":"6.15","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5e: fix swapped IPv6 IPsec policy masks\n\nIPv6 XFRM policies may use different source and destination prefix\nlengths. mlx5e_ipsec_policy_mask() builds the corresponding masks\nindependently, but setup_fte_addr6() installs each mask in the opposite\naddress field.\n\nWhen the prefix lengths differ, this makes the source match use the\ndestination prefix and the destination match use the source prefix. The\nresulting hardware rule can both miss traffic covered by the policy and\nmatch traffic outside it.\n\nInstall each mask in its corresponding match field."}],"providerMetadata":{"dateUpdated":"2026-10-19T09:20:35.252Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/3803dc8477f08e0dac4050cafee0de43f32727be"},{"url":"https://git.kernel.org/stable/c/e73f832f0a7b2c6ea45b2124c732d639be97b547"},{"url":"https://git.kernel.org/stable/c/10de7ed8ef4840da9ca21de4c29578657ac367db"}],"title":"net/mlx5e: fix swapped IPv6 IPsec policy masks","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-98497","datePublished":"2026-10-18T15:16:28.852Z","dateReserved":"2026-09-25T10:25:14.353Z","dateUpdated":"2026-10-19T09:20:35.252Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-10-18 16:17:00","lastModifiedDate":"2026-10-19 10:19:02","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"98497","Ordinal":"1","Title":"net/mlx5e: fix swapped IPv6 IPsec policy masks","CVE":"CVE-2026-98497","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"98497","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5e: fix swapped IPv6 IPsec policy masks\n\nIPv6 XFRM policies may use different source and destination prefix\nlengths. mlx5e_ipsec_policy_mask() builds the corresponding masks\nindependently, but setup_fte_addr6() installs each mask in the opposite\naddress field.\n\nWhen the prefix lengths differ, this makes the source match use the\ndestination prefix and the destination match use the source prefix. The\nresulting hardware rule can both miss traffic covered by the policy and\nmatch traffic outside it.\n\nInstall each mask in its corresponding match field.","Type":"Description","Title":"net/mlx5e: fix swapped IPv6 IPsec policy masks"}]}}}