# CVE-2021-47323: watchdog: sc520_wdt: Fix possible use-after-free in wdt_turnoff()

- Severity: High 8.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.16%, higher than 68% of CVEs (2026-12-01)
- Published: 2024-05-21T14:35:37.181Z
- Modified: 2026-06-17T04:17:11.653Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 0015581a79bbf8e521f85dddb7d3e4a66b9f51d4; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before b4565a8a2d6bffb05bfbec11399d261ec16fe373; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 2aef07017fae21c3d8acea9656b10e3b9c0f1e04; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 522e75ed63f67e815d4ec0deace67df22d9ce78e; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 7c56c5508dc20a6b133bc669fc34327a6711c24c; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before a173e3b62cf6dd3c4a0a10c8a82eedfcae81a566; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before b3c41ea5bc34d8c7b19e230d80e0e555c6f5057d; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before f0feab82f6a0323f54d85e8b512a2be64f83648a; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 90b7c141132244e8e49a34a4c1e445cce33e07f4; 2.6.12 (not affected: before 2.6.12; from 4.4.276 up to 4.4.*; from 4.9.276 up to 4.9.*; from 4.14.240 up to 4.14.*; from 4.19.198 up to 4.19.*; from 5.4.134 up to 5.4.*; from 5.10.52 up to 5.10.*; from 5.12.19 up to 5.12.*; from 5.13.4 up to 5.13.*; from 5.14 up to *)
- linux linux_kernel: from 1da177e4c3f4 before 0015581a79bb; from 1da177e4c3f4 before b4565a8a2d6b; from 1da177e4c3f4 before 2aef07017fae; from 1da177e4c3f4 before 522e75ed63f6; from 1da177e4c3f4 before 7c56c5508dc2; from 1da177e4c3f4 before a173e3b62cf6; from 1da177e4c3f4 before b3c41ea5bc34; from 1da177e4c3f4 before f0feab82f6a0; from 1da177e4c3f4 before 90b7c1411322; before 4.4.276; from 4.5 before 4.9.276; from 4.10 before 4.14.240; and 5 more (not affected: from 4.4.276 before 4.5; from 4.9.276 before 4.10; from 4.14.240 before 4.15; from 4.19.198 before 4.20; from 5.10.52 before 5.11; from 5.12.19 before 5.13; from 5.13.4 before 5.14; from 5.14 up to *)

## References

- <https://git.kernel.org/stable/c/0015581a79bbf8e521f85dddb7d3e4a66b9f51d4> (patch)
- <https://git.kernel.org/stable/c/b4565a8a2d6bffb05bfbec11399d261ec16fe373> (patch)
- <https://git.kernel.org/stable/c/2aef07017fae21c3d8acea9656b10e3b9c0f1e04> (patch)
- <https://git.kernel.org/stable/c/522e75ed63f67e815d4ec0deace67df22d9ce78e> (patch)
- <https://git.kernel.org/stable/c/7c56c5508dc20a6b133bc669fc34327a6711c24c> (patch)
- <https://git.kernel.org/stable/c/a173e3b62cf6dd3c4a0a10c8a82eedfcae81a566> (patch)
- <https://git.kernel.org/stable/c/b3c41ea5bc34d8c7b19e230d80e0e555c6f5057d> (patch)
- <https://git.kernel.org/stable/c/f0feab82f6a0323f54d85e8b512a2be64f83648a> (patch)
- <https://git.kernel.org/stable/c/90b7c141132244e8e49a34a4c1e445cce33e07f4> (patch)

## Sources

- CVE List: [CVE-2021-47323](https://www.cve.org/CVERecord?id=CVE-2021-47323), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2021-47323](https://nvd.nist.gov/vuln/detail/CVE-2021-47323), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-47323 · Whole record: https://cve.day/CVE-2021-47323.json · Rebuilt by cve.day 2026-11-25T22:58:08.797Z
