# CVE-2024-50249: ACPI: CPPC: Make rmw\_lock a raw\_spin\_lock

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 15, 2026-11-28)
- **Published:** 2024-11-09T10:14:57.833Z
- **Modified:** 2026-06-17T08:04:00.423Z

## Who should check

- Anyone running Linux \>= 94e8c988468dafde1d2bfe0532a60a3117f6394b, \< c46d6b02588000c27b7b869388c2c0278bd0d173; \>= f812ca13a0d3e3aa418da36b66ca40df0d6f9e60, \< 23039b4aaf1e82e0feea1060834d4ec34262e453; \>= 8ad28208be7bbe748e90442c45963ddbef0fd1e2, \< 0eb2b767c42fac61ab23c4063eb456baa4c2c262; \>= 20cde05aa8bcd7a5ff36a609d813189b7cdbe692, \< 43b1df48d1e7000a214acd1a81b8012ca8a929c8; \>= 60949b7b805424f21326b450ca4f1806c06d982e, \< 1c10941e34c5fdc0357e46a25bd130d9cf40b925; 82cee12ada68dfd438c7faca152dbfe042868743; \>= 6.10.13, \< 6.11
- Anyone running Linux \>= 5.15.168, \< 5.15.171; \>= 6.1.113, \< 6.1.116; \>= 6.6.54, \< 6.6.60; \>= 6.11.2, \< 6.11.7

## Description

In the Linux kernel, the following vulnerability has been resolved:

ACPI: CPPC: Make rmw\_lock a raw\_spin\_lock

The following BUG was triggered:

=============================
\[ BUG: Invalid wait context \]
6.12.0-rc2-XXX \#406 Not tainted
-----------------------------
kworker/1:1/62 is trying to lock:
ffffff8801593030 (&cpc\_ptr-\>rmw\_lock){+.+.}-{3:3}, at: cpc\_write+0xcc/0x370
other info that might help us debug this:
context-{5:5}
2 locks held by kworker/1:1/62:
  \#0: ffffff897ef5ec98 (&rq-\>\_\_lock){-.-.}-{2:2}, at: raw\_spin\_rq\_lock\_nested+0x2c/0x50
  \#1: ffffff880154e238 (&sg\_policy-\>update\_lock){....}-{2:2}, at: sugov\_update\_shared+0x3c/0x280
stack backtrace:
CPU: 1 UID: 0 PID: 62 Comm: kworker/1:1 Not tainted 6.12.0-rc2-g9654bd3e8806 \#406
Workqueue:  0x0 (events)
Call trace:
  dump\_backtrace+0xa4/0x130
  show\_stack+0x20/0x38
  dump\_stack\_lvl+0x90/0xd0
  dump\_stack+0x18/0x28
  \_\_lock\_acquire+0x480/0x1ad8
  lock\_acquire+0x114/0x310
  \_raw\_spin\_lock+0x50/0x70
  cpc\_write+0xcc/0x370
  cppc\_set\_perf+0xa0/0x3a8
  cppc\_cpufreq\_fast\_switch+0x40/0xc0
  cpufreq\_driver\_fast\_switch+0x4c/0x218
  sugov\_update\_shared+0x234/0x280
  update\_load\_avg+0x6ec/0x7b8
  dequeue\_entities+0x108/0x830
  dequeue\_task\_fair+0x58/0x408
  \_\_schedule+0x4f0/0x1070
  schedule+0x54/0x130
  worker\_thread+0xc0/0x2e8
  kthread+0x130/0x148
  ret\_from\_fork+0x10/0x20

sugov\_update\_shared() locks a raw\_spinlock while cpc\_write() locks a
spinlock.

To have a correct wait-type order, update rmw\_lock to a raw spinlock and
ensure that interrupts will be disabled on the CPU holding it.

\[ rjw: Changelog edits \]

## Affected and fixed versions

- Linux: \>= 94e8c988468dafde1d2bfe0532a60a3117f6394b, \< c46d6b02588000c27b7b869388c2c0278bd0d173; \>= f812ca13a0d3e3aa418da36b66ca40df0d6f9e60, \< 23039b4aaf1e82e0feea1060834d4ec34262e453; \>= 8ad28208be7bbe748e90442c45963ddbef0fd1e2, \< 0eb2b767c42fac61ab23c4063eb456baa4c2c262; \>= 20cde05aa8bcd7a5ff36a609d813189b7cdbe692, \< 43b1df48d1e7000a214acd1a81b8012ca8a929c8; \>= 60949b7b805424f21326b450ca4f1806c06d982e, \< 1c10941e34c5fdc0357e46a25bd130d9cf40b925; 82cee12ada68dfd438c7faca152dbfe042868743; \>= 6.10.13, \< 6.11 (cvelist)
- Linux: \>= 5.15.168, \< 5.15.171; \>= 6.1.113, \< 6.1.116; \>= 6.6.54, \< 6.6.60; \>= 6.11.2, \< 6.11.7 (cvelist)

## Mitigation

- Upgrade Linux to 6.11 or later.
- Upgrade Linux to 6.11.7 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-50249.md
Affected: Linux >= 94e8c988468dafde1d2bfe0532a60a3117f6394b, < c46d6b02588000c27b7b869388c2c0278bd0d173; >= f812ca13a0d3e3aa418da36b66ca40df0d6f9e60, < 23039b4aaf1e82e0feea1060834d4ec34262e453; >= 8ad28208be7bbe748e90442c45963ddbef0fd1e2, < 0eb2b767c42fac61ab23c4063eb456baa4c2c262; >= 20cde05aa8bcd7a5ff36a60…
Fixed in: Linux 23039b4aaf1e82e0feea1060834d4ec34262e453, Linux 0eb2b767c42fac61ab23c4063eb456baa4c2c262, Linux 43b1df48d1e7000a214acd1a81b8012ca8a929c8, Linux 1c10941e34c5fdc0357e46a25bd130d9cf40b925, Linux 6.11, Linux 5.15.171, Linux 6.1.116, Linux 6.6.60, Linux 6.11.7

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.
```

## FAQ

### Is CVE-2024-50249 being exploited?

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

### How serious is CVE-2024-50249?

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

### Which versions are affected by CVE-2024-50249?

Linux \>= 94e8c988468dafde1d2bfe0532a60a3117f6394b, \< c46d6b02588000c27b7b869388c2c0278bd0d173; \>= f812ca13a0d3e3aa418da36b66ca40df0d6f9e60, \< 23039b4aaf1e82e0feea1060834d4ec34262e453; \>= 8ad28208be7bbe748e90442c45963ddbef0fd1e2, \< 0eb2b767c42fac61ab23c4063eb456baa4c2c262; \>= 20cde05aa8bcd7a5ff36a609d813189b7cdbe692, \< 43b1df48d1e7000a214acd1a81b8012ca8a929c8; \>= 60949b7b805424f21326b450ca4f1806c06d982e, \< 1c10941e34c5fdc0357e46a25bd130d9cf40b925; 82cee12ada68dfd438c7faca152dbfe042868743; \>= 6.10.13, \< 6.11; Linux \>= 5.15.168, \< 5.15.171; \>= 6.1.113, \< 6.1.116; \>= 6.6.54, \< 6.6.60; \>= 6.11.2, \< 6.11.7.

### Is there a fix for CVE-2024-50249?

Yes. Fixed in Linux 23039b4aaf1e82e0feea1060834d4ec34262e453, Linux 0eb2b767c42fac61ab23c4063eb456baa4c2c262, Linux 43b1df48d1e7000a214acd1a81b8012ca8a929c8, Linux 1c10941e34c5fdc0357e46a25bd130d9cf40b925, Linux 6.11, Linux 5.15.171, Linux 6.1.116, Linux 6.6.60, Linux 6.11.7. Upgrade Linux to 6.11 or later. Upgrade Linux to 6.11.7 or later.

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

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.

## References

- patch: <https://git.kernel.org/stable/c/c46d6b02588000c27b7b869388c2c0278bd0d173>
- patch: <https://git.kernel.org/stable/c/23039b4aaf1e82e0feea1060834d4ec34262e453>
- patch: <https://git.kernel.org/stable/c/0eb2b767c42fac61ab23c4063eb456baa4c2c262>
- patch: <https://git.kernel.org/stable/c/43b1df48d1e7000a214acd1a81b8012ca8a929c8>
- patch: <https://git.kernel.org/stable/c/1c10941e34c5fdc0357e46a25bd130d9cf40b925>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-50249>

HTML: <https://flawdb.com/CVE-2024-50249> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-50249>
