Linux Kernel cifs.ko: Heap Out-of-Bounds Write (CVE-2026-89633)
A heap out-of-bounds write vulnerability in the Linux kernel SMB1 client allows an attacker-controlled server to overwrite process credentials and escalate privileges to root.
CVE search metadata
CVE search record: CVE-2026-89633. Severity: critical. CVSS: 9.8. EPSS: 0.49%. KEV: no. Product: Linux Kernel (< 6.12.113). Brief: Linux Kernel cifs.ko: Heap Out-of-Bounds Write (CVE-2026-89633). Brief link: https://feed.craftedsignal.io/briefs/2026-10-cifs-heap-oob/
Triage facts
Revision 1- Applicability
- Linux Kernel (< 6.12.113)
- Evidence
- Unknown
- Severity
- Critical
- Action
- Elevated
- Sources
- 3 public sources
- Freshness
- Revision 1Oct 31, 19:41 UTC
- Vulnerabilities
- 1 CVE
- Source quality
- A2Likely
CVE-2026-89633 is a heap out-of-bounds write vulnerability (CWE-787) in the Linux kernel cifs.ko module. The flaw exists in the coalesce_t2() function, which handles SMB1 SMB_COM_TRANSACTION2_SECONDARY responses. A malicious SMB1 server can send responses that trigger a write of 8-byte increments outside the bounds of the server->bigbuf buffer. An attacker can use this primitive to corrupt memory and perform a privilege escalation attack.
Attack Chain
- The victim client establishes an SMB1 mount to an attacker-controlled server or a machine susceptible to a Man-in-the-Middle (MitM) attack.
- The client sends a TRANS2 request (e.g.,
QUERY_FS_INFORMATION). - The attacker-controlled server sends a primary response that triggers the large buffer path.
- The attacker sends multiple
SMB_COM_TRANSACTION2_SECONDARYresponses. - The
coalesce_t2()function copies secondary payload data to a destination calculated using an attacker-suppliedDataOffsetvalue. - The lack of bounds checking on
data_area_of_tgtenables an out-of-bounds write relative to the response buffer. - The attacker uses the primitive to overwrite the
struct credof a target process on a page-aligned physical memory address. - Successful overwrite of the target's UID, GID, and SUIDs to zero results in root-level privilege escalation.
Impact
Successful exploitation allows for arbitrary code execution and privilege escalation to the root user on systems mounting a malicious SMB1 share. The exploit requires an existing SMB1 session and is currently demonstrated as a build-specific research harness.
Recommendation
- Patch the Linux kernel to version 6.12.113 or later, which incorporates the upstream fix
36d01415d881. - Disable support for the SMB1 protocol (
vers=1.0) across all infrastructure to eliminate the attack vector. - Audit mount configurations on Android and Linux endpoints to ensure that untrusted SMB shares are not automatically mounted.
- Restrict
CAP_SYS_ADMINprivileges to prevent unauthorized creation of SMB mounts.
Immediate actions
Identify and disable SMB1 (vers=1.0) mounts across the fleet.
Threat Hunt
Monitor for CIFS/SMB mounts utilizing protocol version 1.0 (vers=1.0).
Data: Kernel mount logs (e.g., dmesg, /proc/mounts)
Mitigations
Upgrade Linux kernel to 6.12.113 or higher.
CVE-2026-89633