Use-After-Free Vulnerability in Linux Kernel - CVE-2025-37952

linux Updated 02 Oct 2025

Summary

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

CVE-2025-37952: In the Linux kernel, the following vulnerability has been resolved: ksmbd: Fix UAF in close_file_table_ids A use-after-free is possible if one thread destroys the file via ksmbd_close_fd while another thread holds a refe... Affects linux versions 6.1.106-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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Linux kernel is the core component of many operating systems, including various distributions of Debian. It manages system resources and hardware communication, providing essential services for software applications. The kernel is designed to be robust and secure, but like any software, it can have vulnerabilities. CVE-2025-37952 is a critical vulnerability that affects the file handling mechanism within the kernel, specifically in the ksmbd (Kernel SMB) module, which facilitates file sharing over the SMB protocol.

Vulnerability Detail

CVE-2025-37952 is a use-after-free vulnerability that occurs when one thread destroys a file while another thread still holds a reference to it. This can lead to undefined behavior, including potential system crashes or exploitation by malicious actors. The existing reference count checks in the kernel are insufficient to prevent this race condition, making it a serious security concern.

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

Currently, there are no specific workarounds provided for this vulnerability. It is recommended to apply the patch as soon as it becomes available.

Conclusion

CVE-2025-37952 is a significant vulnerability in the Linux kernel that poses serious risks to system security. Users are urged to update their systems promptly to mitigate potential threats. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2025-37952 is a use-after-free vulnerability in the Linux kernel's ksmbd module, which can lead to system instability or exploitation.

If exploited, this vulnerability can allow unauthorized access to system resources, potentially leading to data breaches or system crashes.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.

While there are no specific workarounds, it is crucial to monitor your system closely and apply the patch as soon as it is available.

Detailed information about CVE-2025-37952 can be found in the official security advisories and on vulnerability databases.

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