CVE-2026-93812
Severity unknownNo known exploitationFix availableksmbd: fix sd_ndr.data memory leak in ksmbd_vfs_set_sd_xattr
Record last updated
CVSS score
No score published yet
EPSS, chance of exploitation in 30 days
Higher than 7% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
Description
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.
Patching and mitigation
- Patch status
- Fix available (source: Microsoft MSRC)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- msrc.microsoft.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Linux | Linux | from 303fff2b8c77a85c62dbde3b27c24b084144c04c before c866c3314a6853eb06c7a8bef67f43c8a8bdfb6e | c866c3314a6853eb06c7a8bef67f43c8a8bdfb6e | CVE Program |
| Linux | Linux | from 303fff2b8c77a85c62dbde3b27c24b084144c04c before 306d6f370da7e0e5532dc51c972f4ce101e42431 | 306d6f370da7e0e5532dc51c972f4ce101e42431 | CVE Program |
| Linux | Linux | from 303fff2b8c77a85c62dbde3b27c24b084144c04c before dc55270e410ccb4d24e637c13b5c4c25bcd106d7 | dc55270e410ccb4d24e637c13b5c4c25bcd106d7 | CVE Program |
| Linux | Linux | from 303fff2b8c77a85c62dbde3b27c24b084144c04c before d4d56b00c7df88cd5751e7415bdfabc9fdbc82a7 | d4d56b00c7df88cd5751e7415bdfabc9fdbc82a7 | CVE Program |
| Linux | Linux | from 303fff2b8c77a85c62dbde3b27c24b084144c04c before 9b4dec75498fd0a1c9eaea680aef59c9519eb16f | 9b4dec75498fd0a1c9eaea680aef59c9519eb16f | CVE Program |
| Linux | Linux | from 303fff2b8c77a85c62dbde3b27c24b084144c04c before c521dd78e036b5e0cfd394dd2ff2218890dd9e41 | c521dd78e036b5e0cfd394dd2ff2218890dd9e41 | CVE Program |
| Linux | Linux | 5.15 | Not documented | CVE Program |
| Microsoft | azl4 kernel 6.18.50-1.5.azl4 on Azure Linux 4.0 | Not documented | 0:6.18.57-1.1.azl4 | Microsoft MSRC |
| Linux | Linux (unaffected) | from 5.15.222 up to and including 5.15.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.1.189 up to and including 6.1.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.12.111 up to and including 6.12.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.18.53 up to and including 6.18.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.6.158 up to and including 6.6.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | 7.2 | Not documented | CVE Program |
| Linux | Linux (unaffected) | all versions before 5.15 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by Linux
Source: CVE Program (opens in a new tab)
Advisory
Microsoft advisory published
Advisory change
Microsoft advisory revised (2.0): Information published.
Advisory change
Microsoft advisory revised (3.0): Information published.
Patch
Fix documented by Microsoft MSRC
Vendor guidance and references
- Microsoft Security Update Guide (opens in a new tab)vendor-advisory
- https://git.kernel.org/stable/c/306d6f370da7e0e5532dc51c972f4ce101e42431 (opens in a new tab)
- https://git.kernel.org/stable/c/9b4dec75498fd0a1c9eaea680aef59c9519eb16f (opens in a new tab)
- https://git.kernel.org/stable/c/c521dd78e036b5e0cfd394dd2ff2218890dd9e41 (opens in a new tab)
- https://git.kernel.org/stable/c/c866c3314a6853eb06c7a8bef67f43c8a8bdfb6e (opens in a new tab)
- https://git.kernel.org/stable/c/d4d56b00c7df88cd5751e7415bdfabc9fdbc82a7 (opens in a new tab)
- https://git.kernel.org/stable/c/dc55270e410ccb4d24e637c13b5c4c25bcd106d7 (opens in a new tab)