Vulnerability record
af_unix: Remove gc_in_progress check in unix_peek_fpl().
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…
7.8/CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitability
AV:LAC:LPR:LUI:NScope
S:UImpact
C:HI:HA:HRemediation
No fixed version has been published for this vulnerability yet. Check the references below for vendor advisories, workarounds and mitigation guidance.
Sources