CVE-2026-68100

Description

A flaw was found in ksmbd in the Linux kernel. An authenticated client can provide a crafted security descriptor that is not properly validated when copying Access Control Entries (ACEs) in the set_ntacl_dacl() function. This improper validation leads to an out-of-bounds heap read, allowing the client to read approximately 1 KB of kernel memory. This could result in the disclosure of sensitive information.

Statement

A kernel heap out-of-bounds read in ksmbd can occur because set_ntacl_dacl copies ACE data from a stored security descriptor without validating sid.num_subauth. An authenticated SMB client can first store a malformed DACL with SMB2_SET_INFO and later trigger SMB2_QUERY_INFO for DACL on an inode with a POSIX access ACL, causing set_posix_acl_entries_dacl to read ntace sid sub_auth at an attacker controlled index. For the CVSS the PR:L is used because the attacker needs authenticated SMB access to the ksmbd share, but no local shell or administrator privileges on the victim are required. The issue is network reachable over SMB when ksmbd is exposed to the authenticated client. Impact is at least possible kernel memory disclosure through an out-of-bounds read and possible denial of service if the invalid read hits an unsafe memory boundary or hardened debug checks.

Mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score6.5N/A8.1
Attack VectorNetworkN/ANetwork
Attack ComplexityLowN/ALow
Privileges RequiredLowN/ALow
User InteractionNoneN/ANone
ScopeUnchangedN/AUnchanged
ConfidentialityNoneN/AHigh
Integrity ImpactNoneN/ANone
Availability ImpactHighN/AHigh

Vector

Red Hat: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

cve.org: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Understanding the Weakness (CWE)

Availability

Technical Impact: DoS: Crash, Exit, or Restart; DoS: Resource Consumption (CPU); DoS: Resource Consumption (Memory)

An attacker could provide unexpected values and cause a program crash or arbitrary control of resource allocation, leading to excessive consumption of resources such as memory and CPU.

Confidentiality

Technical Impact: Read Memory; Read Files or Directories

An attacker could read confidential data if they are able to control resource references.

Integrity,Confidentiality,Availability

Technical Impact: Modify Memory; Execute Unauthorized Code or Commands

An attacker could use malicious input to modify data or possibly alter control flow in unexpected ways, including arbitrary command execution.

Frequently Asked Questions

Want to get errata notifications? Sign up here.