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

CVE-2026-74593 (GCVE-0-2026-74593)

Vulnerability from cvelistv5 – Published: 2026-08-22 15:31 – Updated: 2026-08-23 12:47
VLAI
Title
sched_ext: Take cgroup_lock() first in scx_cgroup_lock()
Summary
In the Linux kernel, the following vulnerability has been resolved: sched_ext: Take cgroup_lock() first in scx_cgroup_lock() scx_cgroup_lock() write-locks scx_cgroup_ops_rwsem and then takes cgroup_lock(), which can deadlock through kernfs: scx enable/disable cgroup rmdir cpu.weight write ------------------ ------------ ---------------- cgroup_lock() percpu_down_write(rwsem) cgroup_lock() kernfs_get_active() percpu_down_read(rwsem) kernfs_drain() The enable path waits for the rmdir to release cgroup_mutex. The rmdir, deactivating the cpu controller's files, waits in kernfs_drain() for the write's active reference. The write, in scx_group_set_weight(), waits for the rwsem behind the pending writer. Take cgroup_lock() first. The set_* paths take no cgroup locks inside the read side, so a pending write-lock then only waits for read sections that always run to completion, and no dependency from the rwsem back to cgroup_mutex remains.
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: a5bd6ba30b3364354269b81ac55c2edca9a96d6d , < 2ca6b43edf83f8fc368cc3094ee5f3b1e8e0b0f0 (git)
Affected: a5bd6ba30b3364354269b81ac55c2edca9a96d6d , < a054c9ffa9b7a0dffb763837b91ac9d381ec6d10 (git)
Affected: a5bd6ba30b3364354269b81ac55c2edca9a96d6d , < 5f8b69642d18e1f3e11996707842ac530444e959 (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.18
Unaffected: 0 , < 6.18 (semver)
Unaffected: 6.18.46 , ≤ 6.18.* (semver)
Unaffected: 7.1.9 , ≤ 7.1.* (semver)
Unaffected: 7.2 , ≤ * (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/sched/ext/ext.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "2ca6b43edf83f8fc368cc3094ee5f3b1e8e0b0f0",
              "status": "affected",
              "version": "a5bd6ba30b3364354269b81ac55c2edca9a96d6d",
              "versionType": "git"
            },
            {
              "lessThan": "a054c9ffa9b7a0dffb763837b91ac9d381ec6d10",
              "status": "affected",
              "version": "a5bd6ba30b3364354269b81ac55c2edca9a96d6d",
              "versionType": "git"
            },
            {
              "lessThan": "5f8b69642d18e1f3e11996707842ac530444e959",
              "status": "affected",
              "version": "a5bd6ba30b3364354269b81ac55c2edca9a96d6d",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "kernel/sched/ext/ext.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.18"
            },
            {
              "lessThan": "6.18",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.46",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.9",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.46",
                  "versionStartIncluding": "6.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.9",
                  "versionStartIncluding": "6.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "6.18",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsched_ext: Take cgroup_lock() first in scx_cgroup_lock()\n\nscx_cgroup_lock() write-locks scx_cgroup_ops_rwsem and then takes\ncgroup_lock(), which can deadlock through kernfs:\n\n  scx enable/disable         cgroup rmdir           cpu.weight write\n  ------------------         ------------           ----------------\n                             cgroup_lock()\n  percpu_down_write(rwsem)\n  cgroup_lock()\n                                                    kernfs_get_active()\n                                                    percpu_down_read(rwsem)\n                             kernfs_drain()\n\nThe enable path waits for the rmdir to release cgroup_mutex. The rmdir,\ndeactivating the cpu controller\u0027s files, waits in kernfs_drain() for the\nwrite\u0027s active reference. The write, in scx_group_set_weight(), waits for\nthe rwsem behind the pending writer.\n\nTake cgroup_lock() first. The set_* paths take no cgroup locks inside the\nread side, so a pending write-lock then only waits for read sections that\nalways run to completion, and no dependency from the rwsem back to\ncgroup_mutex remains."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-23T12:47:36.437Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/2ca6b43edf83f8fc368cc3094ee5f3b1e8e0b0f0"
        },
        {
          "url": "https://git.kernel.org/stable/c/a054c9ffa9b7a0dffb763837b91ac9d381ec6d10"
        },
        {
          "url": "https://git.kernel.org/stable/c/5f8b69642d18e1f3e11996707842ac530444e959"
        }
      ],
      "title": "sched_ext: Take cgroup_lock() first in scx_cgroup_lock()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-74593",
    "datePublished": "2026-08-22T15:31:44.160Z",
    "dateReserved": "2026-08-15T05:44:03.919Z",
    "dateUpdated": "2026-08-23T12:47:36.437Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-74593",
      "date": "2026-09-17",
      "epss": "0.00166",
      "percentile": "0.06271"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-74593\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-08-22T16:16:31.573\",\"lastModified\":\"2026-08-23T13:16:45.993\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nsched_ext: Take cgroup_lock() first in scx_cgroup_lock()\\n\\nscx_cgroup_lock() write-locks scx_cgroup_ops_rwsem and then takes\\ncgroup_lock(), which can deadlock through kernfs:\\n\\n  scx enable/disable         cgroup rmdir           cpu.weight write\\n  ------------------         ------------           ----------------\\n                             cgroup_lock()\\n  percpu_down_write(rwsem)\\n  cgroup_lock()\\n                                                    kernfs_get_active()\\n                                                    percpu_down_read(rwsem)\\n                             kernfs_drain()\\n\\nThe enable path waits for the rmdir to release cgroup_mutex. The rmdir,\\ndeactivating the cpu controller\u0027s files, waits in kernfs_drain() for the\\nwrite\u0027s active reference. The write, in scx_group_set_weight(), waits for\\nthe rwsem behind the pending writer.\\n\\nTake cgroup_lock() first. The set_* paths take no cgroup locks inside the\\nread side, so a pending write-lock then only waits for read sections that\\nalways run to completion, and no dependency from the rwsem back to\\ncgroup_mutex remains.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"kernel/sched/ext/ext.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"a5bd6ba30b3364354269b81ac55c2edca9a96d6d\",\"lessThan\":\"2ca6b43edf83f8fc368cc3094ee5f3b1e8e0b0f0\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"a5bd6ba30b3364354269b81ac55c2edca9a96d6d\",\"lessThan\":\"a054c9ffa9b7a0dffb763837b91ac9d381ec6d10\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"a5bd6ba30b3364354269b81ac55c2edca9a96d6d\",\"lessThan\":\"5f8b69642d18e1f3e11996707842ac530444e959\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"kernel/sched/ext/ext.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.18\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.18\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.46\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1.9\",\"lessThanOrEqual\":\"7.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/2ca6b43edf83f8fc368cc3094ee5f3b1e8e0b0f0\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/5f8b69642d18e1f3e11996707842ac530444e959\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a054c9ffa9b7a0dffb763837b91ac9d381ec6d10\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-08-24T11:54:05+00:00",
      "cve": "CVE-2026-74593",
      "id": "CVE-2026-74593",
      "initial_release_date": "2026-08-22T00:00:00+00:00",
      "product_status:known_not_affected": "274",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: sched_ext: Take cgroup_lock() first in scx_cgroup_lock()",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-74593.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-31T16:24:51Z",
      "cve": "CVE-2026-74593",
      "id": "CVE-2026-74593",
      "initial_release_date": "2026-08-23T00:06:20Z",
      "product_status:known_not_affected": "357",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-74593",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-74593.json",
      "version": "4"
    }
  }
}



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…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…