{
  "id": "CVE-2026-46154",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-46154",
  "published_at": "2026-05-28T09:36:10.31Z",
  "title": "sched_ext: Read scx_root under scx_cgroup_ops_rwsem in cgroup setters",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nsched_ext: Read scx_root under scx_cgroup_ops_rwsem in cgroup setters\n\nscx_group_set_{weight,idle,bandwidth}() cache scx_root before acquiring\nscx_cgroup_ops_rwsem, so the pointer can be stale by the time the op runs.\nIf the loaded scheduler is disabled and freed (via RCU work) and another is\nenabled between the naked load and the rwsem acquire, the reader sees\nscx_cgroup_enabled=true (the new scheduler's) but dereferences the freed one\n- UAF on SCX_HAS_OP(sch, ...) / SCX_CALL_OP(sch, ...).\n\nscx_cgroup_enabled is toggled only under scx_cgroup_ops_rwsem write\n(scx_cgroup_{init,exit}), so reading scx_root inside the rwsem read section\ncorrelates @sch with the enabled snapshot.",
  "cwe": "CWE-416",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= a5bd6ba30b3364354269b81ac55c2edca9a96d6d, \u003c ce9aaa3af445c391735c9d000c4db60dfd5640d4",
          "\u003e= a5bd6ba30b3364354269b81ac55c2edca9a96d6d, \u003c 0f54f6355575971673d8aac7da107ec4178e45bd",
          "\u003e= a5bd6ba30b3364354269b81ac55c2edca9a96d6d, \u003c 80afd4c84bc8f5e80145ce35279f5ce53f6043db"
        ],
        "fixed_in": [
          "ce9aaa3af445c391735c9d000c4db60dfd5640d4",
          "0f54f6355575971673d8aac7da107ec4178e45bd",
          "80afd4c84bc8f5e80145ce35279f5ce53f6043db"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.18"
        ],
        "fixed_in": [
          "0",
          "6.18.32",
          "7.0.7",
          "7.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to ce9aaa3af445c391735c9d000c4db60dfd5640d4 or 0f54f6355575971673d8aac7da107ec4178e45bd or 80afd4c84bc8f5e80145ce35279f5ce53f6043db or later.",
      "Upgrade Linux to 0 or 6.18.32 or 7.0.7 or 7.1 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
