af_unix: Set gc_in_progress to true in unix_gc().
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.1.183, 6.6.144, 6.12.95, 6.18.38
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
In the Linux kernel, the following vulnerability has been resolved: af_unix: Set gc_in_progress to true in unix_gc(). Igor Ushakov reported that unix_gc() could run with gc_in_progress being false if the work is scheduled while running: Thread 1 Thread 2 Thread 3 -------- -------- -------- unix_schedule_gc() unix_schedule_gc() `- if (!gc_in_progress) `- if (!gc_in_progress) |- gc_in_progress = true | `- queue_work() | unix_gc() <----------------/ | | |- gc_in_progress = true ... `- queue_work() | | `- gc_in_progress = false | | unix_gc() <---------------------------------------------' | ... /* gc_in_progress == false */ | `- gc_in_progress = false unix_peek_fpl() relies on gc_in_progress not to confuse GC by MSG_PEEK. Let's set gc_in_progress to true in unix_gc().
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
From ceb8bd6c69c1680fd9b45e7f16d7170c9c7513a5 · fixed in 20aa894d475bd8086b25c1113ec4ca70f70c7a98; From 328840c93bd6a4871dd10908d01b41eab83eb8e2 · fixed in 82c17e13d404f686e164590483fd6c1abaa675d0; From 8b90a9f819dc2a06baae4ec1a64d875e53b824ec · fixed in 591f1ac217428a6d2b32a8ac14aac0fab44f155a; From 8b90a9f819dc2a06baae4ec1a64d875e53b824ec · fixed in 0cfa78c050662784fc8e3ab26dbfd1dc632b2082; From 8b90a9f819dc2a06baae4ec1a64d875e53b824ec · fixed in d82ba05263c69fa2437fe93e4e561cc40f4c03af; From 6.1.141 · fixed in 6.1.183; From 6.6.93 · fixed in 6.6.144
- Linux Linux
6.9
- KernelLinux
fixed in 6.1.183; From 6.2.0 · fixed in 6.6.144; From 6.7.0 · fixed in 6.12.95; From 6.9.0 · fixed in 6.18.38