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-1000925: cifs: fix double free race when mount fails in cifs_get_root(). Affects Kernel versions < 147a0e71ccf96df9fc8c2ac500829d8e423ef02c. 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 cifs package is a component of the Linux Kernel ecosystem. It provides support for the Common Internet File System (CIFS) protocol, allowing Linux systems to access files and resources on remote Windows servers. The cifs package is responsible for mounting and managing CIFS file systems. It is a critical component for Linux systems that require interoperability with Windows networks.

Vulnerability Detail

The identified vulnerability, known as GSD-2022-1000925, is a double free race condition that occurs when a 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. The double free race condition arises when multiple threads attempt to free the same memory location concurrently, leading to memory corruption and unpredictable behavior. The impact of this vulnerability depends on the context in which it is exploited and the privileges of the attacker.

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

No specific workaround has been provided for this vulnerability. Users are advised to apply the recommended fix by updating the Linux Kernel to the patched version.

Conclusion

The double free race vulnerability in the cifs package can have serious security implications, potentially leading to a denial-of-service condition or arbitrary code execution. It is crucial to update the Linux Kernel to the patched version to mitigate this vulnerability. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The cifs package is a component of the Linux Kernel ecosystem that enables Linux systems to access files and resources on remote Windows servers using the CIFS protocol.

A double free race condition occurs when multiple threads attempt to free the same memory location concurrently. This can lead to memory corruption and unpredictable behavior.

This vulnerability can result in a denial-of-service (DoS) condition or potentially allow an attacker to execute arbitrary code, depending on the context and attacker's privileges.

To fix this vulnerability, update the Linux Kernel to version v4.14.270 or later, which includes the necessary patch. Regularly updating the Kernel is recommended for security and bug fixes.

No specific workaround has been provided. It is advised to apply the recommended fix by updating the Linux Kernel.

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