Lucene search

K
vulnrichmentLinuxVULNRICHMENT:CVE-2021-47321
HistoryMay 21, 2024 - 2:35 p.m.

CVE-2021-47321 watchdog: Fix possible use-after-free by calling del_timer_sync()

2024-05-2114:35:35
Linux
github.com
3
linux kernel
watchdog driver
use-after-free

AI Score

6.7

Confidence

Low

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial

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

watchdog: Fix possible use-after-free by calling del_timer_sync()

This driver’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.

AI Score

6.7

Confidence

Low

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial