CVE-2026-99676
published critical CVSS 3.1 · 9.8net: restore refcount ordering for lockless socket access
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxfb041bb7c0a918b95c6889fc965cdc4a75b4c0ca to < 6f4fc93f76cd8ebd3c89a064573715503048d1ad · fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca to < ddd14d0b5b5e650077779d9a158cb7a80ee8297b · fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca to < 52f5a5ab318f5b120eb686069fbd0108016c02b2 · fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca to < 5b5d8f351dd96f56a58bb516a80e2d4d742fe4e2 · d0d583484d2ed9f5903edbbfa7e2a68f78b950b0 · 5.4.208 to < 5.5 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.5 (affected) · 0 to < 5.5 (unaffected · semver) · 6.12.118 through 6.12.* (unaffected · semver) · 6.18.64 through 6.18.* (unaffected · semver) · 7.3.5 through 7.3.* (unaffected · semver) · 7.4-rc2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2026-140 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2026-123 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2026-139 | Fixed | Not stated | Amazon Linux assessment |
| Debian | trixie | linux | Advisory build | 6.12.118-1 | DSA-6652-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
Show 39 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3539 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3540 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3541 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2026-140 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devels390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macross390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sources390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourcex86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillaaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillappc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillas390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillax86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2KERNEL-5.15-2026-123 |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2KERNEL-5.4-2026-139 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2026-140 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2KERNEL-5.15-2026-123 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2KERNEL-5.4-2026-139 |
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2026-140 |
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2KERNEL-5.15-2026-123 |
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2KERNEL-5.4-2026-139 |
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2026-140 |
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2KERNEL-5.15-2026-123 |
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2KERNEL-5.4-2026-139 |
| Amazon Linux | AL2023 | kernelaarch64 | Listed in advisory | Not stated | ALAS2023-2026-3540 |
| Amazon Linux | AL2023 | kernelsrc | Listed in advisory | Not stated | ALAS2023-2026-3540 |
| Amazon Linux | AL2023 | kernelx86_64 | Listed in advisory | Not stated | ALAS2023-2026-3540 |
| Amazon Linux | AL2023 | kernel6.12aarch64 | Listed in advisory | Not stated | ALAS2023-2026-3539 |
| Amazon Linux | AL2023 | kernel6.12src | Listed in advisory | Not stated | ALAS2023-2026-3539 |
| Amazon Linux | AL2023 | kernel6.12x86_64 | Listed in advisory | Not stated | ALAS2023-2026-3539 |
| Amazon Linux | AL2023 | kernel6.18aarch64 | Listed in advisory | Not stated | ALAS2023-2026-3541 |
| Amazon Linux | AL2023 | kernel6.18src | Listed in advisory | Not stated | ALAS2023-2026-3541 |
| Amazon Linux | AL2023 | kernel6.18x86_64 | Listed in advisory | Not stated | ALAS2023-2026-3541 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:N - A TCP segment enters __inet_lookup_established() from tcp_v4_rcv() through __inet_lookup_skb(), and from tcp_v4_early_demux() in ip_rcv_finish_core(); tcp_v6_rcv() does the same via __inet6_lookup_established(). The header 4-tuple is the lookup key, and that segment is delivered to whatever socket the unordered refcount_inc_not_zero() returns. AC:L - The attacker produces the race by opening and closing connections and by completing SYN-cookie handshakes, so tcp_get_cookie_sock() and connect/close recycle SLAB_TYPESAFE_BY_RCU sockets while further segments enter the lookup. Relaxed refcount_inc_not_zero() does not order the following inet_match() or hlist_nulls_unhashed_lockless() recheck, and no victim action or hardware fault is required. PR:N - tcp_v4_rcv() and tcp_v4_early_demux() run on every incoming TCP segment before TCP-MD5, TCP-AO, or application authentication. Sending the segment to a listening port performs no credential check on this path. UI:N - The attacker both recycles the sockets and sends the racing segments. No local user must mount media, open a file, or accept a connection. S:U - The lookup, the recycled tcp_sock or request_sock, and any dst_entry reached from sk_rx_dst all belong to the host kernel. The bug does not cross a guest-to-host or IOMMU boundary. C:H - A load of sk_rx_dst after the relaxed refcount_inc_not_zero() can still observe the previous tcp_sock's route, which tcp_disconnect() already passed to dst_release(). tcp_v4_early_demux() and tcp_v4_do_rcv() then read dst->obsolete and call dst->ops->check on that freed dst_entry. I:H - tcp_v4_do_rcv() dispatches through the stale sk_rx_dst via dst->ops->check and can dst_release() it, writing a freed dst_entry. It also passes the attacker's segment to tcp_rcv_established() on the recycled socket, updating that socket's sequence state and receive queue. A:H - If reuse returns the unhashed SYN-cookie request published by tcp_get_cookie_sock(), its rsk_listener is NULL and tcp_v4_rcv() reads sk->sk_state at offset 0x12 through that NULL pointer in softirq, oopsing the host. The freed dst_entry dereference faults as well.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca to < 6f4fc93f76cd8ebd3c89a064573715503048d1ad (affected · git)fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca to < ddd14d0b5b5e650077779d9a158cb7a80ee8297b (affected · git)fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca to < 52f5a5ab318f5b120eb686069fbd0108016c02b2 (affected · git)fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca to < 5b5d8f351dd96f56a58bb516a80e2d4d742fe4e2 (affected · git)d0d583484d2ed9f5903edbbfa7e2a68f78b950b0 (affected · git)5.4.208 to < 5.5 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 5.5 (affected)0 to < 5.5 (unaffected · semver)6.12.118 through 6.12.* (unaffected · semver)6.18.64 through 6.18.* (unaffected · semver)7.3.5 through 7.3.* (unaffected · semver)7.4-rc2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
net: restore refcount ordering for lockless socket access
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7e35cce0d374ee898579729e749490c8857ba7865c3133edcd3923eb36a75485
- Ingested
- 23 Nov 2026, 14:37:13 UTC
- Source record
- Official CVE record