Double Free Race Vulnerability in cifs Package

Kernel Updated 02 Oct 2025

Summary

18/03/2022
N/A
No i
Unrated
Not published

GSD-2022-1000904: cifs: fix double free race when mount fails in cifs_get_root(). Affects Kernel versions < 2fe0e281f7ad0a62259649764228227dd6b2561d. 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 cifs package is a component of the Linux Kernel that provides support for the Common Internet File System (CIFS) protocol. CIFS allows Linux systems to access files and resources on remote Windows servers. It is widely used for network file sharing and provides features such as authentication, file and directory access, and file locking. The cifs package is responsible for handling the mounting and unmounting of CIFS file systems in the Linux Kernel.

Vulnerability Detail

The identified vulnerability, known as GSD-2022-1000904, is a double free race condition that occurs when the mount operation fails in the cifs_get_root() function. This vulnerability can be exploited by an attacker to cause a denial-of-service (DoS) condition or potentially execute arbitrary code with elevated privileges. The double free race condition arises when multiple threads attempt to free the same memory location simultaneously, leading to memory corruption and potential security vulnerabilities. The impact and attack plausibility of this vulnerability have not been proven yet.

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

There is no specific workaround mentioned for this vulnerability. However, users can consider implementing general security best practices such as restricting access to vulnerable systems, applying network segmentation, and monitoring for any suspicious activity.

Conclusion

The double free race vulnerability in the cifs package can lead to a denial-of-service condition or potential execution of arbitrary code with elevated privileges. It is crucial to update the Linux Kernel to version v4.19.233 or later to mitigate this vulnerability. Additionally, implementing general security best practices and monitoring for any suspicious activity can help enhance the overall security of the system. For further support and assistance, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability can range from a denial-of-service (DoS) condition to potential execution of arbitrary code with elevated privileges. However, the actual impact and attack plausibility have not been proven yet.

You can use Vulert's playground at Vulert Scanner to check if your system is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities without requiring access to the code or installation. Simply upload your manifest file like package-lock.json to the Vulert playground and it will provide information on any vulnerabilities affecting your software.

Yes, a patch for this vulnerability is available in the Linux Kernel version v4.19.233. It is recommended to update to this version or a later version to mitigate the vulnerability.

There are no known exploits for this vulnerability at the moment. However, it is important to apply the recommended patch or update to mitigate the risk.

If you encounter any issues while applying the fix or have further questions, you can reach out to info@devnack.com for support and assistance.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

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