CVE-2026-143060: Linux Kernel ksmbd Improper DACL Evaluation Allows Unauthorized File Access

Written by Uptycs Threat Research | Dec 4, 2026, 4:29 AM UTC

Severity: High (CVSS 3.1 8.1) · Exploitation: No known exploitation · Fix available: Yes

Summary

CVE-2026-143060 is a logic flaw in the Linux kernel's ksmbd SMB server implementation, specifically in the smb_check_perm_dacl() function responsible for evaluating Discretionary Access Control Lists (DACLs). For SMB requests that do not use the MAXIMUM_ALLOWED access flag, the function incorrectly selects a single ACE rather than evaluating the full DACL in order, which can cause deny ACEs to grant unintended permissions and allow guest or anonymous sessions to match Authenticated Users entries. The practical result is that read or write access may be granted to callers who the stored DACL explicitly does not authorize. The vulnerability was disclosed on 3 December 2026, and fixes have been committed to the Linux kernel stable tree.

Technical details

The root cause is an incorrect ACE selection algorithm in smb_check_perm_dacl(). When processing non-MAXIMUM_ALLOWED requests, the function picks a single ACE rather than walking the DACL in canonical order. If the chosen ACE is a deny ACE, the function grants the bitwise complement of its access mask—effectively turning a denial of FILE_READ_DATA into a grant of FILE_WRITE_DATA. Additionally, the selected ACE may be inherit-only, of an unsupported type, or an NFS mode ACE, all of which should be skipped during evaluation. Guest and anonymous sessions incorrectly match Authenticated Users ACEs, allowing them to access files that the DACL restricts to authenticated principals only.

An attacker needs only a low-privileged, network-accessible SMB session to exploit this flaw; no local access is required. The CVSS 3.1 vector AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N reflects network reachability, low complexity, low required privileges, and high impact to both confidentiality and integrity. Guest and anonymous session abuse requires even fewer privileges than the base score implies. The exact internal code path beyond what is described in the commit message has not been made fully public.

Affected products

Impact

Exploitation status

There is no confirmed in-the-wild exploitation of CVE-2026-143060 at the time of publication. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog, and no public proof-of-concept code has been identified. Despite the absence of active exploitation, the low attack complexity and network-accessible attack vector warrant treating this as high-priority for any deployment that exposes ksmbd.

Recommended actions

  1. Apply the kernel fix. Update to a kernel version that includes commits 7524688d9f61b216b866f8761526b358313e7c35 or 20bed0d6ff62d985fe8222958825504b8aad4e88, or update to Linux kernel 7.3.7 or later within the 7.3.x series, or 7.4-rc3 or later. Consult your Linux distribution's security advisories for packaged kernel updates.
  2. Disable ksmbd if not required. If your environment does not require ksmbd for SMB file sharing, unload or disable the module to eliminate the attack surface entirely.
  3. Restrict SMB network access. Use firewall rules to limit TCP port 445 exposure to trusted hosts or networks only, reducing the pool of potential attackers even before patching is complete.
  4. Audit guest and anonymous SMB access. Review your ksmbd configuration to confirm whether guest or anonymous sessions are enabled; disable them if they are not operationally required.
  5. Review file-access logs for anomalies. Look for unexpected read or write activity by guest or unauthenticated sessions against shares that should be restricted to authenticated users, as this may indicate earlier exploitation.
  6. Verify the fix. After patching, confirm the running kernel version includes the fixed commits, and validate that DACL-restricted shares correctly deny access to guest and anonymous sessions.

How Uptycs helps

Uptycs vulnerability management identifies hosts, containers, and cloud workloads running affected Linux kernel versions so security teams can prioritize patching based on actual exposure. Uptycs Threat Research continues to monitor this vulnerability and will update this bulletin if exploitation activity changes.

References