Critical Use-After-Free Vulnerability in Linux Kernel (CVE-2025-37776)

linux Updated 02 Oct 2025

Summary

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

CVE-2025-37776: In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in smb_break_all_levII_oplock() There is a room in smb_break_all_levII_oplock that can cause racy issues when unlocking in the... 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, providing essential services for hardware and software interaction. It is widely used across various platforms, including servers, desktops, and embedded systems. The kernel's stability and security are paramount, as vulnerabilities can lead to system crashes, unauthorized access, or data corruption. CVE-2025-37776 specifically affects the ksmbd module, which implements the SMB protocol for file sharing, making it crucial for networked environments.

Vulnerability Detail

CVE-2025-37776 is a use-after-free vulnerability located in the smb_break_all_levII_oplock function of the ksmbd module in the Linux kernel. This vulnerability arises from a race condition that occurs when the function attempts to unlock resources while iterating through a loop. If an attacker exploits this flaw, they could potentially execute arbitrary code, leading to system instability or unauthorized access. The issue has been addressed by implementing a read lock to protect the entire loop, thereby preventing the race condition.

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 mentioned for this vulnerability. However, users are advised to monitor their systems for any unusual behavior and apply the patch as soon as it becomes available.

Conclusion

CVE-2025-37776 is a critical vulnerability in the Linux kernel that poses significant risks to system security and stability. Users are strongly encouraged to update their systems to the patched version to mitigate potential threats. Regular monitoring and timely updates are essential for maintaining a secure environment.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2025-37776 is a use-after-free vulnerability in the ksmbd module of the Linux kernel that can lead to system instability or unauthorized access.

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

Exploitation of this vulnerability could allow attackers to execute arbitrary code, leading to system crashes or unauthorized access to sensitive data.

You can update your Linux kernel using the command 'sudo apt-get update' followed by 'sudo apt-get install linux' on Debian-based systems.

Yes, a patch has been released to fix CVE-2025-37776. Users should update their systems to the latest version of the Linux kernel to apply the fix.

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