Use-After-Free Vulnerability in Linux Kernel's cpu5wdt Module

linux Updated 02 Oct 2025

Summary

21/06/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-38630: In the Linux kernel, the following vulnerability has been resolved: watchdog: cpu5wdt.c: Fix use-after-free bug caused by cpu5wdt_trigger When the cpu5wdt module is removing, the origin code uses del_timer() to de-activa... Affects linux versions < 6.9.7-1. Fixed in 6.9.7-1. 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 Linux kernel is the core component of many operating systems, providing essential services for hardware and software interaction. The 'linux' package in Debian is crucial for system stability and performance. This package is frequently updated to address security vulnerabilities, ensuring the integrity and security of systems running Debian. The recent vulnerability identified as DEBIAN-CVE-2024-38630 affects the cpu5wdt module, which is responsible for managing watchdog timers for CPU monitoring.

Vulnerability Detail

In the Linux kernel, a use-after-free vulnerability has been discovered in the cpu5wdt module. This issue arises when the module is being removed, and the del_timer() function is called to deactivate a timer. If the timer handler is still executing, del_timer() cannot stop it, leading to a scenario where the port region is released by release_region(). If the timer handler then attempts to write to this released region using outb(), it results in a use-after-free condition. This vulnerability could potentially allow an attacker to execute arbitrary code or cause system instability.

How To Fix

Minimum fixed version

6.9.7-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the patch as soon as it becomes available.

Conclusion

The use-after-free vulnerability in the Linux kernel's cpu5wdt module poses significant risks to system stability and security. Users are strongly advised to update their systems to the patched version 6.9.7-1 to mitigate these risks. Regular updates and monitoring for vulnerabilities are essential practices for maintaining system integrity.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

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

You can check if your application is affected by using the Vulert playground at Vulert Scanner, which allows you to monitor and alert for open-source vulnerabilities without needing to install any software.

If exploited, this vulnerability could allow an attacker to execute arbitrary code, leading to system compromise or instability.

While the primary concern is system stability and unauthorized code execution, there is a potential risk of data loss if the system becomes unstable.

It is recommended to regularly check for and apply updates to your Linux packages to ensure that you are protected against known vulnerabilities.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

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

Minimum fixed version

6.9.7-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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