Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-47124

published high CVSS 3.1 · 7.8

io_uring: fix link timeout refs

Published
15 Mar 2024, 20:14:29 UTC
Updated
05 Aug 2026, 08:46:08 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux1c20e9040f49687ba2ccc2ffd4411351a6c2ebff to < 0b2a990e5d2f76d020cb840c456e6ec5f0c27530 · 1c20e9040f49687ba2ccc2ffd4411351a6c2ebff to < 6f5d7a45f58d3abe3a936de1441b8d6318f978ff · 9ae1f8dd372e0e4c020b345cf9e09f519265e981 to < 876808dba2ff7509bdd7f230c4f374a0caf4f410 · 9ae1f8dd372e0e4c020b345cf9e09f519265e981 to < ff4a96ba5c8f9b266706280ff8021d2ef3f17e86 · 9ae1f8dd372e0e4c020b345cf9e09f519265e981 to < a298232ee6b9a1d5d732aa497ff8be0d45b5bd82 · 567c81912cec641db75ac6cb64c63f8367c97d19 · 5.10.26 to < 5.10.43 · 5.10.26 to < 5.10.55 · 5.11.6 to < 5.12 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.12 (affected) · 0 to < 5.12 (unaffected · semver) · 5.10.43 through 5.10.* (unaffected · semver) · 5.10.55 through 5.10.* (unaffected · semver) · 5.12.10 through 5.12.* (unaffected · semver) · 5.12.19 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 AL2 Release evaluationALAS2KERNEL-5.10-2022-002 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2 kernelaarch64 Listed in advisory Not stated ALAS2KERNEL-5.10-2022-002
Amazon Linux AL2 kerneli686 Listed in advisory Not stated ALAS2KERNEL-5.10-2022-002
Amazon Linux AL2 kernelsrc Listed in advisory Not stated ALAS2KERNEL-5.10-2022-002
Show 1 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2 kernelx86_64 Listed in advisory Not stated ALAS2KERNEL-5.10-2022-002

Description

In the Linux kernel, the following vulnerability has been resolved: io_uring: fix link timeout refs WARNING: CPU: 0 PID: 10242 at lib/refcount.c:28 refcount_warn_saturate+0x15b/0x1a0 lib/refcount.c:28 RIP: 0010:refcount_warn_saturate+0x15b/0x1a0 lib/refcount.c:28 Call Trace: __refcount_sub_and_test include/linux/refcount.h:283 [inline] __refcount_dec_and_test include/linux/refcount.h:315 [inline] refcount_dec_and_test include/linux/refcount.h:333 [inline] io_put_req fs/io_uring.c:2140 [inline] io_queue_linked_timeout fs/io_uring.c:6300 [inline] __io_queue_sqe+0xbef/0xec0 fs/io_uring.c:6354 io_submit_sqe fs/io_uring.c:6534 [inline] io_submit_sqes+0x2bbd/0x7c50 fs/io_uring.c:6660 __do_sys_io_uring_enter fs/io_uring.c:9240 [inline] __se_sys_io_uring_enter+0x256/0x1d60 fs/io_uring.c:9182 io_link_timeout_fn() should put only one reference of the linked timeout request, however in case of racing with the master request's completion first io_req_complete() puts one and then io_put_req_deferred() is called.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

1

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 in io_uring's linked-timeout hrtimer path (io_link_timeout_fn), reached only via local io_uring_setup/io_uring_enter syscalls after submitting IORING_OP_LINK_TIMEOUT, not via network packet processing. AC:L - The race is between master-request completion and the linked-timeout hrtimer; the attacker controls both sides by choosing the linked operation and timeout duration and can retry until the double-put hits. PR:L - Any unprivileged local user can create an io_uring and submit linked timeouts; io_uring_setup has no CAP_SYS_ADMIN gate for this path (CAP_IPC_LOCK is only for locked-memory accounting). UI:N - Exploitation requires only the attacker's own io_uring submissions; no victim action such as mounting a filesystem or opening a crafted file is needed. S:U - A successful exploit yields corruption or control within the local kernel authority (typical local privilege escalation), not a cross-boundary escape such as guest-to-host or IOMMU bypass. C:H - The bug double-puts the linked-timeout io_kiocb (atomic_t refs, no saturation), freeing it then touching it again—a use-after-free that can be reused for arbitrary kernel memory disclosure. I:H - Use-after-free of a slab-allocated io_kiocb enables heap reuse and write primitives suitable for control-flow hijacking or arbitrary kernel memory modification, as with related io_uring linked-timeout UAFs. A:H - The double-put underflows request refs and can free or corrupt the object while still in use, reliably causing kernel warnings, oopses, or crashes (and worse under exploitation).

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 1c20e9040f49687ba2ccc2ffd4411351a6c2ebff to < 0b2a990e5d2f76d020cb840c456e6ec5f0c27530 (affected · git)1c20e9040f49687ba2ccc2ffd4411351a6c2ebff to < 6f5d7a45f58d3abe3a936de1441b8d6318f978ff (affected · git)9ae1f8dd372e0e4c020b345cf9e09f519265e981 to < 876808dba2ff7509bdd7f230c4f374a0caf4f410 (affected · git)9ae1f8dd372e0e4c020b345cf9e09f519265e981 to < ff4a96ba5c8f9b266706280ff8021d2ef3f17e86 (affected · git)9ae1f8dd372e0e4c020b345cf9e09f519265e981 to < a298232ee6b9a1d5d732aa497ff8be0d45b5bd82 (affected · git)567c81912cec641db75ac6cb64c63f8367c97d19 (affected · git)5.10.26 to < 5.10.43 (affected · semver)5.10.26 to < 5.10.55 (affected · semver)5.11.6 to < 5.12 (affected · semver)Default: unaffected Linux · cna
Linux Linux 5.12 (affected)0 to < 5.12 (unaffected · semver)5.10.43 through 5.10.* (unaffected · semver)5.10.55 through 5.10.* (unaffected · semver)5.12.10 through 5.12.* (unaffected · semver)5.12.19 through 5.12.* (unaffected · semver)5.13 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

5

Provider assertions

3

Linux · cna

io_uring: fix link timeout refs

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
c2a597bf4ccc13c83bdd60c9086b65b40aa6bfccc50f25ab9d40c1553859267a
Ingested
23 Sep 2026, 07:57:04 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected