CVE-2021-47324
kernel: watchdog: Fix possible use-after-free in wdt_startup()
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · May 21, 2024
Updated · February 2, 2026
Description
A vulnerability was found in the Linux kernel's watchdog module in the wdt_startup() function. This issue occurs when the module's remove process calls del_timer(), which does not wait for the timer handler to finish. As a result, the handler might still be running after the driver is removed, leading to a potential use-after-free.
Statement
This vulnerability is rated as a moderate severity because it affects system stability by risking crashes or unexpected behavior, it does not compromise data security or user access. The use-after-free condition could disrupt normal operations, impacting availability without directly exposing sensitive information
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 4.4CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
CWE-416 · Use After Free