CVE-2026-53361 (GCVE-0-2026-53361)
Vulnerability from cvelistv5
Published
2026-07-04 11:54
Modified
2026-08-19 16:28
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().
Impacted products
Vendor Product Version
Linux Linux Version: ceb8bd6c69c1680fd9b45e7f16d7170c9c7513a5
Version: 328840c93bd6a4871dd10908d01b41eab83eb8e2
Version: 8b90a9f819dc2a06baae4ec1a64d875e53b824ec
Version: 8b90a9f819dc2a06baae4ec1a64d875e53b824ec
Version: 8b90a9f819dc2a06baae4ec1a64d875e53b824ec
Version: 6.1.141   
Version: 6.6.93   
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/unix/garbage.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "20aa894d475bd8086b25c1113ec4ca70f70c7a98",
              "status": "affected",
              "version": "ceb8bd6c69c1680fd9b45e7f16d7170c9c7513a5",
              "versionType": "git"
            },
            {
              "lessThan": "82c17e13d404f686e164590483fd6c1abaa675d0",
              "status": "affected",
              "version": "328840c93bd6a4871dd10908d01b41eab83eb8e2",
              "versionType": "git"
            },
            {
              "lessThan": "591f1ac217428a6d2b32a8ac14aac0fab44f155a",
              "status": "affected",
              "version": "8b90a9f819dc2a06baae4ec1a64d875e53b824ec",
              "versionType": "git"
            },
            {
              "lessThan": "0cfa78c050662784fc8e3ab26dbfd1dc632b2082",
              "status": "affected",
              "version": "8b90a9f819dc2a06baae4ec1a64d875e53b824ec",
              "versionType": "git"
            },
            {
              "lessThan": "d82ba05263c69fa2437fe93e4e561cc40f4c03af",
              "status": "affected",
              "version": "8b90a9f819dc2a06baae4ec1a64d875e53b824ec",
              "versionType": "git"
            },
            {
              "lessThan": "6.1.183",
              "status": "affected",
              "version": "6.1.141",
              "versionType": "semver"
            },
            {
              "lessThan": "6.6.144",
              "status": "affected",
              "version": "6.6.93",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/unix/garbage.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.9"
            },
            {
              "lessThan": "6.9",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.183",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.144",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.95",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.38",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.183",
                  "versionStartIncluding": "6.1.141",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.144",
                  "versionStartIncluding": "6.6.93",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.95",
                  "versionStartIncluding": "6.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.38",
                  "versionStartIncluding": "6.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1",
                  "versionStartIncluding": "6.9",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "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() \u003c----------------/                     |\n  |                                                |- gc_in_progress = true\n  ...                                              `- queue_work()\n  |                                                       |\n  `- gc_in_progress = false                               |\n                                                          |\n  unix_gc() \u003c---------------------------------------------\u0027\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\u0027s set gc_in_progress to true in unix_gc()."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.1,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H",
            "version": "3.1"
          },
          "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": {
        "dateUpdated": "2026-08-19T16:28:08.836Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "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"
        }
      ],
      "title": "af_unix: Set gc_in_progress to true in unix_gc().",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-53361",
    "datePublished": "2026-07-04T11:54:52.543Z",
    "dateReserved": "2026-06-09T07:44:35.400Z",
    "dateUpdated": "2026-08-19T16:28:08.836Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…