CVE-2024-56584

io_uring/tctx: work around xa_store() allocation error issue

No CVSS score yet EPSS 0.24%

Published 27 Dec 2024 Updated 5 Nov 2026 CNA: Linux

Check your servers for CVE-2024-56584

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-56584 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 15.9% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 5 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 2b188cc1bb857a9d4701ae59aa7768b5124e262e, before e05c070b401f6365c503e2b59f091331965c4fb9
affected from 2b188cc1bb857a9d4701ae59aa7768b5124e262e, before 3a84fa784710990964c1e35df743851ab2863898
affected from 2b188cc1bb857a9d4701ae59aa7768b5124e262e, before 94ad56f61b873ffeebcc620d451eacfbdf9d40f0
affected from 2b188cc1bb857a9d4701ae59aa7768b5124e262e, before 42882b583095dcf747da6e3af1daeff40e27033e
affected from 2b188cc1bb857a9d4701ae59aa7768b5124e262e, before d5b2ddf1f90c7248eff9630b95895c8950f2f36d
affected from 2b188cc1bb857a9d4701ae59aa7768b5124e262e, before 7eb75ce7527129d7f1fee6951566af409a37a1c4
Other versions: unaffected
Linux
affected 5.1
unaffected before 5.1
unaffected from 5.10.253 up to and including 5.10.*
unaffected from 5.15.203 up to and including 5.15.*
unaffected from 6.1.120 up to and including 6.1.*
unaffected from 6.6.66 up to and including 6.6.*
unaffected from 6.12.5 up to and including 6.12.*
unaffected 6.13 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-56584 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-56584

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-56584
trivy image --scanners vuln IMAGE | grep CVE-2024-56584

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2024-56584 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.