# CVE-2024-56701: powerpc/pseries: Fix dtl\_access\_lock to be a rw\_semaphore

> 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, NVD) `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-26)
- **Published:** 2024-12-28T09:46:23.516Z
- **Modified:** 2026-11-05T21:17:37.460Z

## Who should check

- Anyone running Linux \>= 06220d78f24a20549757be1014e57c382406cc92, \< 6956c0e7346ce1bbfc726755aa8da10d26e84276; \>= 06220d78f24a20549757be1014e57c382406cc92, \< f6ec133668757f84e5143f1eb141fd0b83778b9e; \>= 06220d78f24a20549757be1014e57c382406cc92, \< fa5b5ea257135e771b489c83a2e93b5935d0108e; \>= 06220d78f24a20549757be1014e57c382406cc92, \< a246daa26b717e755ccc9061f47f7cd1c0b358dd; \>= 06220d78f24a20549757be1014e57c382406cc92, \< b125d0cf1adde7b2b47d7337fed7e9133eea3463; \>= 06220d78f24a20549757be1014e57c382406cc92, \< 525e18f1ba7c2b098c8ba587fb397efb34a6574c; \>= 06220d78f24a20549757be1014e57c382406cc92, \< cadae3a45d23aa4f6485938a67cbc47aaaa25e38
- Anyone running Linux 5.3

## Description

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

powerpc/pseries: Fix dtl\_access\_lock to be a rw\_semaphore

The dtl\_access\_lock needs to be a rw\_sempahore, a sleeping lock, because
the code calls kmalloc() while holding it, which can sleep:

  \# echo 1 \> /proc/powerpc/vcpudispatch\_stats
  BUG: sleeping function called from invalid context at include/linux/sched/mm.h:337
  in\_atomic(): 1, irqs\_disabled(): 0, non\_block: 0, pid: 199, name: sh
  preempt\_count: 1, expected: 0
  3 locks held by sh/199:
   \#0: c00000000a0743f8 (sb\_writers\#3){.+.+}-{0:0}, at: vfs\_write+0x324/0x438
   \#1: c0000000028c7058 (dtl\_enable\_mutex){+.+.}-{3:3}, at: vcpudispatch\_stats\_write+0xd4/0x5f4
   \#2: c0000000028c70b8 (dtl\_access\_lock){+.+.}-{2:2}, at: vcpudispatch\_stats\_write+0x220/0x5f4
  CPU: 0 PID: 199 Comm: sh Not tainted 6.10.0-rc4 \#152
  Hardware name: IBM pSeries (emulated by qemu) POWER9 (raw) 0x4e1202 0xf000005 of:SLOF,HEAD hv:linux,kvm pSeries
  Call Trace:
    dump\_stack\_lvl+0x130/0x148 (unreliable)
    \_\_might\_resched+0x174/0x410
    kmem\_cache\_alloc\_noprof+0x340/0x3d0
    alloc\_dtl\_buffers+0x124/0x1ac
    vcpudispatch\_stats\_write+0x2a8/0x5f4
    proc\_reg\_write+0xf4/0x150
    vfs\_write+0xfc/0x438
    ksys\_write+0x88/0x148
    system\_call\_exception+0x1c4/0x5a0
    system\_call\_common+0xf4/0x258

## Affected and fixed versions

- Linux: \>= 06220d78f24a20549757be1014e57c382406cc92, \< 6956c0e7346ce1bbfc726755aa8da10d26e84276; \>= 06220d78f24a20549757be1014e57c382406cc92, \< f6ec133668757f84e5143f1eb141fd0b83778b9e; \>= 06220d78f24a20549757be1014e57c382406cc92, \< fa5b5ea257135e771b489c83a2e93b5935d0108e; \>= 06220d78f24a20549757be1014e57c382406cc92, \< a246daa26b717e755ccc9061f47f7cd1c0b358dd; \>= 06220d78f24a20549757be1014e57c382406cc92, \< b125d0cf1adde7b2b47d7337fed7e9133eea3463; \>= 06220d78f24a20549757be1014e57c382406cc92, \< 525e18f1ba7c2b098c8ba587fb397efb34a6574c; \>= 06220d78f24a20549757be1014e57c382406cc92, \< cadae3a45d23aa4f6485938a67cbc47aaaa25e38 (cvelist)
- Linux: 5.3 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-56701.md
Affected: Linux >= 06220d78f24a20549757be1014e57c382406cc92, < 6956c0e7346ce1bbfc726755aa8da10d26e84276; >= 06220d78f24a20549757be1014e57c382406cc92, < f6ec133668757f84e5143f1eb141fd0b83778b9e; >= 06220d78f24a20549757be1014e57c382406cc92, < fa5b5ea257135e771b489c83a2e93b5935d0108e; >= 06220d78f24a20549757be1…
Fixed in: Linux 6956c0e7346ce1bbfc726755aa8da10d26e84276, Linux 525e18f1ba7c2b098c8ba587fb397efb34a6574c

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-56701 being exploited?

There is no confirmed exploitation: CVE-2024-56701 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-26).

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

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

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

Linux \>= 06220d78f24a20549757be1014e57c382406cc92, \< 6956c0e7346ce1bbfc726755aa8da10d26e84276; \>= 06220d78f24a20549757be1014e57c382406cc92, \< f6ec133668757f84e5143f1eb141fd0b83778b9e; \>= 06220d78f24a20549757be1014e57c382406cc92, \< fa5b5ea257135e771b489c83a2e93b5935d0108e; \>= 06220d78f24a20549757be1014e57c382406cc92, \< a246daa26b717e755ccc9061f47f7cd1c0b358dd; \>= 06220d78f24a20549757be1014e57c382406cc92, \< b125d0cf1adde7b2b47d7337fed7e9133eea3463; \>= 06220d78f24a20549757be1014e57c382406cc92, \< 525e18f1ba7c2b098c8ba587fb397efb34a6574c; \>= 06220d78f24a20549757be1014e57c382406cc92, \< cadae3a45d23aa4f6485938a67cbc47aaaa25e38; Linux 5.3.

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

Yes. Fixed in Linux 6956c0e7346ce1bbfc726755aa8da10d26e84276, Linux 525e18f1ba7c2b098c8ba587fb397efb34a6574c. No fix listed yet: follow the vendor advisory.

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

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/6956c0e7346ce1bbfc726755aa8da10d26e84276>
- patch: <https://git.kernel.org/stable/c/f6ec133668757f84e5143f1eb141fd0b83778b9e>
- patch: <https://git.kernel.org/stable/c/fa5b5ea257135e771b489c83a2e93b5935d0108e>
- patch: <https://git.kernel.org/stable/c/a246daa26b717e755ccc9061f47f7cd1c0b358dd>
- patch: <https://git.kernel.org/stable/c/b125d0cf1adde7b2b47d7337fed7e9133eea3463>
- patch: <https://git.kernel.org/stable/c/525e18f1ba7c2b098c8ba587fb397efb34a6574c>
- patch: <https://git.kernel.org/stable/c/cadae3a45d23aa4f6485938a67cbc47aaaa25e38>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/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-56701>

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