Use-After-Free Vulnerability in Linux Kernel CIFS Client

linux Updated 02 Oct 2025

Summary

21/11/2024
N/A
No i
Unrated
Not published

CVE-2024-53095: In the Linux kernel, the following vulnerability has been resolved: smb: client: Fix use-after-free of network namespace. 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 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 many operating systems, providing essential services for hardware and software management. The CIFS (Common Internet File System) client allows for file sharing over the network, enabling seamless access to files on remote servers. This vulnerability arises from improper reference counting in the network namespace, which can lead to system instability and crashes during specific operations.

Vulnerability Detail

In the Linux kernel, a use-after-free vulnerability has been identified in the CIFS client. This issue occurs when the CIFS client fails to properly manage the reference count of the network namespace associated with kernel sockets. As a result, when a socket is freed while its network namespace is still in use, it can lead to a crash (oops) during reconnection attempts to a server. This vulnerability is particularly problematic in Kubernetes environments where CIFS mounts are used in non-root network namespaces, making it difficult to predict when the issue may occur.

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, avoid using CIFS mounts in non-root network namespaces until the system can be updated with the patched version. Additionally, consider implementing network policies that minimize the risk of dropping packets in these namespaces.

Conclusion

The CVE-2024-53095 vulnerability in the Linux kernel's CIFS client poses significant risks, particularly in Kubernetes environments. Proper reference counting is crucial to prevent use-after-free errors that can lead to system instability. Users are advised to update their systems to the patched version to mitigate these risks.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

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

You can use Vulert, which monitors open-source vulnerabilities in your software. By using the manifest file like package-lock.json, Vulert can alert you in real-time. You can also check your application using the Vulert playground without any signup.

The consequences include system crashes, data loss, and potential exploitation by malicious actors if the vulnerability is leveraged.

Yes, this vulnerability is more likely to occur in Kubernetes environments where CIFS mounts are used in non-root network namespaces.

If immediate updates are not possible, consider using workarounds such as avoiding CIFS mounts in non-root namespaces and implementing strict network policies.

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