macsec: fix replay protection at XPN lower-PN wrap (Linux Linux)

CVE-2026-63925
HIGH 8.1

En bref

Source
NVD
EPSS
EPSS 0.35 % · centile 28 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: macsec: fix replay protection at XPN lower-PN wrap In macsec_post_decrypt(), when pn is U32_MAX, pn + 1 overflows u32 to 0 and the first branch never fires. If next_pn_halves.lower is also in the upper half, pn_same_half(pn, lower) is true and the XPN else-if does not fire either, leaving next_pn_halves unchanged. An attacker that captures the legitimate frame carrying pn == 0xFFFFFFFF on an XPN association can then replay it indefinitely, since lowest_pn never rises above the captured pn and macsec_decrypt() reconstructs the same IV. Extend the XPN else-if to also fire when pn + 1 wraps to 0, so receipt of pn == U32_MAX advances next_pn_halves to (upper + 1, 0).

Faiblesses (CWE)

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 8.1CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:HLinux
CVSS 3.1HIGH 8.1CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected a21ecf0e033807b976967286e6c392f48ee2049f < dd7306779c6ce1238f4cdc34f3c1f2246b854457 ; affected a21ecf0e033807b976967286e6c392f48ee2049f < d15130461df388136b62a7b0ce9f66e7e2fa9ff1 ; affected a21ecf0e033807b976967286e6c392f48ee2049f < 23c0e230eab397d7f68be2538790ac41d3bb91fd ; affected a21ecf0e033807b976967286e6c392f48ee2049f < 679e13a65e68a67c8b3c0467c02ee89157ec6f0f ; affected a21ecf0e033807b976967286e6c392f48ee2049f < 79495a1b0944fe31ffd54b54b00211b493590d62 ; affected a21ecf0e033807b976967286e6c392f48ee2049f < 6d00f5c7e5ff7ec4795b7f5f8ed88bd346641652
Linux · Linuxaffected 5.7 ; unaffected 0 < 5.7 ; unaffected 5.10.259 ≤ 5.10.* ; unaffected 5.15.210 ≤ 5.15.* ; unaffected 6.1.176 ≤ 6.1.* ; unaffected 6.6.143 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD