CVE-2023-52755·Kernel vulnerability
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.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.6.3
- Published
- 2024-05-21
Affected versions
From: 6.6
Until: 6.6.3
Fixed in: 6.6.3
How to fix this CVE
Update your Linux kernel to version 6.6.3 or later to patch a critical memory corruption vulnerability in the ksmbd SMB server implementation. The vulnerability allows improper memory writes that could compromise system stability and security. Apply this update immediately, especially if your system exposes SMB shares to untrusted networks.
sudo dnf upgrade kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your kernel version with `uname -r` and verify it is 6.6.3 or newer
- Step 2: Confirm ksmbd is enabled by running `grep -i ksmbd /boot/config-$(uname -r)` — if CONFIG_SMB_SERVER=y or =m, the vulnerable module is active
- Step 3: Search system logs for memory-related kernel errors using `dmesg | grep -i 'slab\|out.of.bounds\|ksmbd'`
- Step 4: After patching, reboot and re-run `uname -r` to confirm the new kernel version is loaded
FAQ
What is CVE-2023-52755?
CVE-2023-52755 is a heap buffer overflow in the Linux kernel's ksmbd SMB server that occurs during DACL (Discretionary Access Control List) inheritance operations, allowing out-of-bounds writes that can corrupt memory and crash the system.
Is CVE-2023-52755 being actively exploited?
No, this vulnerability is not listed in CISA's Known Exploited Vulnerabilities catalog and no public exploits are currently available, though the high CVSS score (8.4) indicates it should be treated as urgent.
What versions of Kernel are affected by CVE-2023-52755?
Linux kernel versions 6.6 through 6.6.2 are vulnerable; the fix is included in kernel 6.6.3 and later.
How do I check if my server is vulnerable to CVE-2023-52755?
Run `uname -r` to check your kernel version — if it shows 6.6.0, 6.6.1, or 6.6.2, your system is vulnerable. Additionally, confirm ksmbd is loaded with `lsmod | grep ksmbd`.
Does Defensia detect CVE-2023-52755?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server running version 6.6.0–6.6.2, CVE-2023-52755 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/09d9d8b40a3338193619c14ed4dc040f4f119e70
- https://git.kernel.org/stable/c/712e01f32e577e7e48ab0adb5fe550646a3d93cb
- https://git.kernel.org/stable/c/8387c94d73ec66eb597c7a23a8d9eadf64bfbafa
- https://git.kernel.org/stable/c/aaf0a07d60887d6c36fc46a24de0083744f07819
- https://git.kernel.org/stable/c/eebff19acaa35820cb09ce2ccb3d21bee2156ffb
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2023-52755. Free for 1 server.
Get started free