CVE-2021-47123
published high CVSS 3.1 · 7.8io_uring: fix ltout double free on completion race
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux90cd7e424969d29aff653333b4dcb4e2e199d791 to < 1f64f5e903b9d1d157875721e02adadc9d6f0a5d · 90cd7e424969d29aff653333b4dcb4e2e199d791 to < 447c19f3b5074409c794b350b10306e1da1ef4ba · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.11 (affected) · 0 to < 5.11 (unaffected · semver) · 5.12.10 through 5.12.* (unaffected · semver) · 5.13 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: io_uring: fix ltout double free on completion race Always remove linked timeout on io_link_timeout_fn() from the master request link list, otherwise we may get use-after-free when first io_link_timeout_fn() puts linked timeout in the fail path, and then will be found and put on master's free.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The bug is reached only through the local io_uring syscall interface (io_uring_setup/io_uring_enter) by submitting linked SQEs with IORING_OP_LINK_TIMEOUT; it is not reachable from network packet paths. AC:L - The race is between linked-timeout hrtimer expiry and master-request completion, both of which the attacker fully controls (timeout duration plus completing the linked op via a pipe/eventfd/etc.), so the race can be driven and retried reliably. PR:L - io_uring_setup and IORING_OP_LINK_TIMEOUT require only an unprivileged local account; in the affected 5.11–5.12 window there was no io_uring_disabled gate and no capability check beyond optional CAP_IPC_LOCK accounting. UI:N - The attacker triggers the race entirely with their own syscalls and does not need any other user to act. S:U - Impact is memory corruption inside the host kernel (double-free of an io_kiocb), which is a same-authority privilege-escalation scenario, not a VM/IOMMU/sandbox boundary cross. C:H - The bug is a double-free/use-after-free of a slab-allocated io_kiocb; a UAF on that object can be turned into an arbitrary kernel read via heap reuse. I:H - Double-free of the linked-timeout request enables heap spraying and write primitives against the freed io_kiocb, supporting control-flow hijacking or arbitrary kernel writes. A:H - The same double-free/UAF path reliably produces kernel oopses/panics even without a full exploit, so availability impact is high.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 90cd7e424969d29aff653333b4dcb4e2e199d791 to < 1f64f5e903b9d1d157875721e02adadc9d6f0a5d (affected · git)90cd7e424969d29aff653333b4dcb4e2e199d791 to < 447c19f3b5074409c794b350b10306e1da1ef4ba (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.11 (affected)0 to < 5.11 (unaffected · semver)5.12.10 through 5.12.* (unaffected · semver)5.13 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
3Linux · cna
io_uring: fix ltout double free on completion race
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ad40c6903d9091c9c6e6cf719e3e5214c82007820c0f660ed3cf8bcc9d3b5c20
- Ingested
- 23 Sep 2026, 07:57:04 UTC
- Source record
- Official CVE record