CVE-2026-139181
Description
A flaw was found in the Linux kernel's ksmbd (Server Message Block kernel server) component. A remote attacker can exploit this issue by sending specially crafted compound SMB2 requests. Due to inadequate response buffer space reservation for chained commands, processing these requests causes an out-of-bounds memory write. This vulnerability can lead to a denial of service (system crash) or potentially execute arbitrary code.
Statement
An Important flaw in the ksmbd SMB server module of the Linux kernel allows an out-of-bounds memory write when handling malicious compound SMB2 requests. Because an authenticated network user can exploit this buffer overflow to induce kernel memory corruption, system instability, or arbitrary code execution, this flaw rates as Important. In Red Hat environments, SMB services are primarily supplied by Samba rather than the in-kernel ksmbd server, which is not active by default. Consequently, exposure is limited to systems where ksmbd is manually loaded and configured.
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 | 8.8 | N/A | N/A |
| Attack Vector | Network | N/A | N/A |
| Attack Complexity | Low | N/A | N/A |
| Privileges Required | Low | N/A | N/A |
| User Interaction | None | N/A | N/A |
| Scope | Unchanged | N/A | N/A |
| Confidentiality | High | N/A | N/A |
| Integrity Impact | High | N/A | N/A |
| Availability Impact | High | N/A | N/A |
Vector
Red Hat: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/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.