CVE-2026-99676
net: restore refcount ordering for lockless socket access
- CVSS
- 9.8
- EPSS
- 0.56% (p48)
- Published
- 2026-11-20
- Age
- 14d old
- Modified
- 2026-11-22
- Product
- Linux Linux
- Aliases
- EUVD-2026-130969
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Description
In the Linux kernel, the following vulnerability has been resolved: net: restore refcount ordering for lockless socket access Before commit fb041bb7c0a9 ("locking/refcount: Consolidate implementations of refcount_t"), default builds implemented refcount_inc_not_zero() using atomic_add_unless(), which provided full memory ordering on success. The commit removed that ordering on weakly ordered architectures, allowing accesses after a successful reference acquisition to be reordered before it. Use refcount_inc_not_zero_acquire() in the IPv4 and IPv6 established lookups and in inet_twsk_purge(), where the socket is validated again after taking a reference. bpf_sk_assign() can receive a socket pointer obtained through BTF without a reference. Use acquire ordering when it takes its own reference for a refcounted socket. Use refcount_set_release() when setting refcounts in the SYN cookie, TCP Fast Open, request migration, and TIME_WAIT paths. Keep the existing TIME_WAIT smp_wmb(), which separately orders the refcount store before ehash publication.
Fixed in
5.5 · 52f5a5ab318f5b120eb686069fbd0108016c02b2 · 5b5d8f351dd96f56a58bb516a80e2d4d742fe4e2 · 6.12.118 · 6.18.64 · 6f4fc93f76cd8ebd3c89a064573715503048d1ad · 7.3.5 · ddd14d0b5b5e650077779d9a158cb7a80ee8297b
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Linux | Kernel | >=5.4.208, <5.5 | 5.5 |
| Linux | Kernel | >=5.5.0, <6.12.118 | 6.12.118 |
| Linux | Kernel | >=6.13.0, <6.18.64 | 6.18.64 |
| Linux | Kernel | >=6.19.0, <7.3.5 | 7.3.5 |
| vendor | Linux | >=5.4.208, <5.5 | 5.5 |
| vendor | Linux | >=fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca, <52f5a5ab318f5b120eb686069fbd0108016c02b2 | 52f5a5ab318f5b120eb686069fbd0108016c02b2 |
| vendor | Linux | >=fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca, <5b5d8f351dd96f56a58bb516a80e2d4d742fe4e2 | 5b5d8f351dd96f56a58bb516a80e2d4d742fe4e2 |
| vendor | Linux | >=fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca, <6f4fc93f76cd8ebd3c89a064573715503048d1ad | 6f4fc93f76cd8ebd3c89a064573715503048d1ad |
| vendor | Linux | >=fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca, <ddd14d0b5b5e650077779d9a158cb7a80ee8297b | ddd14d0b5b5e650077779d9a158cb7a80ee8297b |
Sources
- NVD · first seen 14d ago · NVD terms of use
- OSV · first seen 14d ago · CC-BY 4.0
- ENISA EUVD · first seen 11d ago · ENISA
- CVE List · first seen 14d ago · CVE Terms of Use
References
- https://git.kernel.org/stable/c/6f4fc93f76cd8ebd3c89a064573715503048d1ad other
- https://git.kernel.org/stable/c/ddd14d0b5b5e650077779d9a158cb7a80ee8297b other
- https://git.kernel.org/stable/c/52f5a5ab318f5b120eb686069fbd0108016c02b2 other
- https://git.kernel.org/stable/c/5b5d8f351dd96f56a58bb516a80e2d4d742fe4e2 other
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git package
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99676.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-99676 advisory