What’s Vulnerable › Vulnerabilities
CVE-2023-3867: ksmbd: fix out of bounds read in smb2_sess_setup
- Severity: high (CVSS 7.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 6.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-08-16 · updated 2026-08-15
- Weakness: CWE-125
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix out of bounds read in smb2_sess_setup ksmbd does not consider the case of that smb2 session setup is in compound request. If this is the second payload of the compound, OOB read issue occurs while processing the first payload in the smb2_sess_setup().
Affected products
- Linux kernel: from 5.15 before 5.15.145; from 5.16 before 6.1.40; from 6.2 before 6.4.5 — fixed in 5.15.145, 6.1.40, 6.4.5
How to fix
Upgrade to a fixed version: Linux kernel 5.15.145, 6.1.40, 6.4.5. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/2ba03cecb12ac7ac9e0170e251543c56832d9959
- https://git.kernel.org/stable/c/676392184785ace61e939831e7ca44a03d438c3b
- https://git.kernel.org/stable/c/98422bdd4cb3ca4d08844046f6507d7ec2c2b8d8
- https://git.kernel.org/stable/c/ef572ffa8eb44111eed2925fbb2adca78bdcbf61
Get alerted when CVE-2023-3867 or the next vulnerability affects your stack