# CVE-2023-52755: ksmbd: fix slab out of bounds write in smb_inherit_dacl()

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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): 28.1%, higher than 98% of CVEs (2026-12-01)
- Published: 2024-05-21T15:30:42.898Z
- Modified: 2026-08-05T09:11:14.857Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 0626e6641f6b467447c81dd7678a69c66f7746cf before aaf0a07d60887d6c36fc46a24de0083744f07819; from 0626e6641f6b467447c81dd7678a69c66f7746cf before 8387c94d73ec66eb597c7a23a8d9eadf64bfbafa; from 0626e6641f6b467447c81dd7678a69c66f7746cf before 09d9d8b40a3338193619c14ed4dc040f4f119e70; from 0626e6641f6b467447c81dd7678a69c66f7746cf before 712e01f32e577e7e48ab0adb5fe550646a3d93cb; from 0626e6641f6b467447c81dd7678a69c66f7746cf before eebff19acaa35820cb09ce2ccb3d21bee2156ffb; 5.15 (not affected: before 5.15; from 5.15.140 up to 5.15.*; from 6.1.64 up to 6.1.*; from 6.5.13 up to 6.5.*; from 6.6.3 up to 6.6.*; from 6.7 up to *)
- linux linux_kernel: from 1da177e4c3f4 before aaf0a07d6088; from 1da177e4c3f4 before 8387c94d73ec; from 1da177e4c3f4 before 09d9d8b40a33; from 1da177e4c3f4 before 712e01f32e57; from 1da177e4c3f4 before eebff19acaa3; from 5.15 before 5.15.140; from 5.16 before 6.1.64; from 6.2 before 6.5.13; from 6.6 before 6.6.3

## Every score

- Linux: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 8.4 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/aaf0a07d60887d6c36fc46a24de0083744f07819> (patch)
- <https://git.kernel.org/stable/c/8387c94d73ec66eb597c7a23a8d9eadf64bfbafa> (patch)
- <https://git.kernel.org/stable/c/09d9d8b40a3338193619c14ed4dc040f4f119e70> (patch)
- <https://git.kernel.org/stable/c/712e01f32e577e7e48ab0adb5fe550646a3d93cb> (patch)
- <https://git.kernel.org/stable/c/eebff19acaa35820cb09ce2ccb3d21bee2156ffb> (patch)

## Sources

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

---

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