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-1001913: cifs: fix NULL ptr dereference in smb2_ioctl_query_info(). Affects Kernel versions < 39a4bf7d1a23dd172526c2fb0db480c5d5c63bd6. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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. CIFS is widely used for network file sharing in mixed Windows and Linux environments. The vulnerability in question involves a NULL pointer dereference in the smb2_ioctl_query_info() function of the cifs package.

Vulnerability Detail

The vulnerability arises from a NULL pointer dereference in the smb2_ioctl_query_info() function of the cifs package. This can occur when the function is called with a specific set of parameters, leading to a crash or potential code execution. The impact and attack plausibility of this vulnerability have not been proven yet. However, if successfully exploited, an attacker could potentially gain unauthorized access to sensitive information or disrupt the normal operation of the affected system. The vulnerability has been fixed in the Linux Kernel version v5.15.33 by commit 39a4bf7d1a23dd172526c2fb0db480c5d5c63bd6.

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 →

Conclusion

The cifs package in the Linux Kernel is vulnerable to a NULL pointer dereference in the smb2_ioctl_query_info() function. This vulnerability can potentially lead to unauthorized access or system disruption. It is recommended to update the Linux Kernel to version v5.15.33 or later to mitigate this vulnerability. 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 ecosystem that provides support for the Common Internet File System (CIFS) protocol, enabling Linux systems to access files and resources on remote Windows servers.

A NULL pointer dereference occurs when a program attempts to access or manipulate memory using a pointer that has not been assigned a valid memory address (i.e., it points to NULL). This can lead to crashes, unexpected behavior, or potential security vulnerabilities.

The smb2_ioctl_query_info() function is a specific function within the cifs package that is responsible for querying information from a remote Windows server using the SMB2 protocol. It is used to retrieve various attributes and metadata about files or directories.

If successfully exploited, this vulnerability could allow an attacker to gain unauthorized access to sensitive information stored on remote Windows servers or disrupt the normal operation of the affected system.

Yes, this vulnerability has been fixed in the Linux Kernel version v5.15.33 by commit 39a4bf7d1a23dd172526c2fb0db480c5d5c63bd6.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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