CVE-2026-93812

ksmbd: fix sd_ndr.data memory leak in ksmbd_vfs_set_sd_xattr

No CVSS score yet EPSS 0.17%

Published 24 Sep 2026 Updated 3 Oct 2026 CNA: Linux

Check your servers for CVE-2026-93812

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-93812 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.00% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 303fff2b8c77a85c62dbde3b27c24b084144c04c, before 306d6f370da7e0e5532dc51c972f4ce101e42431
affected from 303fff2b8c77a85c62dbde3b27c24b084144c04c, before dc55270e410ccb4d24e637c13b5c4c25bcd106d7
affected from 303fff2b8c77a85c62dbde3b27c24b084144c04c, before c866c3314a6853eb06c7a8bef67f43c8a8bdfb6e
affected from 303fff2b8c77a85c62dbde3b27c24b084144c04c, before 9b4dec75498fd0a1c9eaea680aef59c9519eb16f
affected from 303fff2b8c77a85c62dbde3b27c24b084144c04c, before c521dd78e036b5e0cfd394dd2ff2218890dd9e41
affected from 303fff2b8c77a85c62dbde3b27c24b084144c04c, before d4d56b00c7df88cd5751e7415bdfabc9fdbc82a7
Other versions: unaffected
Linux
affected 5.15
unaffected before 5.15
unaffected from 5.15.222 up to and including 5.15.*
unaffected from 6.1.189 up to and including 6.1.*
unaffected from 6.6.158 up to and including 6.6.*
unaffected from 6.12.111 up to and including 6.12.*
unaffected from 6.18.53 up to and including 6.18.*
unaffected 7.2 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-93812 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-93812

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-93812
trivy image --scanners vuln IMAGE | grep CVE-2026-93812

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-93812 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.