CVE-2021-47321

HIGH

Linux Kernel < 4.4.276 - Use-After-Free in Watchdog Timer Handler

Title source: llm
STIX 2.1

Description

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.

Scores

CVSS v3 7.8
EPSS 0.0025
EPSS Percentile 15.9%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-416
Status published
Products (21)
Linux/Linux < 4.3
Linux/Linux 4.14.240 - 4.14.*
Linux/Linux 4.19.198 - 4.19.*
Linux/Linux 4.3
Linux/Linux 4.4.276 - 4.4.*
Linux/Linux 4.9.276 - 4.9.*
Linux/Linux 5.10.52 - 5.10.*
Linux/Linux 5.12.19 - 5.12.*
Linux/Linux 5.13.4 - 5.13.*
Linux/Linux 5.14
... and 11 more
Published May 21, 2024
Tracked Since Feb 18, 2026