CVE-2026-93811

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

Description

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.

Key facts

Published
24 Sep 2026
Last changed
3 Oct 2026
Assigned by
Linux
EPSS
0.173% likely to be exploited in the next 30 days, higher than 6.741% of CVEs (scores for 17 Nov 2026)

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
LinuxLinux
  • Default status: unaffected
  • cb69d4d6f709f87c94afa28ae64c501576692171 up to but excluding f46a70a082bdbfecbe074af8a719c26c4deb58c6 (affected)
  • 8f0541186e9ad1b62accc9519cc2b7a7240272a7 up to but excluding 86c2625fb9863139b359805fc6be1e31edbd3d65 (affected)
  • 8f0541186e9ad1b62accc9519cc2b7a7240272a7 up to but excluding edc17db83085624a2b1bacf6a4521d7f15571737 (affected)
  • 8f0541186e9ad1b62accc9519cc2b7a7240272a7 up to but excluding c3836f55e0dab96314774215e12d87f63fa919f2 (affected)
  • 8f0541186e9ad1b62accc9519cc2b7a7240272a7 up to but excluding 6e6329322ad733c5b23555c609353841560b26bc (affected)
  • 8f0541186e9ad1b62accc9519cc2b7a7240272a7 up to but excluding d708a36634bb7b6f94d0e76d587d2ec50b2b93b5 (affected)
  • 6e8f4abf584253cbaa596ea4ad13110cf61cd4c9 (affected)
  • 8e33102309bd6839b2e2e158f93a7b378cb4655d (affected)
  • 5.15.62 up to but excluding 5.15.222 (affected)
  • 5.18.18 up to but excluding 5.19 (affected)
  • 5.19.2 up to but excluding 5.20 (affected)
LinuxLinux
  • Default status: affected
  • 6.0 (affected)
  • 0 up to but excluding 6.0 (unaffected)
  • 5.15.222 up to and including 5.15.* (unaffected)
  • 6.1.189 up to and including 6.1.* (unaffected)
  • 6.6.158 up to and including 6.6.* (unaffected)
  • 6.12.111 up to and including 6.12.* (unaffected)
  • 6.18.53 up to and including 6.18.* (unaffected)
  • 7.2 up to and including * (unaffected)

Timeline

  1. 24 Sep 2026 Published

References