Findings

CVE-2026-63925

macsec: fix replay protection at XPN lower-PN wrap

Published Jul 19, 2026 · updated Oct 15, 2026

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).

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. Jul 19, 2026 · OSV.dev

    Detected

    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

  2. Oct 13, 2026 · OSV.dev

    Fix available

    Kernel fixed in 5.10.259

  3. Oct 13, 2026 · OSV.dev

    Fix available

    Kernel fixed in 5.10.259

  4. Oct 13, 2026 · OSV.dev

    Updated

    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

  5. Oct 15, 2026 · OSV.dev

    Updated

    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

Affected

  • Linux Kernel5.7.0 → 5.10.259

Sources

  • CVE.orgVulnerability recordCVE-2026-63925

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2026-63925

    30-day exploitation probability 0.3%

    first.org
  • OSV.devPackage advisoryCVE-2026-63925

    macsec: fix replay protection at XPN lower-PN wrap

    osv.dev

References