GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2026-80775 (GCVE-0-2026-80775)

Vulnerability from cvelistv5 – Published: 2026-09-04 15:12 – Updated: 2026-09-04 15:12
VLAI
Title
futex: Fix race on the initial mm->futex.phash.ref allocation
Summary
In the Linux kernel, the following vulnerability has been resolved: futex: Fix race on the initial mm->futex.phash.ref allocation futex_hash_allocate() allocates mm->futex.phash.ref without any locking. Commit d9b05321e21e ("futex: Move futex_hash_free() back to __mmput()") moved the allocation here and assumed that the process has just a single thread at this point. Commit ee9dce44362b ("futex: Drop CLONE_THREAD requirement for private default hash alloc") widened need_futex_hash_allocate_default() to cover any CLONE_VM clone, but left out vfork because the parent is suspended and cannot race. That no longer holds once vfork is nested. If a vfork child calls vfork again and is then killed with SIGKILL, the parent is released from its vfork wait and runs concurrently with the grandchild in the same mm. Neither of them went through futex_hash_allocate_default(). When both call prctl(PR_FUTEX_HASH, PR_FUTEX_HASH_SET_SLOTS) at the same time, each one sees mm->futex.phash.ref as NULL and stores its own percpu counter. Only the last store survives. The counter stored first is no longer reachable from the mm, so the references on it are not seen by __futex_ref_atomic_end(). A private hash that still has references is then considered dead and freed, and a task that still holds one of its buckets writes into freed memory in futex_q_lock(). Store the counter once with cmpxchg() and let the loser free_percpu() its own. The initial reference has to be taken before the store, otherwise another task can install a private hash while the counter is still 0.
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: d9b05321e21e4b218de4ce8a590bf375f58b6346 , < 86d12b34bafc9a4c271a9edefea88855a934d6e5 (git)
Affected: d9b05321e21e4b218de4ce8a590bf375f58b6346 , < ff252ed45c8263525f2f54d81c5fa6d547fba344 (git)
Affected: d9b05321e21e4b218de4ce8a590bf375f58b6346 , < c4b4972d8edcdf50b6518f55119e129d2f668a10 (git)
Affected: d9b05321e21e4b218de4ce8a590bf375f58b6346 , < bde0238083647381d4747355c5a19115a3422b96 (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.17
Unaffected: 0 , < 6.17 (semver)
Unaffected: 6.18.47 , ≤ 6.18.* (semver)
Unaffected: 7.1.11 , ≤ 7.1.* (semver)
Unaffected: 7.2.1 , ≤ 7.2.* (semver)
Unaffected: 7.3-rc1 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "kernel/futex/core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "86d12b34bafc9a4c271a9edefea88855a934d6e5",
              "status": "affected",
              "version": "d9b05321e21e4b218de4ce8a590bf375f58b6346",
              "versionType": "git"
            },
            {
              "lessThan": "ff252ed45c8263525f2f54d81c5fa6d547fba344",
              "status": "affected",
              "version": "d9b05321e21e4b218de4ce8a590bf375f58b6346",
              "versionType": "git"
            },
            {
              "lessThan": "c4b4972d8edcdf50b6518f55119e129d2f668a10",
              "status": "affected",
              "version": "d9b05321e21e4b218de4ce8a590bf375f58b6346",
              "versionType": "git"
            },
            {
              "lessThan": "bde0238083647381d4747355c5a19115a3422b96",
              "status": "affected",
              "version": "d9b05321e21e4b218de4ce8a590bf375f58b6346",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "kernel/futex/core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.17"
            },
            {
              "lessThan": "6.17",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.47",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.11",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.1",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.47",
                  "versionStartIncluding": "6.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.11",
                  "versionStartIncluding": "6.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.1",
                  "versionStartIncluding": "6.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3-rc1",
                  "versionStartIncluding": "6.17",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nfutex: Fix race on the initial mm-\u003efutex.phash.ref allocation\n\nfutex_hash_allocate() allocates mm-\u003efutex.phash.ref without any locking.\nCommit d9b05321e21e (\"futex: Move futex_hash_free() back to __mmput()\")\nmoved the allocation here and assumed that the process has just a single\nthread at this point.\n\nCommit ee9dce44362b (\"futex: Drop CLONE_THREAD requirement for private\ndefault hash alloc\") widened need_futex_hash_allocate_default() to cover\nany CLONE_VM clone, but left out vfork because the parent is suspended and\ncannot race.\n\nThat no longer holds once vfork is nested. If a vfork child calls vfork\nagain and is then killed with SIGKILL, the parent is released from its\nvfork wait and runs concurrently with the grandchild in the same mm.\nNeither of them went through futex_hash_allocate_default().\n\nWhen both call prctl(PR_FUTEX_HASH, PR_FUTEX_HASH_SET_SLOTS) at the same\ntime, each one sees mm-\u003efutex.phash.ref as NULL and stores its own percpu\ncounter. Only the last store survives. The counter stored first is no\nlonger reachable from the mm, so the references on it are not seen by\n__futex_ref_atomic_end(). A private hash that still has references is then\nconsidered dead and freed, and a task that still holds one of its buckets\nwrites into freed memory in futex_q_lock().\n\nStore the counter once with cmpxchg() and let the loser free_percpu() its\nown. The initial reference has to be taken before the store, otherwise\nanother task can install a private hash while the counter is still 0."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-09-04T15:12:47.391Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/86d12b34bafc9a4c271a9edefea88855a934d6e5"
        },
        {
          "url": "https://git.kernel.org/stable/c/ff252ed45c8263525f2f54d81c5fa6d547fba344"
        },
        {
          "url": "https://git.kernel.org/stable/c/c4b4972d8edcdf50b6518f55119e129d2f668a10"
        },
        {
          "url": "https://git.kernel.org/stable/c/bde0238083647381d4747355c5a19115a3422b96"
        }
      ],
      "title": "futex: Fix race on the initial mm-\u003efutex.phash.ref allocation",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-80775",
    "datePublished": "2026-09-04T15:12:47.391Z",
    "dateReserved": "2026-08-26T14:34:25.792Z",
    "dateUpdated": "2026-09-04T15:12:47.391Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-80775",
      "date": "2026-09-14",
      "epss": "0.00168",
      "percentile": "0.06353"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-80775\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-09-04T16:18:03.123\",\"lastModified\":\"2026-09-04T16:18:03.123\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nfutex: Fix race on the initial mm-\u003efutex.phash.ref allocation\\n\\nfutex_hash_allocate() allocates mm-\u003efutex.phash.ref without any locking.\\nCommit d9b05321e21e (\\\"futex: Move futex_hash_free() back to __mmput()\\\")\\nmoved the allocation here and assumed that the process has just a single\\nthread at this point.\\n\\nCommit ee9dce44362b (\\\"futex: Drop CLONE_THREAD requirement for private\\ndefault hash alloc\\\") widened need_futex_hash_allocate_default() to cover\\nany CLONE_VM clone, but left out vfork because the parent is suspended and\\ncannot race.\\n\\nThat no longer holds once vfork is nested. If a vfork child calls vfork\\nagain and is then killed with SIGKILL, the parent is released from its\\nvfork wait and runs concurrently with the grandchild in the same mm.\\nNeither of them went through futex_hash_allocate_default().\\n\\nWhen both call prctl(PR_FUTEX_HASH, PR_FUTEX_HASH_SET_SLOTS) at the same\\ntime, each one sees mm-\u003efutex.phash.ref as NULL and stores its own percpu\\ncounter. Only the last store survives. The counter stored first is no\\nlonger reachable from the mm, so the references on it are not seen by\\n__futex_ref_atomic_end(). A private hash that still has references is then\\nconsidered dead and freed, and a task that still holds one of its buckets\\nwrites into freed memory in futex_q_lock().\\n\\nStore the counter once with cmpxchg() and let the loser free_percpu() its\\nown. The initial reference has to be taken before the store, otherwise\\nanother task can install a private hash while the counter is still 0.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"kernel/futex/core.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"d9b05321e21e4b218de4ce8a590bf375f58b6346\",\"lessThan\":\"86d12b34bafc9a4c271a9edefea88855a934d6e5\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"d9b05321e21e4b218de4ce8a590bf375f58b6346\",\"lessThan\":\"ff252ed45c8263525f2f54d81c5fa6d547fba344\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"d9b05321e21e4b218de4ce8a590bf375f58b6346\",\"lessThan\":\"c4b4972d8edcdf50b6518f55119e129d2f668a10\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"d9b05321e21e4b218de4ce8a590bf375f58b6346\",\"lessThan\":\"bde0238083647381d4747355c5a19115a3422b96\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"kernel/futex/core.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.17\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.17\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.47\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1.11\",\"lessThanOrEqual\":\"7.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2.1\",\"lessThanOrEqual\":\"7.2.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.3-rc1\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/86d12b34bafc9a4c271a9edefea88855a934d6e5\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/bde0238083647381d4747355c5a19115a3422b96\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c4b4972d8edcdf50b6518f55119e129d2f668a10\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ff252ed45c8263525f2f54d81c5fa6d547fba344\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-09-08T17:17:59Z",
      "cve": "CVE-2026-80775",
      "id": "CVE-2026-80775",
      "initial_release_date": "2026-09-08T17:17:59Z",
      "product_status:known_not_affected": "353",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-80775",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-80775.json",
      "version": "2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…