Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-93282 Overview
CVE-2026-93282 is a flaw in the Linux kernel's ksmbd in-kernel SMB3 server. The vulnerability resides in the discretionary access control list (DACL) permission check used during the maximum allowed access calculation. The check matches an access control entry (ACE) against the current user and falls back to the Everyone ACE, but ignores Authenticated Users ACEs. The maximal access calculation also combines access masks from every ACE regardless of whether its security identifier (SID) applies to the current user. An authenticated SMB client can gain rights belonging to an unrelated principal, leading to unauthorized file access over the network.
Critical Impact
Authenticated SMB users can obtain file access rights granted to other principals, breaking the integrity and confidentiality of files served by ksmbd.
Affected Products
- Linux kernel ksmbd SMB3 server module
- Stable kernel branches prior to commits 35d5c59 and cc2f133
- Linux distributions shipping vulnerable ksmbd builds
Discovery Timeline
- 2026-09-24 - CVE-2026-93282 published to the National Vulnerability Database (NVD)
- 2026-09-25 - Last updated in NVD database
Technical Details for CVE-2026-93282
Vulnerability Analysis
The ksmbd kernel module implements SMB3 file sharing inside the Linux kernel. During an open request, ksmbd computes the maximum allowed access by walking the DACL attached to a file. The permission walker only looks for an ACE matching the current user and then falls back to the Everyone ACE (S-1-1-0). Authenticated Users (S-1-5-11) is a well-known group that every authenticated session belongs to, but the walker skips it. Legitimate opens granted through S-1-5-11 fail with STATUS_ACCESS_DENIED.
The second defect is more serious. The maximal access routine accumulated allowed masks from every ACE in the DACL without checking whether the SID applied to the authenticated session. A user could receive bits assigned to an unrelated principal, including write and delete rights the administrator never granted them. The fix restricts processing to ACEs applicable to the user, Everyone, or Authenticated Users, and accumulates allowed and denied masks in strict ACL order.
Root Cause
The root cause is improper access control [CWE-284] in the DACL evaluator. The maximum-allowed path did not implement standard Windows ACL semantics: evaluation must honor ACE ordering, respect deny entries, and only consider ACEs whose SID applies to the caller. The code also replaced NT ACE rights with POSIX ACL entries even when an applicable NT ACE existed, broadening the stored DACL.
Attack Vector
The attack vector is network-based and requires authenticated SMB credentials. An authenticated user issues an SMB2 CREATE request with MAXIMUM_ALLOWED in the desired access field against a file whose DACL contains ACEs for principals the attacker does not belong to. The flawed walker merges those unrelated allowed masks into the granted access, returning a handle with elevated rights. The attacker can then perform operations the DACL never explicitly authorized for them.
No verified public exploit code is available. Technical details are documented in the upstream commits Kernel Git Commit 35d5c59 and Kernel Git Commit cc2f133.
Detection Methods for CVE-2026-93282
Indicators of Compromise
- SMB2 CREATE requests using the MAXIMUM_ALLOWED access mask against files with mixed-principal DACLs
- Successful file opens by authenticated users on objects whose explicit ACEs name other users or groups
- ksmbd audit entries showing granted access masks that exceed any single applicable ACE
Detection Strategies
- Enable ksmbd auditing and compare granted access masks against the configured DACL for sampled opens
- Correlate SMB session user context with file ownership and ACL contents on shared volumes
- Hunt for unexpected write, delete, or WRITE_DAC operations originating from accounts that should only hold read rights
Monitoring Recommendations
- Centralize ksmbd and Linux audit (auditd) logs for shared file systems in a security data lake
- Alert on anomalous SMB open patterns, especially repeated MAXIMUM_ALLOWED requests from a single session
- Track kernel version inventory to confirm which hosts remain exposed
How to Mitigate CVE-2026-93282
Immediate Actions Required
- Patch Linux hosts running ksmbd to a kernel version that includes commits 35d5c59 and cc2f133
- Disable the ksmbd module on servers where SMB file sharing is not required
- Audit DACLs on exported shares and remove reliance on Authenticated Users ACEs for sensitive files until patched
Patch Information
The fix is delivered through upstream kernel commits Kernel Git Commit 35d5c59 and Kernel Git Commit cc2f133. The patches restrict ACE processing to ACEs applicable to the user, Everyone, or Authenticated Users, enforce ACL ordering for allowed and denied masks, return STATUS_PRIVILEGE_NOT_HELD for ACCESS_SYSTEM_SECURITY, and prevent POSIX ACL entries from replacing applicable NT ACE rights.
Workarounds
- Unload the ksmbd module with modprobe -r ksmbd where SMB service is not required
- Replace ksmbd with user-space Samba (smbd) until the kernel update is deployed
- Restrict SMB access at the network layer to trusted management subnets using firewall rules
# Verify ksmbd module status and remove if unused
lsmod | grep ksmbd
sudo systemctl stop ksmbd.service
sudo modprobe -r ksmbd
# Block SMB from untrusted networks (example: nftables)
sudo nft add rule inet filter input tcp dport 445 ip saddr != 10.0.0.0/8 drop
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

