CVE Catalog

CVE-2026-93812

Low risk· EPSS 5%
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.17%

5th percentile - higher than 5% of all known CVEs

Summary

In the Linux kernel, the ksmbd server's ksmbd_vfs_set_sd_xattr function does not free the sd_ndr.data buffer allocated by ndr_encode_v4_ntacl() when a subsequent ndr_write_*() call returns an error. This causes a memory leak.

Risk Assessment

Repeated memory leaks can gradually exhaust kernel resources and lead to denial of service (DoS) on the SMB server.

Recommendation

Update the Linux kernel to a version containing the fix that moves kfree(sd_ndr.data) into the out label to release the buffer on all paths.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix sd_ndr.data memory leak in ksmbd_vfs_set_sd_xattr ndr_encode_v4_ntacl() allocates sd_ndr.data via kzalloc() at entry. If any subsequent ndr_write_*() call returns error during encoding, the allocated sd_ndr.data won't be freed and causes memory leak. Move kfree(sd_ndr.data) into out label to ensure the buffer gets released on all success and error return paths.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS