Vulnerability in cifs package: NULL ptr dereference in smb2_ioctl_query_info()

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1002126: cifs: fix NULL ptr dereference in smb2_ioctl_query_info(). Affects Kernel versions < edefc4b2a8e8310eee8e2b1714709ad5b2a93928. 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) protocol, allowing Linux systems to access files and resources on remote Windows servers. The package is widely used in Linux distributions and is critical for enabling file sharing and network communication between Linux and Windows systems. However, a vulnerability has been discovered in the package that could lead to a NULL pointer dereference in the smb2_ioctl_query_info() function.

Vulnerability Detail

The vulnerability in the cifs package arises from a NULL pointer dereference in the smb2_ioctl_query_info() function. This function is responsible for handling IOCTL requests related to querying file information. When a specific IOCTL request is made, the function fails to properly validate a pointer, leading to a NULL pointer dereference. An attacker could exploit this vulnerability by sending a specially crafted IOCTL request, causing the function to dereference a NULL pointer and potentially resulting in a system crash or arbitrary code execution. The impact and attack plausibility of this vulnerability have not been proven yet.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.10.110 or later. The vulnerability has been addressed in the Linux Kernel commit edefc4b2a8e8310eee8e2b1714709ad5b2a93928. Updating to the latest version of the Kernel will ensure that the NULL pointer dereference issue in smb2_ioctl_query_info() is resolved.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Conclusion

The cifs package in the Linux Kernel is vulnerable to a NULL pointer dereference issue in the smb2_ioctl_query_info() function. To mitigate this vulnerability, it is crucial to update the Linux Kernel to version v5.10.110 or later. 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 ecosystem that provides support for the Common Internet File System (CIFS) protocol, enabling Linux systems to access files and resources on remote Windows servers.

The impact of this vulnerability is not yet proven. However, if successfully exploited, it could lead to a system crash or arbitrary code execution.

To fix this vulnerability, update the Linux Kernel to version v5.10.110 or later, which includes the necessary fix for the NULL pointer dereference issue in smb2_ioctl_query_info().

No specific workaround has been mentioned for this vulnerability. It is recommended to update the Linux Kernel to the fixed version.

You can find more information about this vulnerability in the Open Source Vulnerability database entry GSD-2022-1002126: https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1002xxx/GSD-2022-1002126.json

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.10.110 or later. The vulnerability has been addressed in the Linux Kernel commit edefc4b2a8e8310eee8e2b1714709ad5b2a93928. Updating to the latest version of the Kernel will ensure that the NULL pointer dereference issue in smb2_ioctl_query_info() is resolved.

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.