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

linux Updated 02 Oct 2025

Summary

05/09/2025
N/A
No i
Unrated
Not published

CVE-2025-39691: In the Linux kernel, the following vulnerability has been resolved: fs/buffer: fix use-after-free when call bh_read() helper There's issue as follows: BUG: KASAN: stack-out-of-bounds in end_buffer_read_sync+0xe3/0x110 Re... Affects linux versions 5.10.103-1 – 6.9.9-1. 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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux kernel is the core component of the Debian operating system, responsible for managing hardware resources and providing essential services to applications. This vulnerability affects multiple versions of the Linux package across various Debian releases (11, 12, 13, and 14), highlighting a critical flaw in the filesystem buffer management that could lead to severe system instability.

Vulnerability Detail

In the Linux kernel, a use-after-free vulnerability has been identified in the buffer management system, specifically within the 'end_buffer_read_sync' function. This issue arises when a buffer head is freed while still in use, leading to potential stack overflows and undefined behavior. The vulnerability can be triggered during NTFS3 filesystem mounts, where improper handling of buffer states can result in memory corruption, crashes, or even arbitrary code execution.

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

As a temporary workaround, users can avoid mounting NTFS3 filesystems until a patch is applied. This will help prevent triggering the vulnerability until the system is updated.

Conclusion

The use-after-free vulnerability in the Linux kernel poses significant risks to Debian users across multiple releases. It is crucial to update the Linux package to the latest version to mitigate these risks. Users can also utilize tools like Vulert to monitor their applications for vulnerabilities in real-time.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

A use-after-free vulnerability occurs when a program continues to use a memory resource after it has been freed, potentially leading to memory corruption and security issues.

You can use Vulert, which monitors open-source vulnerabilities in your software. By uploading your manifest file, such as package-lock.json, you can receive real-time alerts about vulnerabilities.

The risks include system crashes, data corruption, and potential exploitation by attackers to execute arbitrary code on the affected system.

Yes, updating to the latest patched version of the Linux package for your Debian release will resolve the vulnerability.

Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring an account.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

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