CVE-2026-97555
Description
A flaw was found in the Linux kernel's SMB client. When rewriting a Discretionary Access Control List (DACL) during file ownership updates, the kernel allocates memory based on the original identifier lengths rather than accounting for larger replacement Security Identifiers (SIDs). A local user can exploit this vulnerability by modifying file attributes on a mounted SMB share, triggering a heap-based buffer overflow that may lead to a Denial of Service (DoS) or potential privilege escalation.
Statement
The SMB client can underallocate a security descriptor when rewriting an existing DACL because the allocation can be based on the original on disk DACL size while replacement owner or group SIDs may be substantially longer. replace_sids_and_copy_aces can then write expanded ACE records beyond the allocated heap buffer, and KASAN confirms a slab out-of-bounds write in build_sec_desc. At minimum this can corrupt kernel heap memory and crash the system. For the CVSS the PR:L value is used for the paranoid score because a local user or constrained service with delegated rights to initiate the relevant ownership or ACL rewrite may not have full administrative control of the host. AC:H applies because reliable triggering depends on an affected CIFS mount, a suitable original DACL containing shorter SIDs, longer replacement SIDs from cifs.idmap, and execution of the vulnerable rewrite path. The issue is not directly triggerable by ordinary network traffic alone. A malicious SMB server may be able to influence the source DACL, but a local ownership or ACL operation is normally also required.
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 Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 7 | N/A | 8.8 |
| Attack Vector | Local | N/A | Network |
| Attack Complexity | High | N/A | Low |
| Privileges Required | Low | N/A | None |
| User Interaction | None | N/A | Required |
| Scope | Unchanged | N/A | Unchanged |
| Confidentiality | High | N/A | High |
| Integrity Impact | High | N/A | High |
| Availability Impact | High | N/A | High |
Vector
Red Hat: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
cve.org: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Understanding the Weakness (CWE)
Integrity
Technical Impact: Modify Memory; Execute Unauthorized Code or Commands
Write operations could cause memory corruption. In some cases, an adversary can modify control data such as return addresses in order to execute unexpected code.
Availability
Technical Impact: DoS: Crash, Exit, or Restart
Attempting to access out-of-range, invalid, or unauthorized memory could cause the product to crash.
Other
Technical Impact: Unexpected State
Subsequent write operations can produce undefined or unexpected results.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.