CVE-2023-52755 ksmbd: fix slab out of bounds write in smb_inherit_dacl()
A slab out-of-bounds write in the Linux kernel's ksmbd module allows attackers to potentially execute arbitrary code or escalate privileges.
- 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-52755?
CVE-2023-52755 is a critical memory corruption vulnerability in Linux kernel, published on 21 May 2024. 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 slab out of bounds write in smb_inherit_dacl()
slab out-of-bounds write is caused by that offsets is bigger than pntsd allocation size. This patch add the check to validate 3 offsets using allocation size.
Weakness: CWE-787
Which versions are affected by CVE-2023-52755?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2023-52755?
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-52755 being exploited?
There is no known exploitation of CVE-2023-52755 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-47639, AZL-47691, BELL-CVE-2023-52755, DEBIAN-CVE-2023-52755, GHSA-hmgr-x2j2-pxwh, UBUNTU-CVE-2023-52755.