CVE-2023-3867 ksmbd: fix out of bounds read in smb2_sess_setup
An out-of-bounds read in the Linux kernel's ksmbd module allows attackers to cause denial of service or disclose sensitive memory contents.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-3867?
CVE-2023-3867 is a critical memory corruption vulnerability in Linux kernel, published on 16 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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().
Weakness: CWE-125
Which versions are affected by CVE-2023-3867?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2023-3867?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2023-3867 being exploited?
There is no known exploitation of CVE-2023-3867 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2023-3867, DEBIAN-CVE-2023-3867, GHSA-pm54-8x3h-h6h9, UBUNTU-CVE-2023-3867.