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.
Published: 2026-09-24
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service (resource exhaustion)
Action: Immediate Patch
AI Analysis

Impact

The vulnerability occurs in the Linux kernel's ksmbd SMB server daemon. When the ACL buffer is decoded, the error handling path fails to free the allocated buffer, resulting in a memory leak. Additionally, the code incorrectly treats a short server data buffer as successful, leaving a stale pointer and still leaking memory. This flaw can cause the kernel to consume progressively more memory, potentially exhausting system resources and leading to a denial of service. The weakness is a classic memory resource mismanagement issue.

Affected Systems

All Linux kernel releases that contain the ksmbd component are affected. No specific version range is listed in the advisory, so any kernel that has not applied this patch could be vulnerable. The flaw affects the kernel's SMB server functionality, so systems running the ksmbd service or any applications that rely on SMB interoperability are in scope.

Risk and Exploitability

The CVSS score of 5.5 and EPSS score of < 1% suggest moderate severity but low exploitation probability. The vulnerability is documented in the kernel's source history and has an associated patch in the mainline. Although no denial of service exploits have been reported in the CISA KEV catalog, the bug can be exercised by triggering the offending ACL decode path in ksmbd, which would require an attacker to interact with the SMB service or otherwise cause the failure. The likely attack vector is inferred to be local or remote SMB traffic that leads to the decoding failure. Given the potential for resource exhaustion, system administrators should treat this as a high‑risk kernel defect until a patch is applied.

Generated by OpenCVE AI on October 1, 2026 at 20:01 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update your Linux kernel to a release that contains the ksmbd patch for the acl.sd_buf memory leak and invalid sd_size handling.
  • If an immediate kernel upgrade is not feasible, isolate the system from external SMB traffic or disable the ksmbd service until the patch can be installed.
  • Deploy firewall rules to block SMB ports (445 and 139) from untrusted networks until the kernel patch becomes available.

Generated by OpenCVE AI on October 1, 2026 at 20:01 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4817-1 linux-6.12 security update
Debian DLA Debian DLA DLA-4841-1 linux security update
Debian DSA Debian DSA DSA-6528-1 linux security update
Ubuntu USN Ubuntu USN USN-8961-1 Linux kernel vulnerabilities
History

Sat, 03 Oct 2026 11:15:00 +0000


Thu, 01 Oct 2026 17:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Tue, 29 Sep 2026 13:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-772
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Fri, 25 Sep 2026 06:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Thu, 24 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
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.
Title ksmbd: Fix acl.sd_buf memory leak and invalid sd_size error handling
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-03T10:57:43.607Z

Reserved: 2026-09-18T17:59:28.790Z

Link: CVE-2026-93811

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-24T17:17:14.550

Modified: 2026-10-03T11:17:50.870

Link: CVE-2026-93811

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-24T00:00:00Z

Links: CVE-2026-93811 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-01T20:15:12Z

Weaknesses
  • CWE-772

    Missing Release of Resource after Effective Lifetime