Use-after-free vulnerability in sc520_wdt watchdog driver

Kernel Updated 02 Oct 2025

Summary

03/08/2021
N/A
No i
Unrated
Not published

GSD-2021-1001328: watchdog: sc520_wdt: Fix possible use-after-free in wdt_turnoff(). Affects Kernel versions < 7c56c5508dc20a6b133bc669fc34327a6711c24c. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The sc520_wdt is a watchdog driver in the Linux Kernel that provides support for the SC520 family of embedded processors. The watchdog timer is responsible for monitoring the system and resetting it if necessary. The sc520_wdt driver is used to control the watchdog timer on systems using the National Semiconductor SC520 processor. This vulnerability affects the sc520_wdt driver and can lead to a use-after-free condition.

Vulnerability Detail

The use-after-free vulnerability in the sc520_wdt driver occurs in the wdt_turnoff() function. This function is responsible for turning off the watchdog timer. However, due to a programming error, there is a possibility of a use-after-free condition. An attacker could exploit this vulnerability by triggering the wdt_turnoff() function at a specific time, causing the use-after-free condition. This could potentially lead to a system crash or allow the attacker to execute arbitrary code with kernel privileges.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no known workaround for this vulnerability. It is recommended to update the Linux Kernel to the fixed version.

Conclusion

The use-after-free vulnerability in the sc520_wdt driver can be fixed by updating the Linux Kernel to version v5.4.134 or later. It is important to regularly update the Linux Kernel to ensure the latest security patches are applied. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The sc520_wdt driver is a watchdog driver in the Linux Kernel that provides support for the SC520 family of embedded processors. It controls the watchdog timer on systems using the National Semiconductor SC520 processor.

A use-after-free vulnerability occurs when a program continues to use a memory address after it has been freed. This can lead to crashes, memory corruption, or the execution of arbitrary code.

This vulnerability could potentially lead to a system crash or allow an attacker to execute arbitrary code with kernel privileges.

To fix this vulnerability, update your Linux Kernel to version v5.4.134 or later.

There is no known workaround for this vulnerability. It is recommended to update the Linux Kernel to the fixed version.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback