← back
CVE-2023-52755criticalCWE-787

ksmbd: fix slab out of bounds write in smb_inherit_dacl()

33Vexday Risk Score

No sign of exploitation. No public exploitation artifact known so far.

ssvc Trackcvss 9.8epss 28%
exploitation probability
28%top 2% of all CVEs
observed exploitation
nono source reports it
In short

A memory overflow vulnerability in the Linux kernel's ksmbd SMB server allows writing data beyond allocated memory boundaries in the smb_inherit_dacl() function. This can be exploited by an attacker to corrupt memory and potentially crash the system or execute arbitrary code.

Technical detail

The vulnerability occurs when offset values in SMB ACL inheritance operations exceed the allocated buffer size for the parent security descriptor (pntsd), resulting in out-of-bounds writes. The flaw affects ksmbd's smb_inherit_dacl() function; an authenticated SMB client can trigger this by sending specially crafted requests with malformed ACL data. Exploitation requires network access to the ksmbd service and valid SMB authentication credentials.

Summary generated and translated by AI from the 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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
Linux · Linux