CVE-2026-93812
Received Received - Intake

Memory Leak in Linux Kernel ksmbd

Vulnerability report for CVE-2026-93812, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-24

Last updated on: 2026-09-24

Assigner: kernel.org

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-24
Last Modified
2026-09-24
Generated
2026-09-24
AI Q&A
2026-09-24
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux_kernel ksmbd *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a memory leak vulnerability in the Linux kernel's ksmbd module. It occurs when the function ndr_encode_v4_ntacl() allocates memory for sd_ndr.data but fails to free it if an error happens during encoding. The memory remains allocated, causing a leak.

Detection Guidance

This vulnerability is specific to the Linux kernel's ksmbd implementation and involves a memory leak in the sd_ndr.data buffer. Detection would require checking for memory leaks in the ksmbd service or kernel logs. Commands like dmesg, journalctl -k, or monitoring tools like smem or valgrind could help identify unusual memory usage patterns in ksmbd processes.

Impact Analysis

The memory leak could gradually consume system memory over time, potentially leading to degraded performance or crashes. Systems running services that use ksmbd may experience instability or resource exhaustion.

Mitigation Strategies

Apply the latest kernel update that includes the fix for this vulnerability. If immediate patching is not possible, consider disabling the ksmbd service temporarily to prevent exploitation. Monitor kernel logs for signs of memory leaks or unusual activity in ksmbd-related processes.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-93812. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart