In the Linux kernel, the following vulnerability has been resolved: af_unix: Convert unsigned long to u64 for GC. Lim Chanyoun reported that unix_vertex_max_scc_index 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 unix_vertex.{out_degree,index} are converted for consistency; they are bounded by the number of allocated objects and do not exceed UINT_MAX on 32-bit kernels.
https://git.kernel.org/stable/c/f431faaff8f316d7e19eee5930cccb29d415718a
https://git.kernel.org/stable/c/d5f898d4c47217ce42506698a3a98741393217b7
https://git.kernel.org/stable/c/a7ae91388510d6e3bedda522a4c695740c3dd73b