CVE-2026-99083
Description
A flaw was found in the Linux kernel's ksmbd Server Message Block (SMB) server. When handling compounded SMB requests during Kerberos authentication, the server incorrectly calculates available buffer space, leading to a heap-based out-of-bounds write. A remote attacker could exploit this vulnerability by sending specially crafted requests, potentially allowing arbitrary code execution or causing a system crash that results in a Denial of Service (DoS).
Statement
Critical severity is assigned because unauthenticated remote attackers could achieve arbitrary code execution via kernel heap corruption over the network. However, Red Hat Enterprise Linux does not enable or ship the in-kernel SMB server (ksmbd), relying instead on user-space Samba implementations. Because the vulnerable module is not compiled into supported Red Hat kernels, standard product deployments are not affected.
Mitigation
--- CME Mitigation Guidance (2026-11-02) ---
Disclaimer: The following mitigation solutions are provided as a courtesy, pending the application of an official patch. This content was generated utilizing AI tools in conjunction with data from https://cmetaxonomy.org. Customers are advised to independently evaluate and test these temporary mitigations within their own infrastructure.
The highest-value action is to enforce physical buffer boundaries during compounded SMB2 session setup in ksmbd by subtracting prior response offsets from response buffer headroom: upgrade to the fixed release, which subtract work->next_smb2_rsp_hdr_off when computing out_len to accurately reflect physical remaining buffer space in response_buf, closing all 2 injection vectors (compounded SMB2 request chain with non-first SMB2_SESSION_SETUP, Kerberos AP-REP token payload). Until patched, this is only a concern on Linux systems running the in-kernel ksmbd SMB server with Kerberos authentication enabled — systems using user-space Samba implementations or Linux kernels without the ksmbd module enabled are unaffected — so restrict network access to SMB port 445 via firewall rules, disable Kerberos authentication in ksmbd, or unload the ksmbd kernel module and use user-space Samba. As a compensating measure, enable KASAN or HWASan runtime memory error detection to detect out-of-bounds heap writes via redzone and shadow memory instrumentation, enable Control Flow Integrity and Shadow Call Stack to validate kernel indirect function call targets and disrupt ROP or JOP execution, enforce non-executable permissions on kernel heap buffers via the NX or XD bit to prevent execution of injected shellcode payloads, enable Kernel Address Space Layout Randomization to hinder reliable control-flow redirection following heap corruption, enable Supervisor Mode Execution Prevention to prevent the kernel from executing attacker-controlled userspace pages, and enable Supervisor Mode Access Prevention to block the kernel from accessing attacker-controlled userspace memory during payload staging. These controls limit blast radius and contain exploitation, but they do not fix the underlying heap out-of-bounds write defect — apply the upstream patch to fully remediate.
Highest-impact CME: CME-1005 Runtime Memory Error Detection (KASAN/HWASan) (medium)
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 | 9.8 | N/A | 8.8 |
| Attack Vector | Network | N/A | Network |
| Attack Complexity | Low | N/A | Low |
| Privileges Required | None | N/A | Low |
| User Interaction | None | N/A | None |
| 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:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cve.org: 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.