CVE-2026-93811

published 24 Sep 2026 · updated 17 Nov 2026

ksmbd: Fix acl.sd_buf memory leak and invalid sd_size error handling

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f46a70a082bdbfecbe074af8a719c26c4deb58c6, Kernel 5.19, Kernel 5.20 and 10 more.

In the Linux kernel, the following vulnerability has been resolved: ksmbd: Fix acl.sd_buf memory leak and invalid sd_size error handling 1. When ndr_decode_v4_ntacl() fails, the code jumped to free_n_data which only freed n.data, skipping kfree(acl.sd_buf) and leaking the buffer. Zero-initialize struct xattr_ntacl acl, reorder error labels to out_free to release acl.sd_buf on all error paths. 2. if (acl.sd_size < sizeof(struct smb_ntsd)) is true, original code returned success without freeing sd_buf and left stale *pntsd. Set rc = -EINVAL before jumping to out_free to return error code and free buffer.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=cb69d4d6f709f87c94afa28ae64c501576692171 <f46a70a082bdbfecbe074af8a719c26c4deb58c6, >=5.18.18 <5.19, >=5.19.2 <5.20, >=8f0541186e9ad1b62accc9519cc2b7a7240272a7 <6e6329322ad733c5b23555c609353841560b26bc, >=8f0541186e9ad1b62accc9519cc2b7a7240272a7 <86c2625fb9863139b359805fc6be1e31edbd3d65, >=8f0541186e9ad1b62accc9519cc2b7a7240272a7 <c3836f55e0dab96314774215e12d87f63fa919f2, >=8f0541186e9ad1b62accc9519cc2b7a7240272a7 <d708a36634bb7b6f94d0e76d587d2ec50b2b93b5, >=8f0541186e9ad1b62accc9519cc2b7a7240272a7 <edc17db83085624a2b1bacf6a4521d7f15571737, =6.0, =6e8f4abf584253cbaa596ea4ad13110cf61cd4c9, =8e33102309bd6839b2e2e158f93a7b378cb4655d, >=5.15.62 <5.15.222f46a70a082bdbfecbe074af8a719c26c4deb58c6, 5.19, 5.20, 6e6329322ad733c5b23555c609353841560b26bc, 86c2625fb9863139b359805fc6be1e31edbd3d65, c3836f55e0dab96314774215e12d87f63fa919f2, d708a36634bb7b6f94d0e76d587d2ec50b2b93b5, edc17db83085624a2b1bacf6a4521d7f15571737, 5.15.222
linux-kernel: Kernel>=5.18.18 <5.19, >=5.19.2 <5.20, >=6.0.0 <6.1.189, >=6.13.0 <6.18.53, >=6.2.0 <6.6.158, >=6.7.0 <6.12.111, >=5.15.62 <5.15.2225.19, 5.20, 6.1.189, 6.18.53, 6.6.158, 6.12.111, 5.15.222

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-93811 severity on Zeptric[![CVE-2026-93811](https://zeptric.io/badge/cve/CVE-2026-93811.svg)](https://zeptric.io/cve/CVE-2026-93811)