Files
vuln-cve/data/2021/47xxx/CVE-2021-47123.json
T

194 lines
9.2 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2021-47123",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2024-03-04T18:12:48.839Z",
"datePublished": "2024-03-15T20:14:28.888Z",
"dateUpdated": "2026-08-05T08:46:07.846Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-08-05T08:46:07.846Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring: fix ltout double free on completion race\n\nAlways remove linked timeout on io_link_timeout_fn() from the master\nrequest link list, otherwise we may get use-after-free when first\nio_link_timeout_fn() puts linked timeout in the fail path, and then\nwill be found and put on master's free."
}
],
"metrics": [
{
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"baseScore": 7.8,
"baseSeverity": "HIGH"
},
"scenarios": [
{
"lang": "en",
"value": "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.\nAC: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.\nPR: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.\nUI:N - The attacker triggers the race entirely with their own syscalls and does not need any other user to act.\nS: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.\nC: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.\nI: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.\nA:H - The same double-free/UAF path reliably produces kernel oopses/panics even without a full exploit, so availability impact is high."
}
]
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"fs/io_uring.c"
],
"versions": [
{
"version": "90cd7e424969d29aff653333b4dcb4e2e199d791",
"lessThan": "1f64f5e903b9d1d157875721e02adadc9d6f0a5d",
"status": "affected",
"versionType": "git"
},
{
"version": "90cd7e424969d29aff653333b4dcb4e2e199d791",
"lessThan": "447c19f3b5074409c794b350b10306e1da1ef4ba",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"fs/io_uring.c"
],
"versions": [
{
"version": "5.11",
"status": "affected"
},
{
"version": "0",
"lessThan": "5.11",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.12.10",
"lessThanOrEqual": "5.12.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.13",
"lessThanOrEqual": "*",
"status": "unaffected",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.11",
"versionEndExcluding": "5.12.10"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.11",
"versionEndExcluding": "5.13"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/1f64f5e903b9d1d157875721e02adadc9d6f0a5d"
},
{
"url": "https://git.kernel.org/stable/c/447c19f3b5074409c794b350b10306e1da1ef4ba"
}
],
"title": "io_uring: fix ltout double free on completion race",
"x_generator": {
"engine": "bippy-1.2.0"
}
},
"adp": [
{
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-04T05:24:39.841Z"
},
"title": "CVE Program Container",
"references": [
{
"url": "https://git.kernel.org/stable/c/1f64f5e903b9d1d157875721e02adadc9d6f0a5d",
"tags": [
"x_transferred"
]
},
{
"url": "https://git.kernel.org/stable/c/447c19f3b5074409c794b350b10306e1da1ef4ba",
"tags": [
"x_transferred"
]
}
]
},
{
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2021-47123",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2024-09-10T15:55:29.439890Z"
}
}
}
],
"title": "CISA ADP Vulnrichment",
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2024-09-11T17:33:24.138Z"
}
}
]
}
}