CVE-2024-56584
MediumIn 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.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-770CVE-2024-56584 is classified as CWE-770
See CWE-770 on MITRE CWE for full details on this weakness type.
Affected versions
Linux kernel versions
5.1
and later are affected. Fixed in
5.10.253,
5.15.203,
6.1.120,
6.6.66,
6.12.5,
6.13
and their respective stable series.
References
The following references provide additional information about CVE-2024-56584 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
-
PatchKernel patch commithttps://git.kernel.org/stable/c/3a84fa784710990964c1e35df743851ab2863898
-
PatchKernel patch commithttps://git.kernel.org/stable/c/42882b583095dcf747da6e3af1daeff40e27033e
-
PatchKernel patch commithttps://git.kernel.org/stable/c/7eb75ce7527129d7f1fee6951566af409a37a1c4
Frequently asked questions
-
What is CVE-2024-56584?
CVE-2024-56584 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 5.1 onward and has been patched in 5.10.253, 5.15.203, 6.1.120 and others. CVE-2024-56584 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-56584?
CVE-2024-56584 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2024-56584?
Yes — CVE-2024-56584 has been patched. Fixed versions include 5.10.253, 5.15.203, 6.1.120 and others. If you are running Linux kernel 5.1 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2024-56584 actively exploited?
No — CVE-2024-56584 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.