{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-93812","id":"CVE-2026-93812","title":"ksmbd: fix sd_ndr.data memory leak in ksmbd_vfs_set_sd_xattr","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix sd_ndr.data memory leak in ksmbd_vfs_set_sd_xattr\n\nndr_encode_v4_ntacl() allocates sd_ndr.data via kzalloc() at entry.\nIf any subsequent ndr_write_*() call returns error during encoding,\nthe allocated sd_ndr.data won't be freed and causes memory leak.\n\nMove kfree(sd_ndr.data) into out label to ensure the buffer gets\nre","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix sd_ndr.data memory leak in ksmbd_vfs_set_sd_xattr\n\nndr_encode_v4_ntacl() allocates sd_ndr.data via kzalloc() at entry.\nIf any subsequent ndr_write_*() call returns error during encoding,\nthe allocated sd_ndr.data won't be freed and causes memory leak.\n\nMove kfree(sd_ndr.data) into out label to ensure the buffer gets\nreleased on all success and error return paths.","published":"2026-09-24T16:02:49.060Z","updated":"2026-10-28T02:31:11.288537300Z","reserved":"2026-09-18T17:59:28.790Z","status":"Received","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"303fff2b8c77a85c62dbde3b27c24b084144c04c","lessThan":"306d6f370da7e0e5532dc51c972f4ce101e42431","status":"affected","versionType":"git"},{"version":"303fff2b8c77a85c62dbde3b27c24b084144c04c","lessThan":"dc55270e410ccb4d24e637c13b5c4c25bcd106d7","status":"affected","versionType":"git"},{"version":"303fff2b8c77a85c62dbde3b27c24b084144c04c","lessThan":"c866c3314a6853eb06c7a8bef67f43c8a8bdfb6e","status":"affected","versionType":"git"},{"version":"303fff2b8c77a85c62dbde3b27c24b084144c04c","lessThan":"9b4dec75498fd0a1c9eaea680aef59c9519eb16f","status":"affected","versionType":"git"},{"version":"303fff2b8c77a85c62dbde3b27c24b084144c04c","lessThan":"c521dd78e036b5e0cfd394dd2ff2218890dd9e41","status":"affected","versionType":"git"},{"version":"303fff2b8c77a85c62dbde3b27c24b084144c04c","lessThan":"d4d56b00c7df88cd5751e7415bdfabc9fdbc82a7","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","lessThan":"5.15","status":"unaffected","versionType":"semver"},{"version":"5.15.222","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.189","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.158","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.111","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.53","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/306d6f370da7e0e5532dc51c972f4ce101e42431","tags":["web"]},{"url":"https://git.kernel.org/stable/c/dc55270e410ccb4d24e637c13b5c4c25bcd106d7","tags":["web"]},{"url":"https://git.kernel.org/stable/c/c866c3314a6853eb06c7a8bef67f43c8a8bdfb6e","tags":["web"]},{"url":"https://git.kernel.org/stable/c/9b4dec75498fd0a1c9eaea680aef59c9519eb16f","tags":["web"]},{"url":"https://git.kernel.org/stable/c/c521dd78e036b5e0cfd394dd2ff2218890dd9e41","tags":["web"]},{"url":"https://git.kernel.org/stable/c/d4d56b00c7df88cd5751e7415bdfabc9fdbc82a7","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93812.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-93812","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00173,"epssPercentile":0.06815,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-93812","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-93812","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-93812","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-93812","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}