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.
Metrics
Affected Vendors & Products
References
History
No history.
MITRE
Status: PUBLISHED
Assigner: Linux
Published: 2024-05-21T14:35:37.181Z
Updated: 2024-11-04T12:03:41.629Z
Reserved: 2024-05-21T14:28:16.974Z
Link: CVE-2021-47323
Vulnrichment
Updated: 2024-08-04T05:32:08.471Z
NVD
Status : Awaiting Analysis
Published: 2024-05-21T15:15:19.467
Modified: 2024-07-03T01:37:38.240
Link: CVE-2021-47323
Redhat