{"id":"CVE-2026-53361","state":"PUBLISHED","title":"af_unix: Set gc_in_progress to true in unix_gc().","description":"In the Linux kernel, the following vulnerability has been resolved:\n\naf_unix: Set gc_in_progress to true in unix_gc().\n\nIgor Ushakov reported that unix_gc() could run with gc_in_progress\nbeing false if the work is scheduled while running:\n\n  Thread 1         Thread 2                     Thread 3\n  --------         --------                     --------\n                   unix_schedule_gc()           unix_schedule_gc()\n                   `- if (!gc_in_progress)      `- if (!gc_in_progress)\n                      |- gc_in_progress = true     |\n                      `- queue_work()              |\n  unix_gc() <----------------/                     |\n  |                                                |- gc_in_progress = true\n  ...                                              `- queue_work()\n  |                                                       |\n  `- gc_in_progress = false                               |\n                                                          |\n  unix_gc() <---------------------------------------------'\n  |\n  ... /* gc_in_progress == false */\n  |\n  `- gc_in_progress = false\n\nunix_peek_fpl() relies on gc_in_progress not to confuse GC\nby MSG_PEEK.\n\nLet's set gc_in_progress to true in unix_gc().","publishedAt":"2026-07-04T11:54:52.543Z","updatedAt":"2026-10-19T20:07:44.591Z","severity":{"score":7.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ceb8bd6c69c1680fd9b45e7f16d7170c9c7513a5","status":"affected","lessThan":"20aa894d475bd8086b25c1113ec4ca70f70c7a98","versionType":"git"},{"version":"328840c93bd6a4871dd10908d01b41eab83eb8e2","status":"affected","lessThan":"82c17e13d404f686e164590483fd6c1abaa675d0","versionType":"git"},{"version":"8b90a9f819dc2a06baae4ec1a64d875e53b824ec","status":"affected","lessThan":"591f1ac217428a6d2b32a8ac14aac0fab44f155a","versionType":"git"},{"version":"8b90a9f819dc2a06baae4ec1a64d875e53b824ec","status":"affected","lessThan":"0cfa78c050662784fc8e3ab26dbfd1dc632b2082","versionType":"git"},{"version":"8b90a9f819dc2a06baae4ec1a64d875e53b824ec","status":"affected","lessThan":"d82ba05263c69fa2437fe93e4e561cc40f4c03af","versionType":"git"},{"version":"6.1.141","status":"affected","lessThan":"6.1.183","versionType":"semver"},{"version":"6.6.93","status":"affected","lessThan":"6.6.144","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/unix/garbage.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.9","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.9","versionType":"semver"},{"version":"6.1.183","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.144","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.95","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.38","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/unix/garbage.c"]}],"references":["https://git.kernel.org/stable/c/20aa894d475bd8086b25c1113ec4ca70f70c7a98","https://git.kernel.org/stable/c/82c17e13d404f686e164590483fd6c1abaa675d0","https://git.kernel.org/stable/c/591f1ac217428a6d2b32a8ac14aac0fab44f155a","https://git.kernel.org/stable/c/0cfa78c050662784fc8e3ab26dbfd1dc632b2082","https://git.kernel.org/stable/c/d82ba05263c69fa2437fe93e4e561cc40f4c03af"],"weaknesses":["CWE-362"],"ingestedAt":"2026-10-29T20:12:16.098Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/53xxx/CVE-2026-53361.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-53361","state":"PUBLISHED","datePublished":"2026-07-04T11:54:52.543Z","dateUpdated":"2026-10-19T20:07:44.591Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-06-09T07:44:35.400Z"},"containers":{"cna":{"title":"af_unix: Set gc_in_progress to true in unix_gc().","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\naf_unix: Set gc_in_progress to true in unix_gc().\n\nIgor Ushakov reported that unix_gc() could run with gc_in_progress\nbeing false if the work is scheduled while running:\n\n  Thread 1         Thread 2                     Thread 3\n  --------         --------                     --------\n                   unix_schedule_gc()           unix_schedule_gc()\n                   `- if (!gc_in_progress)      `- if (!gc_in_progress)\n                      |- gc_in_progress = true     |\n                      `- queue_work()              |\n  unix_gc() <----------------/                     |\n  |                                                |- gc_in_progress = true\n  ...                                              `- queue_work()\n  |                                                       |\n  `- gc_in_progress = false                               |\n                                                          |\n  unix_gc() <---------------------------------------------'\n  |\n  ... /* gc_in_progress == false */\n  |\n  `- gc_in_progress = false\n\nunix_peek_fpl() relies on gc_in_progress not to confuse GC\nby MSG_PEEK.\n\nLet's set gc_in_progress to true in unix_gc()."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ceb8bd6c69c1680fd9b45e7f16d7170c9c7513a5","status":"affected","lessThan":"20aa894d475bd8086b25c1113ec4ca70f70c7a98","versionType":"git"},{"version":"328840c93bd6a4871dd10908d01b41eab83eb8e2","status":"affected","lessThan":"82c17e13d404f686e164590483fd6c1abaa675d0","versionType":"git"},{"version":"8b90a9f819dc2a06baae4ec1a64d875e53b824ec","status":"affected","lessThan":"591f1ac217428a6d2b32a8ac14aac0fab44f155a","versionType":"git"},{"version":"8b90a9f819dc2a06baae4ec1a64d875e53b824ec","status":"affected","lessThan":"0cfa78c050662784fc8e3ab26dbfd1dc632b2082","versionType":"git"},{"version":"8b90a9f819dc2a06baae4ec1a64d875e53b824ec","status":"affected","lessThan":"d82ba05263c69fa2437fe93e4e561cc40f4c03af","versionType":"git"},{"version":"6.1.141","status":"affected","lessThan":"6.1.183","versionType":"semver"},{"version":"6.6.93","status":"affected","lessThan":"6.6.144","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/unix/garbage.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.9","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.9","versionType":"semver"},{"version":"6.1.183","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.144","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.95","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.38","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/unix/garbage.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/20aa894d475bd8086b25c1113ec4ca70f70c7a98"},{"url":"https://git.kernel.org/stable/c/82c17e13d404f686e164590483fd6c1abaa675d0"},{"url":"https://git.kernel.org/stable/c/591f1ac217428a6d2b32a8ac14aac0fab44f155a"},{"url":"https://git.kernel.org/stable/c/0cfa78c050662784fc8e3ab26dbfd1dc632b2082"},{"url":"https://git.kernel.org/stable/c/d82ba05263c69fa2437fe93e4e561cc40f4c03af"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","baseScore":7.1,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The vulnerable AF_UNIX garbage-collection path is reached through local socket syscalls such as socketpair(), sendmsg() with SCM_RIGHTS, recvmsg(MSG_PEEK), and close(). It is not reachable directly from network packets.\nAC:L - Although this is a race, the attacker can control the relevant operations by creating AF_UNIX FD cycles, issuing concurrent GC-triggering sends, peeking, and closing sockets. No victim timing or external condition is required beyond scheduler interleaving.\nPR:L - The path is available to an unprivileged local user through ordinary AF_UNIX sockets and SCM_RIGHTS; there is no capability check for socket creation, FD passing, or MSG_PEEK. It still requires local code execution, so privileges are Low rather than None.\nUI:N - No victim interaction is required once the local attacker can run code. The attacker can create the sockets, pass FDs, trigger GC, and race MSG_PEEK independently.\nS:U - The impact remains within the kernel/local IPC security authority. This is not a VM escape, IOMMU bypass, or other cross-scope boundary violation.\nC:N - The bug causes stale GC liveness decisions and purging of live AF_UNIX receive queues, but I did not find a new arbitrary read or unintended disclosure primitive. MSG_PEEK-visible descriptors are already exposed to the receiving endpoint by design.\nI:H - The race can make GC incorrectly collect a live AF_UNIX SCC and purge live receive queues, dropping queued data and SCM_RIGHTS file descriptors. That is unauthorized corruption/destruction of kernel-maintained IPC state, so integrity impact is High.\nA:H - The attacker can repeatedly cause live AF_UNIX sockets to lose queued messages and passed FDs, breaking IPC semantics and potentially denying service to affected local components. Under the required higher-severity rule, this supports High availability impact."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-19T16:28:08.836Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1.141","versionEndExcluding":"6.1.183"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6.93","versionEndExcluding":"6.6.144"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"6.12.95"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"6.18.38"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"7.1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-53361","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2026-10-16T15:29:15.887746Z"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-362","lang":"en","type":"CWE","description":"CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-19T20:07:44.591Z"}}]}}}