Double Free Vulnerability in cifs Package

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1003163: cifs: fix potential double free during failed mount. Affects Kernel versions < 9a167fc440e5693c1cdd7f07071e05658bd9d89d. 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 part of the Linux Kernel ecosystem and 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. It is widely used for network file sharing and provides features like authentication, file and directory access, and file locking. However, a vulnerability has been discovered in the cifs package that could lead to a potential double free during a failed mount operation.

Vulnerability Detail

The vulnerability in the cifs package arises during a failed mount operation. When attempting to mount a remote file system using CIFS, if the mount operation fails, there is a possibility of a double free occurring. A double free vulnerability occurs when a program attempts to free a memory block that has already been freed, potentially leading to memory corruption and exploitation by an attacker. In this case, an attacker could potentially trigger the double free vulnerability during a failed mount operation and execute arbitrary code or cause a denial of service.

How To Fix

No fixed version is published for this vulnerability.

The vulnerability has been fixed in the Linux Kernel version v5.17.14 by commit 9a167fc440e5693c1cdd7f07071e05658bd9d89d. To fix the vulnerability, users are advised to update their Linux Kernel to version v5.17.14 or later. This can be done by downloading the updated kernel source code from the official Linux Kernel repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and compiling it for their specific system. Alternatively, users can also wait for their Linux distribution to release an updated package containing the fixed version of the kernel.

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. The recommended approach is to apply the fix by updating the Linux Kernel to the patched version.

Conclusion

The cifs package in the Linux Kernel is vulnerable to a double free vulnerability during a failed mount operation. This vulnerability has been fixed in the Linux Kernel version v5.17.14. Users are advised to update their Linux Kernel to the patched version to mitigate the risk. For further support on 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, potentially leading to memory corruption and exploitation by an attacker.

The vulnerability can be fixed by updating the Linux Kernel to version v5.17.14 or later. Users can download the updated kernel source code from the official Linux Kernel repository and compile it for their system.

There are no specific workarounds mentioned for this vulnerability. The recommended approach is to apply the fix by updating the Linux Kernel.

If exploited, this vulnerability could allow an attacker to execute arbitrary code or cause a denial of service on a system running the vulnerable version of the cifs package.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

The vulnerability has been fixed in the Linux Kernel version v5.17.14 by commit 9a167fc440e5693c1cdd7f07071e05658bd9d89d. To fix the vulnerability, users are advised to update their Linux Kernel to version v5.17.14 or later. This can be done by downloading the updated kernel source code from the official Linux Kernel repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and compiling it for their specific system. Alternatively, users can also wait for their Linux distribution to release an updated package containing the fixed version of the kernel.

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

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.