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.
References
Configurations
No configuration.
History
No history.
Information
Published : 2024-05-21 15:15
Updated : 2024-07-03 01:37
NVD link : CVE-2021-47324
Mitre link : CVE-2021-47324
CVE.ORG link : CVE-2021-47324
JSON object : View
Products Affected
No product.
CWE
CWE-416
Use After Free