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

CVE-2024-49573 (GCVE-0-2024-49573)

Vulnerability from cvelistv5 – Published: 2025-01-11 12:35 – Updated: 2026-08-05 11:40
VLAI
Title
sched/fair: Fix NEXT_BUDDY
Summary
In the Linux kernel, the following vulnerability has been resolved: sched/fair: Fix NEXT_BUDDY Adam reports that enabling NEXT_BUDDY insta triggers a WARN in pick_next_entity(). Moving clear_buddies() up before the delayed dequeue bits ensures no ->next buddy becomes delayed. Further ensure no new ->next buddy ever starts as delayed.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 152e11f6df293e816a6a37c69757033cdc72667d , < 5dbe6816c49197677a5ecce749bd99929da147da (git)
Affected: 152e11f6df293e816a6a37c69757033cdc72667d , < 493afbd187c4c9cc1642792c0d9ba400c3d6d90d (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.12
Unaffected: 0 , < 6.12 (semver)
Unaffected: 6.12.7 , ≤ 6.12.* (semver)
Unaffected: 6.13 , ≤ * (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/fair.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "5dbe6816c49197677a5ecce749bd99929da147da",
              "status": "affected",
              "version": "152e11f6df293e816a6a37c69757033cdc72667d",
              "versionType": "git"
            },
            {
              "lessThan": "493afbd187c4c9cc1642792c0d9ba400c3d6d90d",
              "status": "affected",
              "version": "152e11f6df293e816a6a37c69757033cdc72667d",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "kernel/sched/fair.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.12"
            },
            {
              "lessThan": "6.12",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.7",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.13",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.7",
                  "versionStartIncluding": "6.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.13",
                  "versionStartIncluding": "6.12",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsched/fair: Fix NEXT_BUDDY\n\nAdam reports that enabling NEXT_BUDDY insta triggers a WARN in\npick_next_entity().\n\nMoving clear_buddies() up before the delayed dequeue bits ensures\nno -\u003enext buddy becomes delayed. Further ensure no new -\u003enext buddy\never starts as delayed."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The defect is in the CFS scheduler core (kernel/sched/fair.c), reached by ordinary task wakeup, sleep and load-balancer migration on the local machine. There is no remote or adjacent-network input involved, so an attacker must be able to run code on the system.\nAC:H - The entire bug is gated on the NEXT_BUDDY scheduler feature, which is `SCHED_FEAT(NEXT_BUDDY, false)` \u2014 disabled by default and settable only by root writing /sys/kernel/debug/sched/features on a CONFIG_SCHED_DEBUG=y kernel (sched_feat_write is the sole caller of sched_feat_set; there is no cmdline or sysctl path). An unprivileged attacker cannot create this precondition, and enabling NEXT_BUDDY is rare in practice, so success depends on system state outside the attacker\u0027s control.\nPR:L - Given a system with NEXT_BUDDY enabled, no special capability is needed \u2014 any unprivileged task\u0027s ordinary sleep/wake and the kernel\u0027s own load balancer (attach_task()/move_queued_task() calling wakeup_preempt() on a still-sched_delayed task) drive the code path. Only the ability to run an unprivileged process is required.\nUI:N - No victim action is needed; the reporter observed the WARN triggering instantly on ordinary system activity once the feature was enabled. Normal scheduling and CPU load balancing reach the faulty path on their own.\nS:U - The corrupted state is the kernel\u0027s own per-CPU cfs_rq bookkeeping and sched_entity flags, all within the kernel\u0027s security authority. No VM, IOMMU, or sandbox boundary is crossed.\nC:H - The scheduler is left able to run an entity that is simultaneously marked sched_delayed and blocked, which desynchronizes on_rq/nr_running/load.weight and can drive __dequeue_entity() to rb_erase an already-unlinked node, writing through a stale rb_parent pointer into memory that may have been reused. Such scheduler-structure corruption is leverageable toward reading kernel memory contents.\nI:H - A task in a non-RUNNING state is made to execute \u2014 a direct violation of a core scheduling invariant \u2014 and the resulting sched_delayed/on_rq desync leads to double account_entity_dequeue() (nr_running and load.weight underflow) and rb_erase on an unlinked rbtree node, giving a write primitive over scheduler-adjacent memory rather than a mere miscount.\nA:H - pick_next_entity() fires WARN_ONCE, which is a full kernel panic on the panic_on_warn=1 configurations used by hardened and CI deployments, and further SCHED_WARN_ONs cascade in dequeue_entity()/dequeue_entities(). Beyond the splat, the runqueue accounting underflow and rbtree corruption destabilize scheduling on the affected CPU, causing starvation, hangs, and crashes."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T11:40:03.481Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/5dbe6816c49197677a5ecce749bd99929da147da"
        },
        {
          "url": "https://git.kernel.org/stable/c/493afbd187c4c9cc1642792c0d9ba400c3d6d90d"
        }
      ],
      "title": "sched/fair: Fix NEXT_BUDDY",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-49573",
    "datePublished": "2025-01-11T12:35:37.625Z",
    "dateReserved": "2025-01-11T12:32:49.536Z",
    "dateUpdated": "2026-08-05T11:40:03.481Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2024-49573",
      "date": "2026-09-17",
      "epss": "0.00189",
      "percentile": "0.08753"
    },
    "fkie_nvd": {
      "descriptions": "[{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nsched/fair: Fix NEXT_BUDDY\\n\\nAdam reports that enabling NEXT_BUDDY insta triggers a WARN in\\npick_next_entity().\\n\\nMoving clear_buddies() up before the delayed dequeue bits ensures\\nno -\u003enext buddy becomes delayed. Further ensure no new -\u003enext buddy\\never starts as delayed.\"}]",
      "id": "CVE-2024-49573",
      "lastModified": "2025-01-11T13:15:24.223",
      "published": "2025-01-11T13:15:24.223",
      "references": "[{\"url\": \"https://git.kernel.org/stable/c/493afbd187c4c9cc1642792c0d9ba400c3d6d90d\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/5dbe6816c49197677a5ecce749bd99929da147da\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]",
      "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "vulnStatus": "Received"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-49573\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-01-11T13:15:24.223\",\"lastModified\":\"2026-08-04T11:20:50.790\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nsched/fair: Fix NEXT_BUDDY\\n\\nAdam reports that enabling NEXT_BUDDY insta triggers a WARN in\\npick_next_entity().\\n\\nMoving clear_buddies() up before the delayed dequeue bits ensures\\nno -\u003enext buddy becomes delayed. Further ensure no new -\u003enext buddy\\never starts as delayed.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: sched/fair: Fix NEXT_BUDDY Adam informa que habilitar NEXT_BUDDY instant\u00e1neamente activa una ADVERTENCIA en pick_next_entity(). Mover clear_buddies() hacia arriba antes de los bits de eliminaci\u00f3n de cola retrasados garantiza que ning\u00fan -\u0026gt;next buddy se retrase. Adem\u00e1s, aseg\u00farese de que ning\u00fan nuevo -\u0026gt;next buddy comience con retraso.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"kernel/sched/fair.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"152e11f6df293e816a6a37c69757033cdc72667d\",\"lessThan\":\"5dbe6816c49197677a5ecce749bd99929da147da\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"152e11f6df293e816a6a37c69757033cdc72667d\",\"lessThan\":\"493afbd187c4c9cc1642792c0d9ba400c3d6d90d\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"kernel/sched/fair.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.12\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.12\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.7\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.13\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.0,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"HIGH\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.0,\"impactScore\":5.9},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":5.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"NVD-CWE-noinfo\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.12\",\"versionEndExcluding\":\"6.12.7\",\"matchCriteriaId\":\"BB2B083D-CB9D-4D06-9284-5BCF6F66A34C\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.13:rc1:*:*:*:*:*:*\",\"matchCriteriaId\":\"62567B3C-6CEE-46D0-BC2E-B3717FBF7D13\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.13:rc2:*:*:*:*:*:*\",\"matchCriteriaId\":\"5A073481-106D-4B15-B4C7-FB0213B8E1D4\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/493afbd187c4c9cc1642792c0d9ba400c3d6d90d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/5dbe6816c49197677a5ecce749bd99929da147da\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}",
    "redhat_vex": {
      "aggregate_severity": "None",
      "current_release_date": "2025-11-25T09:01:08+00:00",
      "cve": "CVE-2024-49573",
      "id": "CVE-2024-49573",
      "initial_release_date": "2024-01-01T00:00:00+00:00",
      "product_status:known_not_affected": "276",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: sched/fair: Fix NEXT_BUDDY",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-49573.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-22T01:30:06Z",
      "cve": "CVE-2024-49573",
      "id": "CVE-2024-49573",
      "initial_release_date": "2025-01-12T00:17:49Z",
      "product_status:known_not_affected": "346",
      "product_status:recommended": "78",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2024-49573",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2024-49573.json",
      "version": "24"
    }
  }
}



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…