What’s Vulnerable › Vulnerabilities

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

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.

Summary

CVE-2026-99676 is a Linux kernel networking flaw in reference-count ordering for lockless socket access. On weakly ordered architectures, memory accesses after a successful reference acquisition could be reordered before it, potentially allowing use of a socket that is not properly referenced. The issue affects Linux and is fixed in version 5.5. It is not listed in CISA KEV and EPSS estimates a 0.2% chance of exploitation in 30 days; update to the fixed kernel version.

CVE-2026-99676 ثغرة في نواة Linux تتعلق بترتيب عدّ المراجع في الوصول إلى المقابس (sockets) دون أقفال. على المعماريات ذات الترتيب الضعيف للذاكرة، قد تُعاد ترتيب عمليات الوصول بعد الحصول الناجح على مرجع لتسبق ذلك الحصول، مما قد يسمح باستخدام مقبس دون مرجع صحيح. تؤثر الثغرة في Linux وتُصلَح في الإصدار 5.5. ليست مدرجة في CISA KEV وتقدّر EPSS احتمال الاستغلال خلال 30 يوماً بنسبة 0.2%؛ يُنصح بالترقية إلى إصدار النواة المُصلَح.

Affected products

How to fix

Upgrade to a fixed version: Linux 5.5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-99676 or the next vulnerability affects your stack