CVE-2021-47323

watchdog: sc520_wdt: Fix possible use-after-free in wdt_turnoff()

HIGH
8.8
CVSS Score
Published: May 21, 2024 at 02:35 PM UTC
Updated: June 17, 2026 at 04:17 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.8
Exploit prediction
EPSS 1%
SSVC
No known exploit

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 4.4.2762.6.12 ≤ v < 4.14.2402.6.12 ≤ v < 4.19.1982.6.12 ≤ v < 4.4.2762.6.12 ≤ v < 4.9.2762.6.12 ≤ v < 5.10.522.6.12 ≤ v < 5.12.192.6.12 ≤ v < 5.13.42.6.12 ≤ v < 5.142.6.12 ≤ v < 5.4.1344.10 ≤ v < 4.14.2404.15 ≤ v < 4.19.1984.20 ≤ v < 5.4.1344.5 ≤ v < 4.9.2765.11 ≤ v < 5.12.195.13 ≤ v < 5.13.45.5 ≤ v < 5.10.521da177e4c3f41da177e4c3f41524e886b7f1b8a0c1fc7321cac22.6.12
Vendor states this is fixed in 0015581a79bb (fixed)
Vendor states this is fixed in 0015581a79bbf8e521f85dddb7d3e4a66b9f51d4 (fixed)
Vendor states this is fixed in 2aef07017fae (fixed)
Vendor states this is fixed in 2aef07017fae21c3d8acea9656b10e3b9c0f1e04 (fixed)
Vendor states this is fixed in 522e75ed63f6 (fixed)
Vendor states this is fixed in 522e75ed63f67e815d4ec0deace67df22d9ce78e (fixed)
Vendor states this is fixed in 7c56c5508dc2 (fixed)
Vendor states this is fixed in 7c56c5508dc20a6b133bc669fc34327a6711c24c (fixed)
Vendor states this is fixed in 90b7c1411322 (fixed)
Vendor states this is fixed in 90b7c141132244e8e49a34a4c1e445cce33e07f4 (fixed)
Vendor states this is fixed in a173e3b62cf6 (fixed)
Vendor states this is fixed in a173e3b62cf6dd3c4a0a10c8a82eedfcae81a566 (fixed)
Vendor states this is fixed in b3c41ea5bc34 (fixed)
Vendor states this is fixed in b3c41ea5bc34d8c7b19e230d80e0e555c6f5057d (fixed)
Vendor states this is fixed in b4565a8a2d6b (fixed)
Vendor states this is fixed in b4565a8a2d6bffb05bfbec11399d261ec16fe373 (fixed)
Vendor states this is fixed in f0feab82f6a0 (fixed)
Vendor states this is fixed in f0feab82f6a0323f54d85e8b512a2be64f83648a (fixed)
Vendor states this is fixed in 2.6.12 (unaffected)
Vendor states this is fixed in 4.14.240 (unaffected)
Vendor states this is fixed in 4.19.198 (unaffected)
Vendor states this is fixed in 4.4.276 (unaffected)
Vendor states this is fixed in 4.9.276 (unaffected)
Vendor states this is fixed in 5.10.52 (unaffected)
Vendor states this is fixed in 5.12.19 (unaffected)
Vendor states this is fixed in 5.13.4 (unaffected)
Vendor states this is fixed in 5.14 (unaffected)
Vendor states this is fixed in 5.4.134 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0015581a79bbf8e521f85dddb7d3e4a66b9f51d4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2aef07017fae21c3d8acea9656b10e3b9c0f1e04
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/522e75ed63f67e815d4ec0deace67df22d9ce78e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7c56c5508dc20a6b133bc669fc34327a6711c24c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/90b7c141132244e8e49a34a4c1e445cce33e07f4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a173e3b62cf6dd3c4a0a10c8a82eedfcae81a566
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b3c41ea5bc34d8c7b19e230d80e0e555c6f5057d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b4565a8a2d6bffb05bfbec11399d261ec16fe373

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

8.8HIGHCISA-ADP
Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card