CVE-2026-93811
ksmbd: Fix acl.sd_buf memory leak and invalid sd_size error handling
Reported by linux · Published September 24, 2026
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.
EPSS 0.17% · 6.7th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | 5.20 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | cb69d4d6f709f87c94afa28ae64c501576692171, 8f0541186e9ad1b62accc9519cc2b7a7240272a7, 8f0541186e9ad1b62accc9519cc2b7a7240272a7 |
| Linux | Linux | 6.0, 0, 5.15.222 |
| Linux | Linux | 6.6.158, 5.19.2, 6.0 |
| linux | linux_kernel | 6.0, 6.0, 5.18.18 |
Timeline
- Sep 24, 2026 Coalition ESS Score
- Sep 24, 2026 CVE Published
- Sep 25, 2026 EPSS Score (9 in total, the first dated here)
- Oct 3, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-93811
vulnetix vdb fixes CVE-2026-93811
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-93811/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart