CVE-2026-93811

ksmbd: Fix acl.sd_buf memory leak and invalid sd_size error handling

No CVSS score yet EPSS 0.17%

Published 24 Sep 2026 Updated 3 Oct 2026 CNA: Linux

Check your servers for CVE-2026-93811

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-93811 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 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.

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 cb69d4d6f709f87c94afa28ae64c501576692171, before f46a70a082bdbfecbe074af8a719c26c4deb58c6
affected from 8f0541186e9ad1b62accc9519cc2b7a7240272a7, before 86c2625fb9863139b359805fc6be1e31edbd3d65
affected from 8f0541186e9ad1b62accc9519cc2b7a7240272a7, before edc17db83085624a2b1bacf6a4521d7f15571737
affected from 8f0541186e9ad1b62accc9519cc2b7a7240272a7, before c3836f55e0dab96314774215e12d87f63fa919f2
affected from 8f0541186e9ad1b62accc9519cc2b7a7240272a7, before 6e6329322ad733c5b23555c609353841560b26bc
affected from 8f0541186e9ad1b62accc9519cc2b7a7240272a7, before d708a36634bb7b6f94d0e76d587d2ec50b2b93b5
affected 6e8f4abf584253cbaa596ea4ad13110cf61cd4c9
affected 8e33102309bd6839b2e2e158f93a7b378cb4655d
affected from 5.15.62, before 5.15.222
affected from 5.18.18, before 5.19
affected from 5.19.2, before 5.20
Other versions: unaffected
Linux
affected 6.0
unaffected before 6.0
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-93811 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-93811

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-93811
trivy image --scanners vuln IMAGE | grep CVE-2026-93811

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-93811 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.