# CVE-2023-3867: ksmbd: fix out of bounds read in smb2_sess_setup

- Severity: Critical 9.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 10.9%, higher than 95% of CVEs (2026-12-01)
- Published: 2025-08-16T13:29:51.946Z
- Modified: 2026-08-15T13:17:39.563Z
- Weaknesses: CWE-125
- Assigned by: Linux

## 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().

(As written by CVE List.)

## Affected

- Linux Linux: from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 676392184785ace61e939831e7ca44a03d438c3b; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before ef572ffa8eb44111eed2925fbb2adca78bdcbf61; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 2ba03cecb12ac7ac9e0170e251543c56832d9959; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 98422bdd4cb3ca4d08844046f6507d7ec2c2b8d8; 5.15 (not affected: before 5.15; from 5.15.145 up to 5.15.*; from 6.1.40 up to 6.1.*; from 6.4.5 up to 6.4.*; from 6.5 up to *)
- linux linux_kernel: from 5.15 before 5.15.145; from 5.16 before 6.1.40; from 6.2 before 6.4.5

## Every score

- Linux: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/676392184785ace61e939831e7ca44a03d438c3b> (patch)
- <https://git.kernel.org/stable/c/ef572ffa8eb44111eed2925fbb2adca78bdcbf61> (patch)
- <https://git.kernel.org/stable/c/2ba03cecb12ac7ac9e0170e251543c56832d9959> (patch)
- <https://git.kernel.org/stable/c/98422bdd4cb3ca4d08844046f6507d7ec2c2b8d8> (patch)

## Sources

- CVE List: [CVE-2023-3867](https://www.cve.org/CVERecord?id=CVE-2023-3867), CVE Terms of Use, modified 2026-08-15
- NVD: [CVE-2023-3867](https://nvd.nist.gov/vuln/detail/CVE-2023-3867), Public domain, modified 2026-08-15

---

Page: https://cve.day/CVE-2023-3867 · Whole record: https://cve.day/CVE-2023-3867.json · Rebuilt by cve.day 2026-11-25T22:58:34.735Z
