# CVE-2021-47324: watchdog: Fix possible use-after-free in wdt\_startup()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 1.59% (percentile 76, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2024-05-21T14:35:37.844Z
- **Modified:** 2026-06-17T04:17:11.870Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 63a3dc24bd053792f84cb4eef0168b1266202a02; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 862f2b5a7c38762ac9e369daefbf361a91aca685; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 0ac50a76cf3cd63db000648b3b19f3f98b8aaa76; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< dc9403097be52d57a5c9c35efa9be79d166a78af; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 146cc288fb80c662c9c35e7bc58325d1ac0a7875; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a397cb4576fc2fc802562418b3a50b8f67d60d31; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< b4ebf4a4692e84163a69444c70ad515de06e2259; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8adbbe6c86bb13e14f8a19e036ae5f4f5661fd90; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c08a6b31e4917034f0ed0cb457c3bb209576f542
- Anyone running Linux 2.6.12

## Description

In the Linux kernel, the following vulnerability has been resolved:

watchdog: Fix possible use-after-free in wdt\_startup()

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

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 63a3dc24bd053792f84cb4eef0168b1266202a02; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 862f2b5a7c38762ac9e369daefbf361a91aca685; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 0ac50a76cf3cd63db000648b3b19f3f98b8aaa76; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< dc9403097be52d57a5c9c35efa9be79d166a78af; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 146cc288fb80c662c9c35e7bc58325d1ac0a7875; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a397cb4576fc2fc802562418b3a50b8f67d60d31; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< b4ebf4a4692e84163a69444c70ad515de06e2259; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8adbbe6c86bb13e14f8a19e036ae5f4f5661fd90; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c08a6b31e4917034f0ed0cb457c3bb209576f542 (cvelist)
- Linux: 2.6.12 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2021-47324. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-47324.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 63a3dc24bd053792f84cb4eef0168b1266202a02; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 862f2b5a7c38762ac9e369daefbf361a91aca685; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 0ac50a76cf3cd63db000648b3b19f3f98b8aaa76; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 63a3dc24bd053792f84cb4eef0168b1266202a02, Linux 862f2b5a7c38762ac9e369daefbf361a91aca685, Linux 0ac50a76cf3cd63db000648b3b19f3f98b8aaa76, Linux 146cc288fb80c662c9c35e7bc58325d1ac0a7875, Linux 8adbbe6c86bb13e14f8a19e036ae5f4f5661fd90

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

## FAQ

### Is CVE-2021-47324 being exploited?

There is no confirmed exploitation: CVE-2021-47324 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-47324?

High: CVSS 8.8 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2021-47324?

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 63a3dc24bd053792f84cb4eef0168b1266202a02; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 862f2b5a7c38762ac9e369daefbf361a91aca685; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 0ac50a76cf3cd63db000648b3b19f3f98b8aaa76; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< dc9403097be52d57a5c9c35efa9be79d166a78af; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 146cc288fb80c662c9c35e7bc58325d1ac0a7875; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a397cb4576fc2fc802562418b3a50b8f67d60d31; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< b4ebf4a4692e84163a69444c70ad515de06e2259; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8adbbe6c86bb13e14f8a19e036ae5f4f5661fd90; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c08a6b31e4917034f0ed0cb457c3bb209576f542; Linux 2.6.12.

### Is there a fix for CVE-2021-47324?

Yes. Fixed in Linux 63a3dc24bd053792f84cb4eef0168b1266202a02, Linux 862f2b5a7c38762ac9e369daefbf361a91aca685, Linux 0ac50a76cf3cd63db000648b3b19f3f98b8aaa76, Linux 146cc288fb80c662c9c35e7bc58325d1ac0a7875, Linux 8adbbe6c86bb13e14f8a19e036ae5f4f5661fd90. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2021-47324?

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.

## References

- patch: <https://git.kernel.org/stable/c/63a3dc24bd053792f84cb4eef0168b1266202a02>
- patch: <https://git.kernel.org/stable/c/862f2b5a7c38762ac9e369daefbf361a91aca685>
- patch: <https://git.kernel.org/stable/c/0ac50a76cf3cd63db000648b3b19f3f98b8aaa76>
- patch: <https://git.kernel.org/stable/c/dc9403097be52d57a5c9c35efa9be79d166a78af>
- patch: <https://git.kernel.org/stable/c/146cc288fb80c662c9c35e7bc58325d1ac0a7875>
- patch: <https://git.kernel.org/stable/c/a397cb4576fc2fc802562418b3a50b8f67d60d31>
- patch: <https://git.kernel.org/stable/c/b4ebf4a4692e84163a69444c70ad515de06e2259>
- patch: <https://git.kernel.org/stable/c/8adbbe6c86bb13e14f8a19e036ae5f4f5661fd90>
- patch: <https://git.kernel.org/stable/c/c08a6b31e4917034f0ed0cb457c3bb209576f542>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-47324>

HTML: <https://flawdb.com/CVE-2021-47324> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-47324>
