AZL-115498: CVE-2026-99676 affecting package kernel 6.6.161.1-1
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 refcountt"), default builds implemented refcountincnotzero() using atomicaddunless(), 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 refcountincnotzeroacquire() in the IPv4 and IPv6 established lookups and in inettwskpurge(), where the socket is validated again after taking a reference.
bpfskassign() 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 refcountsetrelease() when setting refcounts in the SYN cookie, TCP Fast Open, request migration, and TIMEWAIT paths. Keep the existing TIMEWAIT smpwmb(), which separately orders the refcount store before ehash publication.