CVE-2026-93811
N/A
N/A
Summary
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: Fix acl.sd_buf memory leak and invalid sd_size error handling
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.
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | 8f0541186e9ad1b62accc9519cc2b7a7240272a7 < c3836f55e0dab96314774215e12d87f63fa919f2 | affected |
| Linux | Linux | 8f0541186e9ad1b62accc9519cc2b7a7240272a7 < 6e6329322ad733c5b23555c609353841560b26bc | affected |
| Linux | Linux | 8f0541186e9ad1b62accc9519cc2b7a7240272a7 < d708a36634bb7b6f94d0e76d587d2ec50b2b93b5 | affected |
| Linux | Linux | cb69d4d6f709f87c94afa28ae64c501576692171 | affected |
| Linux | Linux | 6e8f4abf584253cbaa596ea4ad13110cf61cd4c9 | affected |
| Linux | Linux | 8e33102309bd6839b2e2e158f93a7b378cb4655d | affected |
| Linux | Linux | 5.15.62 < 5.16 | affected |
| Linux | Linux | 5.18.18 < 5.19 | affected |
| Linux | Linux | 5.19.2 < 5.20 | affected |
| Linux | Linux | 6.0 | affected |
| Linux | Linux | 0 < 6.0 | unaffected |
| Linux | Linux | 6.12.111 <= 6.12.* | unaffected |
| Linux | Linux | 6.18.53 <= 6.18.* | unaffected |
| Linux | Linux | 7.2 <= * | unaffected |
Weaknesses
References
- https://git.kernel.org/stable/c/c3836f55e0dab96314774215e12d87f63fa919f2
- https://git.kernel.org/stable/c/6e6329322ad733c5b23555c609353841560b26bc
- https://git.kernel.org/stable/c/d708a36634bb7b6f94d0e76d587d2ec50b2b93b5
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.