CVE-2024-56709
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-libbpf-devel | Amazon Linux | 6.1.124-134.200.amzn2023 |
| kernel-modules-extra-common | Amazon Linux | 6.1.124-134.200.amzn2023 |
| kernel-tools-devel | Amazon Linux | 6.1.124-134.200.amzn2023 |
| kernel-tools | Amazon Linux | 6.1.124-134.200.amzn2023 |
| linux_kernel | linux | 6.12.7, 6.6.68, 6.1.122 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 773af69121ecc6c53d192661af8d53bb3db028ae, 773af69121ecc6c53d192661af8d53bb3db028ae, 773af69121ecc6c53d192661af8d53bb3db028ae |
| Linux | Linux | 5.14, 0, 6.1.122 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-tools | 0 |
| linux | linux_kernel | 5.14, 5.14, 5.14 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-livepatch-6.1.124-134.200 | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | bpftool | 0 |
| Linux | Linux | 0, 773af69121ecc6c53d192661af8d53bb3db028ae, 773af69121ecc6c53d192661af8d53bb3db028ae |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
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