Description
In the Linux kernel, the following vulnerability has been resolved: af_unix: Remove gc_in_progress check in unix_peek_fpl(). unix_vertex_dead() and unix_peek_fpl() are synchronised with unix_peek_seq to prevent GC from purging a live socket's recvq. unix_peek_fpl() skips the synchronisation if gc_in_progress is false. However, on weakly ordered arch, GC might have already started working while the write to gc_in_progress is buffered. This does not occur on x86. This is an unlikely path that happens only when AF_UNIX fd is peeked so not worth complicating. Instead of adding memory barriers in unix_gc() and unix_peek_fpl(), let's simply remove the broken short-circuit.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
e3dd56fb5683ba80bf8d7a2f9aa21cfa53f05202 to < 48ce9d1536007b25b757e764f4aab9df8b84bf5faffected72cf49ad50c16270b52bc512d9c2df5743922968 to < 330ca878e73609861c190d73854de0f81b26e938affectede5b31d988a41549037b8d8721a3c3cae893d8670 to < 6f91634cb38a76be8464bb3ebdf16b0a7b496706affectede5b31d988a41549037b8d8721a3c3cae893d8670 to < 0edbc945eb9edd0086f25b151a79cfe4adc0dfa8affected980999a96e1ad043f1197606e5d637219cb102b9affected3106f326f67c03dd9da4ca64663d11e40138cf40affected37dd7ab332396eb8dd80b2dc7ea4b61abf767436affected6.12.92 to < 6.12.120affected6.18.23 to < 6.18.66affected6.1.183 to < 6.2affected6.6.142 to < 6.7affected6.19.10 to < 6.20affected
Linux Linux
Default version status: affected
7.0affected0 to < 7.0unaffected6.12.120 to ≤ 6.12.*unaffected6.18.66 to ≤ 6.18.*unaffected7.3.7 to ≤ 7.3.*unaffected7.4-rc3 to ≤ *unaffected