af_unix: Set gc_in_progress to true in unix_gc().
Summary
| CVE | CVE-2026-53361 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-07-04 12:17:02 UTC |
| Updated | 2026-07-04 12:17:02 UTC |
| Description | 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(). |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 328840c93bd6a4871dd10908d01b41eab83eb8e2 82c17e13d404f686e164590483fd6c1abaa675d0 git |
Not specified |
| CNA |
Linux |
Linux |
affected 8b90a9f819dc2a06baae4ec1a64d875e53b824ec 591f1ac217428a6d2b32a8ac14aac0fab44f155a git |
Not specified |
| CNA |
Linux |
Linux |
affected 8b90a9f819dc2a06baae4ec1a64d875e53b824ec 0cfa78c050662784fc8e3ab26dbfd1dc632b2082 git |
Not specified |
| CNA |
Linux |
Linux |
affected 8b90a9f819dc2a06baae4ec1a64d875e53b824ec d82ba05263c69fa2437fe93e4e561cc40f4c03af git |
Not specified |
| CNA |
Linux |
Linux |
affected ceb8bd6c69c1680fd9b45e7f16d7170c9c7513a5 git |
Not specified |
| CNA |
Linux |
Linux |
affected 6.6.93 6.6.144 semver |
Not specified |
| CNA |
Linux |
Linux |
affected 6.1.141 6.2 semver |
Not specified |
| CNA |
Linux |
Linux |
affected 6.9 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.9 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.6.144 6.6.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.95 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.38 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/0cfa78c050662784fc8e3ab26dbfd1dc632b2082 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/d82ba05263c69fa2437fe93e4e561cc40f4c03af |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/82c17e13d404f686e164590483fd6c1abaa675d0 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/591f1ac217428a6d2b32a8ac14aac0fab44f155a |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.