CVE-2026-143223: af_unix: Convert unsigned long to u64 for GC.
In the Linux kernel, the following vulnerability has been resolved:
afunix: Convert unsigned long to u64 for GC.
Lim Chanyoun reported that unixvertexmaxsccindex could wrap around on 32-bit kernels, which confuses GC into purging a live socket receive queue.
I apparently designed GC with u64 in mind to avoid wraparound. [0]
Let's make it true on 32-bit kernels.
Note that unixvertex.{outdegree,index} are converted for consistency; they are bounded by the number of allocated objects and do not exceed UINTMAX on 32-bit kernels.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.2 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.7 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.66 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.7
Event History
Frequently Asked Questions
Are 64-bit Linux kernel systems affected by this issue?
The reported wraparound condition affects 32-bit kernels. The change converts the relevant garbage-collection counter to u64 to prevent that wraparound on 32-bit systems.
What condition leads to the erroneous socket queue purge?
The issue occurs when unix_vertex_max_scc_index wraps around during AF_UNIX garbage collection on a 32-bit kernel. The wraparound can confuse garbage collection into purging a live socket receive queue.