Unauthenticated information disclosure via wrong compound header
Published Feb 21, 2024 · Updated Aug 5, 2026
Improper request validation in Linux kernel ksmbd allows remote attackers to disclose sensitive kernel information through SMB. smb2_get_ksmbd_tcon() and smb2_check_user_session() read the first SMB2 header rather than the current compound command, allowing a leading tree-connect command to skip tree-ID validation. The flaw is remotely reachable without authentication only when ksmbd is enabled; ZDI reports that it can support a chain to kernel code execution.
Summary
What happened
Improper request validation in Linux kernel ksmbd allows remote attackers to disclose sensitive kernel information through SMB. smb2_get_ksmbd_tcon() and smb2_check_user_session() read the first SMB2 header rather than the current compound command, allowing a leading tree-connect command to skip tree-ID validation. The flaw is remotely reachable without authentication only when ksmbd is enabled; ZDI reports that it can support a chain to kernel code execution.
The record
- CVE
- CVE-2023-52442
- Published
- Feb 21, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Feb 21, 2024CVE publishedPublication date reported by the CVE source.
- Aug 5, 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 <017d85c94f02090a87f4a473dbe0d6ee0da72693
- Affected versionversion=0626e6641f6b467447c81dd7678a69c66f7746cf <3df0411e132ee74a87aa13142dfd2b190275332e
- Affected versionversion=0626e6641f6b467447c81dd7678a69c66f7746cf <4c2b350b2e269e3fd17bbfa42de1b42775b777ac
- Affected versionversion=0626e6641f6b467447c81dd7678a69c66f7746cf <becb5191d1d5fdfca0198a2e37457bbbf4fe266f
- 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