CVE-2026-139344
publishedmacsec: prevent AES-GCM nonce reuse after packet number wrap
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxc09440f7dcb304002dfced8c0fea289eb25f2da0 to < 83edde471129ab3f0bbff4b2470d3066e2c7e111 · c09440f7dcb304002dfced8c0fea289eb25f2da0 to < 39f656dcdb08dc5463e90b67ee30d2f7b41a933b · c09440f7dcb304002dfced8c0fea289eb25f2da0 to < a371e502e5a07cb049499be1e43b865ed3ba4eb1 · c09440f7dcb304002dfced8c0fea289eb25f2da0 to < 54ac400341e33bd8c79840595e0185eb17a422bc · c09440f7dcb304002dfced8c0fea289eb25f2da0 to < cf3da25ead14590771ea151dde9b7c4ae112bb48 · c09440f7dcb304002dfced8c0fea289eb25f2da0 to < 8366ca908e5f2aa2e283fae5f0512a788cf1b4c8 · c09440f7dcb304002dfced8c0fea289eb25f2da0 to < 504eaccdb56f267d7e087b653b1fb0e075f9b4c9 · c09440f7dcb304002dfced8c0fea289eb25f2da0 to < 94d51c59f0a872c57cb8daa1964ec033d77a79fb · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.6 (affected) · 0 to < 4.6 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
Description
In the Linux kernel, the following vulnerability has been resolved: macsec: prevent AES-GCM nonce reuse after packet number wrap After allocating the last valid packet number, MACsec wraps next_pn to zero and deactivates the transmit SA. This happens for both 32- and 64-bit types of packet numbers (at values 0xffffffff and 0xffffffffffffffff, respectively). TX packets that were still getting processed during deactivation keep being processed and then receive packet numbers. The first gets 0 and is correctly dropped, but next_pn is incremented to 1, which makes the next packet take number 1. It then does not get dropped and may induce a reuse of the AES-GCM nonce corresponding to value 1. This race affects TX packets that have already passed the SA activity check: packets that observe the inactive SA are correctly dropped. Reactivating the SA after PN wrap without a packet number can also cause nonce reuse. Keep next_pn at 0 after wrap, even if the SA is reactivated, so further packet number allocations return 0 and the corresponding packets are dropped.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | c09440f7dcb304002dfced8c0fea289eb25f2da0 to < 83edde471129ab3f0bbff4b2470d3066e2c7e111 (affected · git)c09440f7dcb304002dfced8c0fea289eb25f2da0 to < 39f656dcdb08dc5463e90b67ee30d2f7b41a933b (affected · git)c09440f7dcb304002dfced8c0fea289eb25f2da0 to < a371e502e5a07cb049499be1e43b865ed3ba4eb1 (affected · git)c09440f7dcb304002dfced8c0fea289eb25f2da0 to < 54ac400341e33bd8c79840595e0185eb17a422bc (affected · git)c09440f7dcb304002dfced8c0fea289eb25f2da0 to < cf3da25ead14590771ea151dde9b7c4ae112bb48 (affected · git)c09440f7dcb304002dfced8c0fea289eb25f2da0 to < 8366ca908e5f2aa2e283fae5f0512a788cf1b4c8 (affected · git)c09440f7dcb304002dfced8c0fea289eb25f2da0 to < 504eaccdb56f267d7e087b653b1fb0e075f9b4c9 (affected · git)c09440f7dcb304002dfced8c0fea289eb25f2da0 to < 94d51c59f0a872c57cb8daa1964ec033d77a79fb (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.6 (affected)0 to < 4.6 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/39f656dcdb08dc5463e90b67ee30d2f7b41a933b
- https://git.kernel.org/stable/c/504eaccdb56f267d7e087b653b1fb0e075f9b4c9
- https://git.kernel.org/stable/c/54ac400341e33bd8c79840595e0185eb17a422bc
- https://git.kernel.org/stable/c/8366ca908e5f2aa2e283fae5f0512a788cf1b4c8
- https://git.kernel.org/stable/c/83edde471129ab3f0bbff4b2470d3066e2c7e111
- https://git.kernel.org/stable/c/94d51c59f0a872c57cb8daa1964ec033d77a79fb
- https://git.kernel.org/stable/c/a371e502e5a07cb049499be1e43b865ed3ba4eb1
- https://git.kernel.org/stable/c/cf3da25ead14590771ea151dde9b7c4ae112bb48
Provider assertions
1Linux · cna
macsec: prevent AES-GCM nonce reuse after packet number wrap
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 544b6600afbf3fb6e1199ef1bd9b0ab7a8560097dc2393a2728ddd693dbe3fa9
- Ingested
- 30 Nov 2026, 13:42:23 UTC
- Source record
- Official CVE record