CVE-2021-47323
kernel: watchdog: sc520_wdt: Fix possible use-after-free in wdt_turnoff()
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · May 21, 2024
Updated · November 21, 2025
Description
A vulnerability was found in the wdt_turnoff() function in the Linux kernel's watchdog module. This issue arises when the module's remove process calls del_timer(), which does not wait for the timer handler to finish. Consequently, the handler may still be running after the driver is removed, leading to a potential use-after-free issue.
Statement
This vulnerability is rated as a moderate severity because this issue can cause system instability and crashes, as the use-after-free situation may disrupt normal operations.
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
Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-416 · Use After Free