{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "e1fad12dcb66b7f35573c52b665830a1538f9886"
            },
            {
              "fixed": "b91da5a7f8bc9ff522c5554c1a1934c2cb7991fe"
            },
            {
              "fixed": "c282051fc2cae2ea54770ebe435dbea090272c25"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.18.0"
            },
            {
              "fixed": "7.3.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99595.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nsched/fair: Clear throttle state when leaving the fair class\n\nTask-based CFS bandwidth throttling removes a task's fair sched_entity\nwhile the scheduler core still considers the task queued. p-\u003ethrottled\ncarries the fair-specific state across dequeue/enqueue operations.\n\nDEQUEUE_CLASS removes the task from cfs_rq-\u003ethrottled_limbo_list\nbut retains the bit. If the last finite CFS quota is disabled while\nthe task runs in another class, it is absent from the unthrottle walk and\nthe bit survives.\nReturning to fair while cfs_bandwidth_used() is false then performs a real\nfair enqueue with p-\u003ethrottled still set.\n\nAfter bandwidth is re-enabled, a class-change dequeue treats the\nstale bit as limbo state and skips __dequeue_task(). p-\u003ese.on_rq therefore\nremains set, and put_prev_task_fair() places the entity in the EEVDF tree\nwhile the task moves to RT. On exit, the fair picker can select the\nTASK_DEAD task. __schedule() then returns to do_task_dead(),\nwhich hits BUG().\n\nKeep p-\u003ethrottled across migrations and group moves, but clear it on\nDEQUEUE_CLASS because fair-specific state must not outlive fair-class\nmembership. A later return to fair uses the normal enqueue path. That path\nstill respects a throttled cfs_rq.\n\nA KASAN, LOCKDEP and DEBUG_LIST v7.3 kernel reproduced the do_task_dead()\nBUG in 3/3 root and 3/3 delegated uid-1000 runs with CapPrm=CapEff=0 and\nRLIMIT_RTPRIO=1. The fix passed both matrices plus a 3/3 class-switch\ncontrol with bandwidth continuously enabled, without a scheduler warning,\nKASAN report, lockdep splat or crash.\n\nAn AI coding assistant analyzed the state mismatch and drafted the initial\nreproducer, fix candidate and this changelog. The source paths, trigger,\ncontrols and results were rechecked against the cited revisions.",
  "id": "CVE-2026-99595",
  "modified": "2026-11-20T06:45:38.771806181Z",
  "published": "2026-11-20T05:49:22.379Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b91da5a7f8bc9ff522c5554c1a1934c2cb7991fe"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c282051fc2cae2ea54770ebe435dbea090272c25"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99595.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99595"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "sched/fair: Clear throttle state when leaving the fair class"
}