Double Free Vulnerability in cifs Package

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1003422: cifs: fix potential double free during failed mount. Affects Kernel versions < ce0008a0e410cdd95f0d8cd81b2902ec10a660c4. 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 Your last release was probably never penetration tested 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, which is responsible for providing support for the Common Internet File System (CIFS) protocol. CIFS allows Linux systems to access files and resources on remote Windows servers. The package includes various functions and modules that handle the mounting and management of CIFS shares. However, a vulnerability has been discovered in the package that could lead to a double free during a failed mount operation.

Vulnerability Detail

The identified vulnerability in the cifs package occurs when a mount operation fails. In such cases, there is a potential for a double free, which can result in memory corruption and potentially lead to a system crash or arbitrary code execution. This vulnerability could be exploited by an attacker who can trigger a failed mount operation, either by providing malicious input or by exploiting other weaknesses in the system. The impact of this vulnerability can vary depending on the context and privileges of the affected system.

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 minimize the risk by following general security best practices, such as keeping their systems up to date with the latest patches and updates, and implementing strong access controls to limit the exposure of the cifs package.

Conclusion

The double free vulnerability in the cifs package can lead to memory corruption and potential system crashes or arbitrary code execution. It is crucial to update the Linux Kernel to the latest version to mitigate this risk. For further support and assistance 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 that provides support for the Common Internet File System (CIFS) protocol, allowing Linux systems to access files and resources on remote Windows servers.

A double free vulnerability occurs when a program attempts to free a memory block that has already been freed. This can lead to memory corruption and potentially enable an attacker to execute arbitrary code or crash the system.

This vulnerability can be exploited by triggering a failed mount operation in the cifs package. An attacker may achieve this by providing malicious input or by exploiting other weaknesses in the system.

The impact of this vulnerability can vary depending on the context and privileges of the affected system. It could potentially lead to a system crash or allow an attacker to execute arbitrary code.

To mitigate the risk of this vulnerability, it is recommended to update the Linux Kernel to version v5.15.46 or later, which includes the fix for this issue. Additionally, following general security best practices, such as keeping systems up to date and implementing strong access controls, can help minimize the risk.

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