Kernel crash via unchecked SMB2 lease context
Published Sep 18, 2024 · Updated May 11, 2026
NULL pointer dereference in the Linux ksmbd SMB server allows attackers to crash the kernel through a malformed SMB2 lease request. In smb2_open(), parse_lease_state() can return NULL for a lease request, yet the code dereferences the resulting lease_ctx_info without checking it. The ksmbd server must be enabled and processing SMB2 lease-capable open requests; the documented consequence is a kernel crash, with no reported confidentiality or integrity impact.
Summary
What happened
NULL pointer dereference in the Linux ksmbd SMB server allows attackers to crash the kernel through a malformed SMB2 lease request. In smb2_open(), parse_lease_state() can return NULL for a lease request, yet the code dereferences the resulting lease_ctx_info without checking it. The ksmbd server must be enabled and processing SMB2 lease-capable open requests; the documented consequence is a kernel crash, with no reported confidentiality or integrity impact.
The record
- CVE
- CVE-2024-46742
- Published
- Sep 18, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-476, T1499.004
- Attack vector
- network
- Privileges
- Unavailable
Timeline
How it unfolded
- Sep 18, 2024CVE 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=0626e6641f6b467447c81dd7678a69c66f7746cf <07f384c5be1f8633b13f0a22616e227570450bc6
- Affected versionversion=0626e6641f6b467447c81dd7678a69c66f7746cf <3b692794b81f2ecad69a4adbba687f3836824ada
- Affected versionversion=0626e6641f6b467447c81dd7678a69c66f7746cf <4e8771a3666c8f216eefd6bd2fd50121c6c437db
- Affected versionversion=0626e6641f6b467447c81dd7678a69c66f7746cf <878f32878351104448b86ef5b85d1f8ed6f599fb
- Affected versionversion=0626e6641f6b467447c81dd7678a69c66f7746cf <ec28c35029b7930f31117f9284874b63bea4f31b
- Affected versionversion=5.15
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.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
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