CVE-2026-93812
ksmbd: fix sd_ndr.data memory leak in ksmbd_vfs_set_sd_xattr
Reported by linux · Published September 24, 2026
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.
EPSS 0.17% · 6.9th 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 | d4d56b00c7df88cd5751e7415bdfabc9fdbc82a7, c521dd78e036b5e0cfd394dd2ff2218890dd9e41, 9b4dec75498fd0a1c9eaea680aef59c9519eb16f |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 303fff2b8c77a85c62dbde3b27c24b084144c04c, 303fff2b8c77a85c62dbde3b27c24b084144c04c, 303fff2b8c77a85c62dbde3b27c24b084144c04c |
| Linux | Linux | 5.15, 0, 5.15.222 |
| Linux | Linux | 6.6.158, 0, 303fff2b8c77a85c62dbde3b27c24b084144c04c |
| linux | linux_kernel | 5.15, 5.15, 5.15 |
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-93812
vulnetix vdb fixes CVE-2026-93812
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-93812/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart