Host crash via zero-length CIFS ioctl buffer
Published Feb 26, 2025 · Updated May 11, 2026
NULL pointer dereference in the Linux kernel CIFS client allows local users to crash the host through a crafted QUERY_INFO ioctl. smb2_ioctl_query_info() accepts a zero output_buffer_length for PASSTHRU_FSCTL, and memdup_user() returns a nonerror zero-size pointer that is later dereferenced. Exploitation requires local access to issue the ioctl against a file on a mounted CIFS share, and a successful trigger crashes the running kernel rather than only the calling process.
Summary
What happened
NULL pointer dereference in the Linux kernel CIFS client allows local users to crash the host through a crafted QUERY_INFO ioctl. smb2_ioctl_query_info() accepts a zero output_buffer_length for PASSTHRU_FSCTL, and memdup_user() returns a nonerror zero-size pointer that is later dereferenced. Exploitation requires local access to issue the ioctl against a file on a mounted CIFS share, and a successful trigger crashes the running kernel rather than only the calling process.
The record
- CVE
- CVE-2022-49271
- Published
- Feb 26, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-476, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Feb 26, 2025CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=5.5
- Affected versionversion=cfaa1181097f6a1a6f4f6670ebc97848efda0883 <7529fbee10d82493c5cb109e51788bf74816d1c0
- Affected versionversion=cfaa1181097f6a1a6f4f6670ebc97848efda0883 <9963ccea6087268e1275b992dca5d0dd4b938765
- Affected versionversion=cfaa1181097f6a1a6f4f6670ebc97848efda0883 <b92e358757b91c2827af112cae9af513f26a3f34
- Affected versionversion=cfaa1181097f6a1a6f4f6670ebc97848efda0883 <f143f8334fb9eb2f6c7c15b9da1472d9c965fd84
- Affected versionversion=cfaa1181097f6a1a6f4f6670ebc97848efda0883 <fadddfc1dc3c6f79b21cff4a7e9a6c40b84fbc53
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- Linux CIFS QUERY_INFO ioctl reproducerproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo