Use-After-Free Vulnerability in Linux Kernel - linux Package

linux Updated 02 Oct 2025

Summary

29/03/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2023-52629: In the Linux kernel, the following vulnerability has been resolved: sh: push-switch: Reorder cleanup operations to avoid use-after-free bug The original code puts flush_work() before timer_shutdown_sync() in switch_drv_r... Affects linux versions < 6.5.6-1. Fixed in 6.5.6-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 package is a core component of the Debian operating system, providing the Linux kernel that manages system resources and hardware interactions. It is essential for the operation of the system, enabling communication between software and hardware. The kernel is responsible for process management, memory management, device drivers, and system calls. Due to its critical role, vulnerabilities in the kernel can have severe implications for system security and stability.

Vulnerability Detail

In the Linux kernel, a use-after-free vulnerability was identified due to improper ordering of cleanup operations in the switch_drv_remove() function. The original implementation called flush_work() before timer_shutdown_sync(), which could lead to a situation where a worker is rescheduled after its associated data structure has been freed. This flaw could allow an attacker to exploit the vulnerability, potentially leading to arbitrary code execution or system crashes.

How To Fix

Minimum fixed version

6.5.6-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 by updating the package as described above.

Conclusion

The identified use-after-free vulnerability in the Linux kernel's linux package poses significant risks to system security and stability. Users are urged to update to the patched version to mitigate these risks. Regular updates and monitoring for vulnerabilities are essential practices for maintaining a secure system.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

A use-after-free vulnerability occurs when a program continues to use a memory location after it has been freed. This can lead to unpredictable behavior, crashes, or security exploits.

You can use Vulert to monitor and alert for open-source vulnerabilities. By uploading your manifest file like package-lock.json, you can check if your application is affected by this vulnerability.

Exploitation of this vulnerability could lead to arbitrary code execution, system crashes, or unauthorized access to system resources, posing significant security risks.

While the primary risk is related to system stability and security, there is a potential for data loss if an attacker exploits the vulnerability to crash the system or execute malicious code.

It is recommended to regularly check for updates and apply them promptly, especially for critical components like the Linux kernel, to ensure security and stability.

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.5.6-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