Use-After-Free Vulnerability in Linux Kernel - Impacting Debian Packages

linux Updated 02 Oct 2025

Summary

23/09/2025
N/A
Yes i
Unrated
Not published

CVE-2025-39881: In the Linux kernel, the following vulnerability has been resolved: kernfs: Fix UAF in polling when open file is released A use-after-free (UAF) vulnerability was identified in the PSI (Pressure Stall Information) monito... Affects linux versions < 6.1.153-1. Fixed in 6.1.153-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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Linux kernel is the core component of the Linux operating system, responsible for managing system resources and facilitating communication between hardware and software. It is widely used across various distributions, including Debian. This vulnerability affects the kernel's PSI (Pressure Stall Information) monitoring mechanism, which is crucial for managing system performance under load. The vulnerability can lead to instability and potential system crashes if exploited.

Vulnerability Detail

In the Linux kernel, a use-after-free (UAF) vulnerability has been identified in the PSI monitoring mechanism. This issue arises when a file descriptor is released while another process still holds a reference to it, leading to potential access to freed memory. The specific bug occurs in the function psi_trigger_poll, where a read operation attempts to access memory that has already been freed, resulting in undefined behavior and possible system crashes. The vulnerability is particularly concerning as it can be exploited during the polling of cgroup pressure files, which are used to monitor resource usage in containerized environments.

How To Fix

Minimum fixed version

6.1.153-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

As a temporary workaround, users can avoid enabling and disabling cgroup pressure monitoring in quick succession, which can trigger the vulnerability. Instead, ensure that monitoring is only toggled when necessary and allow sufficient time between changes.

Conclusion

The identified use-after-free vulnerability in the Linux kernel poses significant risks to system stability and security. Users are strongly advised to update their systems to the latest patched versions to mitigate these risks. Additionally, utilizing tools like Vulert can enhance your ability to monitor and respond to vulnerabilities in your software.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

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

You can use Vulert, which monitors open-source vulnerabilities in your software. By uploading your manifest file like package-lock.json, you can check for vulnerabilities without needing to install any software.

Exploitation of this vulnerability can lead to system instability, crashes, and potential unauthorized access to system resources, impacting overall system security.

Yes, updating to version 6.1.153-1 for Debian 12, 6.12.48-1 for Debian 13, or any later version for Debian 14 will mitigate this vulnerability.

Using tools like Vulert can help you monitor and receive alerts about open-source vulnerabilities in real-time, ensuring you are always informed about potential risks.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.1.153-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