CVE-2023-52442ksmbd: validate session id and tree id in compound request
- 9.1CriticalCVSS base score
- 29.6%Exploitation in 30 daysEPSS · top 1.8% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: validate session id and tree id in compound request `smb2_get_msg()` in smb2_get_ksmbd_tcon() and smb2_check_user_session() will always return the first request smb2 header in a compound request. if `SMB2_TREE_CONNECT_HE` is the first command in compound request, will return 0, i.e. The tree id check is skipped. This patch use ksmbd_req_buf_next() to get current command in compound.
Timeline
ID reserved
By Linux
- 1 day later
· 1 day later
Published
- 2 years later
· 2 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | Critical9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| CISA-ADPADP (enrichment) | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 29.6% · top 1.8% of all CVEs (19 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.1.
Affected products
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < 017d85c94f02090a87f4a473dbe0d6ee0da72693
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < becb5191d1d5fdfca0198a2e37457bbbf4fe266f
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < 4c2b350b2e269e3fd17bbfa42de1b42775b777ac
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < 3df0411e132ee74a87aa13142dfd2b190275332e
- affected 5.15
- unaffected < 5.15
- unaffected 5.15.145 – ≤ 5.15.*
- unaffected 6.1.53 – ≤ 6.1.*
- unaffected 6.4.16 – ≤ 6.4.*
- unaffected 6.5 – ≤ *
References
References4
- https://git.kernel.org/stable/c/017d85c94f02090a87f4a473dbe0d6ee0da72693 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/becb5191d1d5fdfca0198a2e37457bbbf4fe266f (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/4c2b350b2e269e3fd17bbfa42de1b42775b777ac (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/3df0411e132ee74a87aa13142dfd2b190275332e (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2023-57067 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2023-52442)Record last updated .