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-1000879: cifs: fix double free race when mount fails in cifs_get_root(). Affects Kernel versions < e208668ef7ba23efcbf76a8200cab8deee501c4d. 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 cifs package is a component of the Linux Kernel ecosystem. It provides support for the Common Internet File System (CIFS), which allows Linux systems to access files and resources on remote Windows servers. The cifs_get_root() function is responsible for mounting CIFS shares and retrieving the root directory. However, a vulnerability exists in this function that can lead to a double free race condition when the mount operation fails.

Vulnerability Detail

The double free race vulnerability in cifs_get_root() occurs when there is a race condition during the handling of a failed mount operation. This can be exploited by an attacker to cause a use-after-free condition, potentially leading to arbitrary code execution or a system crash. The vulnerability was discovered in the Linux Kernel and has a CVSS score of X.X. It has been fixed in Linux Kernel version v5.4.183 by commit e208668ef7ba23efcbf76a8200cab8deee501c4d.

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 known workaround for this vulnerability. It is crucial to update the Linux Kernel to the fixed version as soon as possible.

Conclusion

The double free race vulnerability in the cifs package can be mitigated by updating the Linux Kernel to version v5.4.183 or later. It is crucial to apply this update to ensure the security and stability of the system. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The cifs package is a component of the Linux Kernel that provides support for the Common Internet File System (CIFS), allowing Linux systems to access files and resources on remote Windows servers.

The cifs_get_root() function is responsible for mounting CIFS shares and retrieving the root directory.

A double free race vulnerability occurs when there is a race condition during the handling of a failed operation, leading to a use-after-free condition.

This vulnerability can potentially be exploited by an attacker to execute arbitrary code or crash the system.

To fix this vulnerability, update the Linux Kernel to version v5.4.183 or later.

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