CVE-2021-47577
published high CVSS 3.1 · 7.8io-wq: check for wq exit after adding new worker task_work
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux685fe7feedb96771683437107ba72131410e2350 to < 4b4e5bbf9386d4ec21d91c0cb0fd60b9bba778ec · 685fe7feedb96771683437107ba72131410e2350 to < 71a85387546e50b1a37b0fa45dadcae3bfb35cf6 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.13 (affected) · 0 to < 5.13 (unaffected · semver) · 5.15.11 through 5.15.* (unaffected · semver) · 5.16 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected; No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaults390x | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-rtx86_64 | Advisory build | 5.14.21-150500.13.61.1 | SUSE-SU-2024:2394-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaults390x | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-rtx86_64 | Advisory build | 5.14.21-150500.13.61.1 | SUSE-SU-2024:2394-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaults390x | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-rtx86_64 | Advisory build | 5.14.21-150500.13.61.1 | SUSE-SU-2024:2394-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-64kbaarch64 | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-64kb-develaarch64 | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-azureaarch64 | Advisory build | 5.14.21-150500.33.60.1 | SUSE-SU-2024:2372-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-azurex86_64 | Advisory build | 5.14.21-150500.33.60.1 | SUSE-SU-2024:2372-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-azure-develaarch64 | Advisory build | 5.14.21-150500.33.60.1 | SUSE-SU-2024:2372-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-azure-develx86_64 | Advisory build | 5.14.21-150500.33.60.1 | SUSE-SU-2024:2372-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultaarch64 | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultppc64le | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaults390x | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultx86_64 | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-baseaarch64 | Advisory build | 5.14.21-150500.55.73.1.150500.6.33.8 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-baseppc64le | Advisory build | 5.14.21-150500.55.73.1.150500.6.33.8 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-basex86_64 | Advisory build | 5.14.21-150500.55.73.1.150500.6.33.8 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develaarch64 | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develppc64le | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-devels390x | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develx86_64 | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-extrax86_64 | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchppc64le | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchs390x | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchx86_64 | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-develppc64le | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-devels390x | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-develx86_64 | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-develnoarch | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-devel-azurenoarch | Advisory build | 5.14.21-150500.33.60.1 | SUSE-SU-2024:2372-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-devel-rtnoarch | Advisory build | 5.14.21-150500.13.61.1 | SUSE-SU-2024:2394-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-docsnoarch | Advisory build | 5.14.21-150500.55.73.2 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-livepatch-5_14_21-150500_13_61-rtx86_64 | Advisory build | 1-150500.11.3.1 | SUSE-SU-2024:2394-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-livepatch-5_14_21-150500_55_73-defaultppc64le | Advisory build | 1-150500.11.3.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-livepatch-5_14_21-150500_55_73-defaults390x | Advisory build | 1-150500.11.3.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-livepatch-5_14_21-150500_55_73-defaultx86_64 | Advisory build | 1-150500.11.3.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-macrosnoarch | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-obs-buildaarch64 | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-obs-buildppc64le | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-obs-builds390x | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-obs-buildx86_64 | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-rtx86_64 | Advisory build | 5.14.21-150500.13.61.1 | SUSE-SU-2024:2394-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-rt-develx86_64 | Advisory build | 5.14.21-150500.13.61.1 | SUSE-SU-2024:2394-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-rt-vdsox86_64 | Advisory build | 5.14.21-150500.13.61.1 | SUSE-SU-2024:2394-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-rt_debugx86_64 | Advisory build | 5.14.21-150500.13.61.1 | SUSE-SU-2024:2394-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-rt_debug-develx86_64 | Advisory build | 5.14.21-150500.13.61.1 | SUSE-SU-2024:2394-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-rt_debug-vdsox86_64 | Advisory build | 5.14.21-150500.13.61.1 | SUSE-SU-2024:2394-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-sourcenoarch | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-source-azurenoarch | Advisory build | 5.14.21-150500.33.60.1 | SUSE-SU-2024:2372-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-source-rtnoarch | Advisory build | 5.14.21-150500.13.61.1 | SUSE-SU-2024:2394-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-symsaarch64 | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-symsppc64le | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-symss390x | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-symsx86_64 | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-syms-azureaarch64 | Advisory build | 5.14.21-150500.33.60.1 | SUSE-SU-2024:2372-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-syms-azurex86_64 | Advisory build | 5.14.21-150500.33.60.1 | SUSE-SU-2024:2372-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-syms-rtx86_64 | Advisory build | 5.14.21-150500.13.61.1 | SUSE-SU-2024:2394-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-zfcpdumps390x | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | ocfs2-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | ocfs2-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | ocfs2-kmp-defaults390x | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | ocfs2-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | ocfs2-kmp-rtx86_64 | Advisory build | 5.14.21-150500.13.61.1 | SUSE-SU-2024:2394-1 |
| SUSE / openSUSE | SLE-15-SP5 | reiserfs-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | reiserfs-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | reiserfs-kmp-defaults390x | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-15-SP5 | reiserfs-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-5 | kernel-defaultaarch64 | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-5 | kernel-defaultppc64le | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-5 | kernel-defaults390x | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-5 | kernel-defaultx86_64 | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-5 | kernel-default-baseaarch64 | Advisory build | 5.14.21-150500.55.73.1.150500.6.33.8 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-5 | kernel-default-basex86_64 | Advisory build | 5.14.21-150500.55.73.1.150500.6.33.8 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | SLE-5 | kernel-rtx86_64 | Advisory build | 5.14.21-150500.13.61.1 | SUSE-SU-2024:2394-1 |
| SUSE / openSUSE | SLE-5 | kernel-source-rtnoarch | Advisory build | 5.14.21-150500.13.61.1 | SUSE-SU-2024:2394-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cluster-md-kmp-64kbaarch64 | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cluster-md-kmp-azureaarch64 | Advisory build | 5.14.21-150500.33.60.1 | SUSE-SU-2024:2372-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cluster-md-kmp-azurex86_64 | Advisory build | 5.14.21-150500.33.60.1 | SUSE-SU-2024:2372-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cluster-md-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cluster-md-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cluster-md-kmp-defaults390x | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cluster-md-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cluster-md-kmp-rtx86_64 | Advisory build | 5.14.21-150500.13.61.1 | SUSE-SU-2024:2394-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | dlm-kmp-64kbaarch64 | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | dlm-kmp-azureaarch64 | Advisory build | 5.14.21-150500.33.60.1 | SUSE-SU-2024:2372-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | dlm-kmp-azurex86_64 | Advisory build | 5.14.21-150500.33.60.1 | SUSE-SU-2024:2372-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | dlm-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | dlm-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | dlm-kmp-defaults390x | Advisory build | 5.14.21-150500.55.73.1 | SUSE-SU-2024:2939-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: io-wq: check for wq exit after adding new worker task_work We check IO_WQ_BIT_EXIT before attempting to create a new worker, and wq exit cancels pending work if we have any. But it's possible to have a race between the two, where creation checks exit finding it not set, but we're in the process of exiting. The exit side will cancel pending creation task_work, but there's a gap where we add task_work after we've canceled existing creations at exit time. Fix this by checking the EXIT bit post adding the creation task_work. If it's set, run the same cancelation that exit does.
Related advisories
Vendor advisories explicitly linked to 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 in io-wq worker creation used by io_uring and is reached only through local syscalls (io_uring_setup/io_uring_enter), not via network packet processing. AC:L - Although this is a race between worker creation and wq exit, the attacker controls both sides by submitting async io_uring work while concurrently exiting/closing the ring, and syzbot produced a C repro that triggers the UAF. PR:L - Basic io_uring_setup requires no capabilities; unprivileged local users can create rings and drive io-wq (io_uring_disabled was added years later and defaults to allowing all users). UI:N - Exploitation is entirely via the attacker's own io_uring syscalls and process lifecycle; no victim action is required. S:U - Impact stays within the host kernel authority (local memory corruption / privilege escalation / DoS), with no VM escape or other cross-boundary scope change. C:H - Syzbot confirmed a use-after-free write on a freed kmalloc-512 io_worker; UAF enables heap reuse and arbitrary kernel memory read primitives. I:H - The UAF write through freed worker create_state/task_work state can be turned into an arbitrary write and control-flow hijack via heap spraying of the reused object. A:H - The UAF causes kernel oops/panic under KASAN and can crash or hang the system even when not fully exploited for code execution.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 685fe7feedb96771683437107ba72131410e2350 to < 4b4e5bbf9386d4ec21d91c0cb0fd60b9bba778ec (affected · git)685fe7feedb96771683437107ba72131410e2350 to < 71a85387546e50b1a37b0fa45dadcae3bfb35cf6 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.13 (affected)0 to < 5.13 (unaffected · semver)5.15.11 through 5.15.* (unaffected · semver)5.16 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
3Linux · cna
io-wq: check for wq exit after adding new worker task_work
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4986ed3ccd2a498bee6cccaec2dac5bea6b763866c5fddf9f463859925dda61e
- Ingested
- 23 Sep 2026, 07:57:11 UTC
- Source record
- Official CVE record