VDB

CVE-2024-56709

CVE-2024-56709 PUBLISHED CVSS 7.8 HIGH

io_uring: check if iowq is killed before queuing

Reported by linux · Published December 29, 2024

In the Linux kernel, the following vulnerability has been resolved: io_uring: check if iowq is killed before queuing task work can be executed after the task has gone through io_uring termination, whether it's the final task_work run or the fallback path. In this case, task work will find ->io_wq being already killed and null'ed, which is a problem if it then tries to forward the request to io_queue_iowq(). Make io_queue_iowq() fail requests in this case. Note that it also checks PF_KTHREAD, because the user can first close a DEFER_TASKRUN ring and shortly after kill the task, in which case ->iowq check would race.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-libbpf-develAmazon Linux6.1.124-134.200.amzn2023
kernel-modules-extra-commonAmazon Linux6.1.124-134.200.amzn2023
kernel-tools-develAmazon Linux6.1.124-134.200.amzn2023
kernel-toolsAmazon Linux6.1.124-134.200.amzn2023
linux_kernellinux6.12.7, 6.6.68, 6.1.122

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux773af69121ecc6c53d192661af8d53bb3db028ae, 773af69121ecc6c53d192661af8d53bb3db028ae, 773af69121ecc6c53d192661af8d53bb3db028ae
LinuxLinux5.14, 0, 6.1.122
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-tools-devel0
amazon:2023kernel-tools0
linuxlinux_kernel5.14, 5.14, 5.14
amazon:2023kernel-headers0
amazon:2023kernel-livepatch-6.1.124-134.2000
amazon:2023kernel-libbpf0
amazon:2023perf0
amazon:2023kernel0
amazon:2023python3-perf0
amazon:2023kernel-devel0
amazon:2023bpftool0
LinuxLinux0, 773af69121ecc6c53d192661af8d53bb3db028ae, 773af69121ecc6c53d192661af8d53bb3db028ae
amazon:2023kernel-modules-extra0
amazon:2023kernel-libbpf-static0

Timeline

  • Dec 29, 2024 CVE Published
  • Dec 30, 2024 EPSS Score (30 in total, the first dated here)
  • Feb 16, 2025 Coalition ESS Score (13 in total, the first dated here)
  • Dec 16, 2025 PoC Published
  • Dec 29, 2025 Security Advisory (495 in total, the first dated here)
  • Aug 12, 2026 Distribution Patch (340 in total, the first dated here)
  • Oct 15, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-56709
vulnetix vdb fixes CVE-2024-56709

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-56709/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›