Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-57951

HIGH 7.8EPSS 19%

hrtimers: Handle CPU state correctly on hotplug

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 54d0d83a53508d687fd4a225f8aa1f18559562d0, < 95e4f62df23f4df1ce6ef897d44b8e23c260921a; >= 7f4c89400d2997939f6971c7981cc780a219e36b, < 14984139f1f2768883332965db566ef26db609e7; >= 6fcbcc6c8e52650749692c7613cbe71bf601670d, < 15b453db41d36184cf0ccc21e7df624014ab6a1a; >= 75b5016ce325f1ef9c63e5398a1064cf8a7a7354, < 3d41dbf82e10c44e53ea602398ab002baec27e75; >= 53f408cad05bb987af860af22f4151e5a18e6ee8, < a5cbbea145b400e40540c34816d16d36e0374fbc; >= 5c0930ccaad5a74d74e8b18b648c5eb21ed2fe94, < 38492f6ee883c7b1d33338bf531a62cff69b4b28; >= 5c0930ccaad5a74d74e8b18b648c5eb21ed2fe94, < 2f8dea1692eef2b7ba6a256246ed82c365fdc686; 9a2fc41acb69dd4e2a58d0c04346c3333c2341fc; >= 5.4.264, < 5.4.290; >= 5.10.204, < 5.10.234; …
  • Anyone running Linux 6.7

Vulnerability facts

Affected
Linux >= 54d0d83a53508d687fd4a225f8aa1f18559562d0, < 95e4f62df23f4df1ce6ef897d44b8e23c260921a; >= 7f4c89400d2997939f6971c7981cc780a219e36b, < 14984139f1f2768883332965db566ef26db609e7; >= 6fcbcc6c8e52650749692c7613cbe71bf601670d, < 15b453db41d36184cf0ccc21e7df624014ab6a1a; >= 75b5016ce325f1ef9c63e5398a1064cf8a7a7354, < 3d41dbf82e10c44e53ea602398ab002baec27e75; >= 53f408cad05bb987af860af22f4151e5a18e6ee8, < a5cbbea145b400e40540c34816d16d36e0374fbc; >= 5c0930ccaad5a74d74e8b18b648c5eb21ed2fe94, < 38492f6ee883c7b1d33338bf531a62cff69b4b28; >= 5c0930ccaad5a74d74e8b18b648c5eb21ed2fe94, < 2f8dea1692eef2b7ba6a256246ed82c365fdc686; 9a2fc41acb69dd4e2a58d0c04346c3333c2341fc; >= 5.4.264, < 5.4.290; >= 5.10.204, < 5.10.234; …; Linux 6.7
Fixed in
Linux 95e4f62df23f4df1ce6ef897d44b8e23c260921a, Linux 14984139f1f2768883332965db566ef26db609e7, Linux 15b453db41d36184cf0ccc21e7df624014ab6a1a, Linux 3d41dbf82e10c44e53ea602398ab002baec27e75, Linux 38492f6ee883c7b1d33338bf531a62cff69b4b28, Linux 2f8dea1692eef2b7ba6a256246ed82c365fdc686, Linux 5.4.290, Linux 5.10.234
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.33% chance of exploitation in 30 days (percentile 19, 2026-11-26)
CWE
CWE-416
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: hrtimers: Handle CPU state correctly on hotplug Consider a scenario where a CPU transitions from CPUHP_ONLINE to halfway through a CPU hotunplug down to CPUHP_HRTIMERS_PREPARE, and then back to CPUHP_ONLINE: Since hrtimers_prepare_cpu() does not run, cpu_base.hres_active remains set to 1 throughout. However, during a CPU unplug operation, the tick and the clockevents are shut down at CPUHP_AP_TICK_DYING. On return to the online state, for instance CFS incorrectly assumes that the hrtick is already active, and the chance of the clockevent device to transition to oneshot mode is also lost forever for the CPU, unless it goes back to a lower state than CPUHP_HRTIMERS_PREPARE once. This round-trip reveals another issue; cpu_base.online is not set to 1 after the transition, which appears as a WARN_ON_ONCE in enqueue_hrtimer(). Aside of that, the bulk of the per CPU state is not reset either, which means there are dangling pointers in the worst case. Address this by adding a corresponding startup() callback, which resets the stale per CPU state and sets the online flag. [ tglx: Make the new callback unconditionally available, remove the online modification in the prepare() callback and clear the remaining state in the starting callback instead of the prepare callback ]

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 54d0d83a53508d687fd4a225f8aa1f18559562d0, < 95e4f62df23f4df1ce6ef897d44b8e23c260921a; >= 7f4c89400d2997939f6971c7981cc780a219e36b, < 14984139f1f2768883332965db566ef26db609e7; >= 6fcbcc6c8e52650749692c7613cbe71bf601670d, < 15b453db41d36184cf0ccc21e7df624014ab6a1a; >= 75b5016ce325f1ef9c63e5398a1064cf8a7a7354, < 3d41dbf82e10c44e53ea602398ab002baec27e75; >= 53f408cad05bb987af860af22f4151e5a18e6ee8, < a5cbbea145b400e40540c34816d16d36e0374fbc; >= 5c0930ccaad5a74d74e8b18b648c5eb21ed2fe94, < 38492f6ee883c7b1d33338bf531a62cff69b4b28; >= 5c0930ccaad5a74d74e8b18b648c5eb21ed2fe94, < 2f8dea1692eef2b7ba6a256246ed82c365fdc686; 9a2fc41acb69dd4e2a58d0c04346c3333c2341fc; >= 5.4.264, < 5.4.290; >= 5.10.204, < 5.10.234; …—cvelist
Linux6.7—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-57951. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-57951.md
Affected: Linux >= 54d0d83a53508d687fd4a225f8aa1f18559562d0, < 95e4f62df23f4df1ce6ef897d44b8e23c260921a; >= 7f4c89400d2997939f6971c7981cc780a219e36b, < 14984139f1f2768883332965db566ef26db609e7; >= 6fcbcc6c8e52650749692c7613cbe71bf601670d, < 15b453db41d36184cf0ccc21e7df624014ab6a1a; >= 75b5016ce325f1ef9c63e53…
Fixed in: Linux 95e4f62df23f4df1ce6ef897d44b8e23c260921a, Linux 14984139f1f2768883332965db566ef26db609e7, Linux 15b453db41d36184cf0ccc21e7df624014ab6a1a, Linux 3d41dbf82e10c44e53ea602398ab002baec27e75, Linux 38492f6ee883c7b1d33338bf531a62cff69b4b28, Linux 2f8dea1692eef2b7ba6a256246ed82c365fdc686, Linux 5.4.2…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-57951 being exploited?

There is no confirmed exploitation: CVE-2024-57951 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-57951?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2024-57951?

Linux >= 54d0d83a53508d687fd4a225f8aa1f18559562d0, < 95e4f62df23f4df1ce6ef897d44b8e23c260921a; >= 7f4c89400d2997939f6971c7981cc780a219e36b, < 14984139f1f2768883332965db566ef26db609e7; >= 6fcbcc6c8e52650749692c7613cbe71bf601670d, < 15b453db41d36184cf0ccc21e7df624014ab6a1a; >= 75b5016ce325f1ef9c63e5398a1064cf8a7a7354, < 3d41dbf82e10c44e53ea602398ab002baec27e75; >= 53f408cad05bb987af860af22f4151e5a18e6ee8, < a5cbbea145b400e40540c34816d16d36e0374fbc; >= 5c0930ccaad5a74d74e8b18b648c5eb21ed2fe94, < 38492f6ee883c7b1d33338bf531a62cff69b4b28; >= 5c0930ccaad5a74d74e8b18b648c5eb21ed2fe94, < 2f8dea1692eef2b7ba6a256246ed82c365fdc686; 9a2fc41acb69dd4e2a58d0c04346c3333c2341fc; >= 5.4.264, < 5.4.290; >= 5.10.204, < 5.10.234; …; Linux 6.7.

Is there a fix for CVE-2024-57951?

Yes. Fixed in Linux 95e4f62df23f4df1ce6ef897d44b8e23c260921a, Linux 14984139f1f2768883332965db566ef26db609e7, Linux 15b453db41d36184cf0ccc21e7df624014ab6a1a, Linux 3d41dbf82e10c44e53ea602398ab002baec27e75, Linux 38492f6ee883c7b1d33338bf531a62cff69b4b28, Linux 2f8dea1692eef2b7ba6a256246ed82c365fdc686, Linux 5.4.290, Linux 5.10.234. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2024-57951?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors