Use-after-free vulnerability in watchdog package

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1001269: watchdog: Fix possible use-after-free by calling del_timer_sync(). Affects Kernel versions < 66ba9cf929b1c4fabf545bd4c18f6f64e23e46e4. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The watchdog package is a component of the Linux Kernel that monitors the system's health and restarts it if necessary. It includes a timer mechanism to periodically check for system responsiveness. However, a use-after-free vulnerability has been discovered in the watchdog package, which could lead to a system crash or potential code execution.

Vulnerability Detail

The use-after-free vulnerability in the watchdog package occurs when the del_timer_sync() function is called. This function is responsible for deleting a timer, but it does not properly handle the case where the timer is already in use. As a result, a reference to the timer may still exist after it has been freed, leading to a use-after-free condition. An attacker could potentially exploit this vulnerability to execute arbitrary code or crash the system.

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 essential to update the Linux Kernel to the fixed version to mitigate the risk.

Conclusion

The use-after-free vulnerability in the watchdog package can be mitigated by updating the Linux Kernel to version v5.10.52 or later. This update includes a fix for the vulnerability, preventing potential system crashes and code execution. For further assistance with vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The watchdog package is a component of the Linux Kernel that monitors the system's health and restarts it if necessary.

A use-after-free vulnerability occurs when a program continues to use a memory reference after it has been freed, leading to potential crashes or code execution.

The del_timer_sync() function is responsible for deleting a timer in the watchdog package.

The use-after-free vulnerability in the watchdog package could result in system crashes or allow an attacker to execute arbitrary code.

To fix this vulnerability, update the Linux Kernel to version v5.10.52 or later, which includes the necessary patch.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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