CVE-2021-47323
watchdog: sc520_wdt: Fix possible use-after-free in wdt_turnoff()
Mitigation
- Upgrade Linux to 90b7c141132244e8e49a34a4c1e445cce33e07f4 or later.
Who should check
- Anyone running Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 0015581a79bbf8e521f85dddb7d3e4a66b9f51d4; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < b4565a8a2d6bffb05bfbec11399d261ec16fe373; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2aef07017fae21c3d8acea9656b10e3b9c0f1e04; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 522e75ed63f67e815d4ec0deace67df22d9ce78e; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 7c56c5508dc20a6b133bc669fc34327a6711c24c; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a173e3b62cf6dd3c4a0a10c8a82eedfcae81a566; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < b3c41ea5bc34d8c7b19e230d80e0e555c6f5057d; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < f0feab82f6a0323f54d85e8b512a2be64f83648a; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 90b7c141132244e8e49a34a4c1e445cce33e07f4
- Anyone running Linux 2.6.12
Vulnerability facts
- Affected
- Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 0015581a79bbf8e521f85dddb7d3e4a66b9f51d4; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < b4565a8a2d6bffb05bfbec11399d261ec16fe373; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2aef07017fae21c3d8acea9656b10e3b9c0f1e04; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 522e75ed63f67e815d4ec0deace67df22d9ce78e; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 7c56c5508dc20a6b133bc669fc34327a6711c24c; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a173e3b62cf6dd3c4a0a10c8a82eedfcae81a566; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < b3c41ea5bc34d8c7b19e230d80e0e555c6f5057d; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < f0feab82f6a0323f54d85e8b512a2be64f83648a; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 90b7c141132244e8e49a34a4c1e445cce33e07f4; Linux 2.6.12
- Fixed in
- Linux 0015581a79bbf8e521f85dddb7d3e4a66b9f51d4, Linux 2aef07017fae21c3d8acea9656b10e3b9c0f1e04, Linux 522e75ed63f67e815d4ec0deace67df22d9ce78e, Linux 7c56c5508dc20a6b133bc669fc34327a6711c24c, Linux 90b7c141132244e8e49a34a4c1e445cce33e07f4
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 8.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 1.59% chance of exploitation in 30 days (percentile 76, 2026-11-26)
- CWE
- CWE-416
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: watchdog: sc520_wdt: Fix possible use-after-free in wdt_turnoff() This module's remove path calls del_timer(). However, that function does not wait until the timer handler finishes. This means that the timer handler may still be running after the driver's remove function has finished, which would result in a use-after-free. Fix by calling del_timer_sync(), which makes sure the timer handler has finished, and unable to re-schedule itself.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 0015581a79bbf8e521f85dddb7d3e4a66b9f51d4; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < b4565a8a2d6bffb05bfbec11399d261ec16fe373; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2aef07017fae21c3d8acea9656b10e3b9c0f1e04; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 522e75ed63f67e815d4ec0deace67df22d9ce78e; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 7c56c5508dc20a6b133bc669fc34327a6711c24c; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a173e3b62cf6dd3c4a0a10c8a82eedfcae81a566; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < b3c41ea5bc34d8c7b19e230d80e0e555c6f5057d; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < f0feab82f6a0323f54d85e8b512a2be64f83648a; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 90b7c141132244e8e49a34a4c1e445cce33e07f4 | — | cvelist |
| Linux | 2.6.12 | — | cvelist |
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-47323. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2021-47323.md Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 0015581a79bbf8e521f85dddb7d3e4a66b9f51d4; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < b4565a8a2d6bffb05bfbec11399d261ec16fe373; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2aef07017fae21c3d8acea9656b10e3b9c0f1e04; >= 1da177e4c3f41524e886b7f… Fixed in: Linux 0015581a79bbf8e521f85dddb7d3e4a66b9f51d4, Linux 2aef07017fae21c3d8acea9656b10e3b9c0f1e04, Linux 522e75ed63f67e815d4ec0deace67df22d9ce78e, Linux 7c56c5508dc20a6b133bc669fc34327a6711c24c, Linux 90b7c141132244e8e49a34a4c1e445cce33e07f4 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
Patches
- https://git.kernel.org/stable/c/0015581a79bbf8e521f85dddb7d3e4a66b9f51d4
- https://git.kernel.org/stable/c/b4565a8a2d6bffb05bfbec11399d261ec16fe373
- https://git.kernel.org/stable/c/2aef07017fae21c3d8acea9656b10e3b9c0f1e04
- https://git.kernel.org/stable/c/522e75ed63f67e815d4ec0deace67df22d9ce78e
- https://git.kernel.org/stable/c/7c56c5508dc20a6b133bc669fc34327a6711c24c
- https://git.kernel.org/stable/c/a173e3b62cf6dd3c4a0a10c8a82eedfcae81a566
- https://git.kernel.org/stable/c/b3c41ea5bc34d8c7b19e230d80e0e555c6f5057d
- https://git.kernel.org/stable/c/f0feab82f6a0323f54d85e8b512a2be64f83648a
- https://git.kernel.org/stable/c/90b7c141132244e8e49a34a4c1e445cce33e07f4
FAQ
Is CVE-2021-47323 being exploited?
There is no confirmed exploitation: CVE-2021-47323 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.59% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2021-47323?
High: CVSS 8.8 (v3.1, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2021-47323?
Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 0015581a79bbf8e521f85dddb7d3e4a66b9f51d4; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < b4565a8a2d6bffb05bfbec11399d261ec16fe373; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2aef07017fae21c3d8acea9656b10e3b9c0f1e04; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 522e75ed63f67e815d4ec0deace67df22d9ce78e; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 7c56c5508dc20a6b133bc669fc34327a6711c24c; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a173e3b62cf6dd3c4a0a10c8a82eedfcae81a566; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < b3c41ea5bc34d8c7b19e230d80e0e555c6f5057d; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < f0feab82f6a0323f54d85e8b512a2be64f83648a; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 90b7c141132244e8e49a34a4c1e445cce33e07f4; Linux 2.6.12.
Is there a fix for CVE-2021-47323?
Yes. Fixed in Linux 0015581a79bbf8e521f85dddb7d3e4a66b9f51d4, Linux 2aef07017fae21c3d8acea9656b10e3b9c0f1e04, Linux 522e75ed63f67e815d4ec0deace67df22d9ce78e, Linux 7c56c5508dc20a6b133bc669fc34327a6711c24c, Linux 90b7c141132244e8e49a34a4c1e445cce33e07f4. Upgrade Linux to 90b7c141132244e8e49a34a4c1e445cce33e07f4 or later.
How do I check if I'm affected by CVE-2021-47323?
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.