Vulnerability in cifs package: NULL ptr dereference in smb2_ioctl_query_info()
Summary
GSD-2022-1002126: cifs: fix NULL ptr dereference in smb2_ioctl_query_info(). Affects Kernel versions < edefc4b2a8e8310eee8e2b1714709ad5b2a93928. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
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 →
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.
Follow Vulert in Google
Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.