# CVE-2026-99676: net: restore refcount ordering for lockless socket access

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.56% (percentile 40, 2026-11-28)
- **Published:** 2026-11-20T05:50:24.118Z
- **Modified:** 2026-11-22T11:17:05.850Z

## Who should check

- Anyone running Linux \>= fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca, \< 6f4fc93f76cd8ebd3c89a064573715503048d1ad; \>= fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca, \< ddd14d0b5b5e650077779d9a158cb7a80ee8297b; \>= fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca, \< 52f5a5ab318f5b120eb686069fbd0108016c02b2; \>= fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca, \< 5b5d8f351dd96f56a58bb516a80e2d4d742fe4e2; d0d583484d2ed9f5903edbbfa7e2a68f78b950b0; \>= 5.4.208, \< 5.5
- Anyone running Linux 5.5

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

## Affected and fixed versions

- Linux: \>= fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca, \< 6f4fc93f76cd8ebd3c89a064573715503048d1ad; \>= fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca, \< ddd14d0b5b5e650077779d9a158cb7a80ee8297b; \>= fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca, \< 52f5a5ab318f5b120eb686069fbd0108016c02b2; \>= fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca, \< 5b5d8f351dd96f56a58bb516a80e2d4d742fe4e2; d0d583484d2ed9f5903edbbfa7e2a68f78b950b0; \>= 5.4.208, \< 5.5 (cvelist)
- Linux: 5.5 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 5.5 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99676. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99676.md
Affected: Linux >= fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca, < 6f4fc93f76cd8ebd3c89a064573715503048d1ad; >= fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca, < ddd14d0b5b5e650077779d9a158cb7a80ee8297b; >= fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca, < 52f5a5ab318f5b120eb686069fbd0108016c02b2; >= fb041bb7c0a918b95c6889f…
Fixed in: Linux 6f4fc93f76cd8ebd3c89a064573715503048d1ad, Linux 52f5a5ab318f5b120eb686069fbd0108016c02b2, Linux 5b5d8f351dd96f56a58bb516a80e2d4d742fe4e2, Linux 5.5

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99676 being exploited?

There is no confirmed exploitation: CVE-2026-99676 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.56% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-99676?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-99676?

Linux \>= fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca, \< 6f4fc93f76cd8ebd3c89a064573715503048d1ad; \>= fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca, \< ddd14d0b5b5e650077779d9a158cb7a80ee8297b; \>= fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca, \< 52f5a5ab318f5b120eb686069fbd0108016c02b2; \>= fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca, \< 5b5d8f351dd96f56a58bb516a80e2d4d742fe4e2; d0d583484d2ed9f5903edbbfa7e2a68f78b950b0; \>= 5.4.208, \< 5.5; Linux 5.5.

### Is there a fix for CVE-2026-99676?

Yes. Fixed in Linux 6f4fc93f76cd8ebd3c89a064573715503048d1ad, Linux 52f5a5ab318f5b120eb686069fbd0108016c02b2, Linux 5b5d8f351dd96f56a58bb516a80e2d4d742fe4e2, Linux 5.5. Upgrade Linux to 5.5 or later.

### How do I check if I'm affected by CVE-2026-99676?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <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>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99676>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-99676> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99676>
