# CVE-2026-139344

- Bağlantı: https://www.allsafe.com.tr/cve-2026-139344/
- Yayımlanma: 2026-11-30T17:18:59+03:00
- Yazar: Postmaster

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.

Bu kayıt NIST NVD kaynağından aktarılmıştır. Etkilenen sürümler, güncel değerlendirme
ve üretici referansları için kaynak kaydı inceleyin.

Kaynak: [NIST NVD — özgün kaydı inceleyin ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-139344)
