CVE-2024-56584
io_uring/tctx: work around xa_store() allocation error issue
Mitigation
- Upgrade Linux to 7eb75ce7527129d7f1fee6951566af409a37a1c4 or later.
Who should check
- Anyone running Linux >= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, < e05c070b401f6365c503e2b59f091331965c4fb9; >= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, < 3a84fa784710990964c1e35df743851ab2863898; >= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, < 94ad56f61b873ffeebcc620d451eacfbdf9d40f0; >= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, < 42882b583095dcf747da6e3af1daeff40e27033e; >= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, < d5b2ddf1f90c7248eff9630b95895c8950f2f36d; >= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, < 7eb75ce7527129d7f1fee6951566af409a37a1c4
- Anyone running Linux 5.1
Vulnerability facts
- Affected
- Linux >= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, < e05c070b401f6365c503e2b59f091331965c4fb9; >= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, < 3a84fa784710990964c1e35df743851ab2863898; >= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, < 94ad56f61b873ffeebcc620d451eacfbdf9d40f0; >= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, < 42882b583095dcf747da6e3af1daeff40e27033e; >= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, < d5b2ddf1f90c7248eff9630b95895c8950f2f36d; >= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, < 7eb75ce7527129d7f1fee6951566af409a37a1c4; Linux 5.1
- Fixed in
- Linux 3a84fa784710990964c1e35df743851ab2863898, Linux 94ad56f61b873ffeebcc620d451eacfbdf9d40f0, Linux 42882b583095dcf747da6e3af1daeff40e27033e, Linux 7eb75ce7527129d7f1fee6951566af409a37a1c4
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.30% chance of exploitation in 30 days (percentile 15, 2026-11-26)
- CWE
- CWE-770
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: io_uring/tctx: work around xa_store() allocation error issue syzbot triggered the following WARN_ON: WARNING: CPU: 0 PID: 16 at io_uring/tctx.c:51 __io_uring_free+0xfa/0x140 io_uring/tctx.c:51 which is the WARN_ON_ONCE(!xa_empty(&tctx->xa)); sanity check in __io_uring_free() when a io_uring_task is going through its final put. The syzbot test case includes injecting memory allocation failures, and it very much looks like xa_store() can fail one of its memory allocations and end up with ->head being non-NULL even though no entries exist in the xarray. Until this issue gets sorted out, work around it by attempting to iterate entries in our xarray, and WARN_ON_ONCE() if one is found.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, < e05c070b401f6365c503e2b59f091331965c4fb9; >= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, < 3a84fa784710990964c1e35df743851ab2863898; >= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, < 94ad56f61b873ffeebcc620d451eacfbdf9d40f0; >= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, < 42882b583095dcf747da6e3af1daeff40e27033e; >= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, < d5b2ddf1f90c7248eff9630b95895c8950f2f36d; >= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, < 7eb75ce7527129d7f1fee6951566af409a37a1c4 | — | cvelist |
| Linux | 5.1 | — | 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-56584. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-56584.md Affected: Linux >= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, < e05c070b401f6365c503e2b59f091331965c4fb9; >= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, < 3a84fa784710990964c1e35df743851ab2863898; >= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, < 94ad56f61b873ffeebcc620d451eacfbdf9d40f0; >= 2b188cc1bb857a9d4701ae5… Fixed in: Linux 3a84fa784710990964c1e35df743851ab2863898, Linux 94ad56f61b873ffeebcc620d451eacfbdf9d40f0, Linux 42882b583095dcf747da6e3af1daeff40e27033e, Linux 7eb75ce7527129d7f1fee6951566af409a37a1c4 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
Patches
FAQ
Is CVE-2024-56584 being exploited?
There is no confirmed exploitation: CVE-2024-56584 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-56584?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-56584?
Linux >= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, < e05c070b401f6365c503e2b59f091331965c4fb9; >= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, < 3a84fa784710990964c1e35df743851ab2863898; >= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, < 94ad56f61b873ffeebcc620d451eacfbdf9d40f0; >= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, < 42882b583095dcf747da6e3af1daeff40e27033e; >= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, < d5b2ddf1f90c7248eff9630b95895c8950f2f36d; >= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, < 7eb75ce7527129d7f1fee6951566af409a37a1c4; Linux 5.1.
Is there a fix for CVE-2024-56584?
Yes. Fixed in Linux 3a84fa784710990964c1e35df743851ab2863898, Linux 94ad56f61b873ffeebcc620d451eacfbdf9d40f0, Linux 42882b583095dcf747da6e3af1daeff40e27033e, Linux 7eb75ce7527129d7f1fee6951566af409a37a1c4. Upgrade Linux to 7eb75ce7527129d7f1fee6951566af409a37a1c4 or later.
How do I check if I'm affected by CVE-2024-56584?
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.