Use-After-Free Vulnerability in Linux Kernel's SMB Client: CVE-2025-38488

linux Updated 02 Oct 2025

Summary

28/07/2025
N/A
No i
Unrated
Not published

CVE-2025-38488: In the Linux kernel, the following vulnerability has been resolved: smb: client: fix use-after-free in crypt_message when using async crypto The CVE-2024-50047 fix removed asynchronous crypto handling from crypt_message(... 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 many operating systems, providing essential services for hardware and software interaction. It supports various functionalities, including file systems, process management, and networking. The SMB (Server Message Block) client in the Linux kernel facilitates file sharing and network communication. This vulnerability affects the SMB client, specifically in its handling of asynchronous cryptographic operations, which can lead to system instability and crashes.

Vulnerability Detail

The vulnerability identified as CVE-2025-38488 arises from a use-after-free condition in the SMB client's cryptographic message handling. The issue originates from a fix implemented for CVE-2024-50047, which removed asynchronous crypto handling from the crypt_message function, assuming all operations would be synchronous. However, when hardware crypto accelerators are utilized, this assumption fails, leading to potential crashes due to dereferencing freed memory. The vulnerability can result in kernel crashes with NULL pointer dereferences, severely impacting system stability and security.

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. Users are advised to apply the patch as soon as it becomes available to mitigate the risk.

Conclusion

CVE-2025-38488 is a critical vulnerability in the Linux kernel's SMB client that can lead to severe system crashes due to improper handling of asynchronous cryptographic operations. Users are strongly encouraged to update their systems to the latest kernel version to ensure protection against this vulnerability.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2025-38488 is a use-after-free vulnerability in the Linux kernel's SMB client that can lead to system crashes.

This vulnerability can cause kernel crashes, resulting in system instability and potential data loss.

Yes, users should update their Linux kernel to the latest version to receive the patch for CVE-2025-38488.

Yes, you can use Vulert's playground at Vulert Scanner to check if your application is affected without any signup.

While there are no specific workarounds, it is crucial to plan for an update as soon as possible to mitigate risks.

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