CVE-2021-47292
io_uring: fix memleak in io_init_wq_offload()
Mitigation
- Upgrade Linux to 362a9e65289284f36403058eea2462d0330c1f24 or later.
Who should check
- Anyone running Linux >= e941894eae31b52f0fd9bdb3ce20620afa152f45, < 502731a03f27cba1513fbbff77e508185ffce5bb; >= e941894eae31b52f0fd9bdb3ce20620afa152f45, < 362a9e65289284f36403058eea2462d0330c1f24
- Anyone running Linux 5.12
Vulnerability facts
- Affected
- Linux >= e941894eae31b52f0fd9bdb3ce20620afa152f45, < 502731a03f27cba1513fbbff77e508185ffce5bb; >= e941894eae31b52f0fd9bdb3ce20620afa152f45, < 362a9e65289284f36403058eea2462d0330c1f24; Linux 5.12
- Fixed in
- Linux 502731a03f27cba1513fbbff77e508185ffce5bb, Linux 362a9e65289284f36403058eea2462d0330c1f24
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.27% chance of exploitation in 30 days (percentile 12, 2026-11-26)
- CWE
- CWE-401
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: io_uring: fix memleak in io_init_wq_offload() I got memory leak report when doing fuzz test: BUG: memory leak unreferenced object 0xffff888107310a80 (size 96): comm "syz-executor.6", pid 4610, jiffies 4295140240 (age 20.135s) hex dump (first 32 bytes): 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 ad 4e ad de ff ff ff ff 00 00 00 00 .....N.......... backtrace: [<000000001974933b>] kmalloc include/linux/slab.h:591 [inline] [<000000001974933b>] kzalloc include/linux/slab.h:721 [inline] [<000000001974933b>] io_init_wq_offload fs/io_uring.c:7920 [inline] [<000000001974933b>] io_uring_alloc_task_context+0x466/0x640 fs/io_uring.c:7955 [<0000000039d0800d>] __io_uring_add_tctx_node+0x256/0x360 fs/io_uring.c:9016 [<000000008482e78c>] io_uring_add_tctx_node fs/io_uring.c:9052 [inline] [<000000008482e78c>] __do_sys_io_uring_enter fs/io_uring.c:9354 [inline] [<000000008482e78c>] __se_sys_io_uring_enter fs/io_uring.c:9301 [inline] [<000000008482e78c>] __x64_sys_io_uring_enter+0xabc/0xc20 fs/io_uring.c:9301 [<00000000b875f18f>] do_syscall_x64 arch/x86/entry/common.c:50 [inline] [<00000000b875f18f>] do_syscall_64+0x3b/0x90 arch/x86/entry/common.c:80 [<000000006b0a8484>] entry_SYSCALL_64_after_hwframe+0x44/0xae CPU0 CPU1 io_uring_enter io_uring_enter io_uring_add_tctx_node io_uring_add_tctx_node __io_uring_add_tctx_node __io_uring_add_tctx_node io_uring_alloc_task_context io_uring_alloc_task_context io_init_wq_offload io_init_wq_offload hash = kzalloc hash = kzalloc ctx->hash_map = hash ctx->hash_map = hash <- one of the hash is leaked When calling io_uring_enter() in parallel, the 'hash_map' will be leaked, add uring_lock to protect 'hash_map'.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2021-47292. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2021-47292.md Affected: Linux >= e941894eae31b52f0fd9bdb3ce20620afa152f45, < 502731a03f27cba1513fbbff77e508185ffce5bb; >= e941894eae31b52f0fd9bdb3ce20620afa152f45, < 362a9e65289284f36403058eea2462d0330c1f24; Linux 5.12 Fixed in: Linux 502731a03f27cba1513fbbff77e508185ffce5bb, Linux 362a9e65289284f36403058eea2462d0330c1f24 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2021-47292 being exploited?
There is no confirmed exploitation: CVE-2021-47292 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2021-47292?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2021-47292?
Linux >= e941894eae31b52f0fd9bdb3ce20620afa152f45, < 502731a03f27cba1513fbbff77e508185ffce5bb; >= e941894eae31b52f0fd9bdb3ce20620afa152f45, < 362a9e65289284f36403058eea2462d0330c1f24; Linux 5.12.
Is there a fix for CVE-2021-47292?
Yes. Fixed in Linux 502731a03f27cba1513fbbff77e508185ffce5bb, Linux 362a9e65289284f36403058eea2462d0330c1f24. Upgrade Linux to 362a9e65289284f36403058eea2462d0330c1f24 or later.
How do I check if I'm affected by CVE-2021-47292?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.