Linux Kernel
CVE-2024-26828
CRITICAL
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLure/redirect client to malicious SMB server
-
DeliveryClient issues network-interface query
-
ExploitServer returns crafted interface response
-
Executionbytes_left underflows, loop overreads buffer
-
ImpactKernel memory disclosed or oops (DoS)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer underflow checks
|
| Exploitation Conditions | Exploitation requires the target to use the in-kernel CIFS/SMB client (cifs.ko) and to establish an SMB connection to an attacker-controlled or man-in-the-middled server that returns a crafted FSCTL_QUERY_NETWORK_INTERFACE_INFO (server-interfaces) response with length values that underflow the signed bytes_left counter; the SMB multichannel interface-query code path must be exercised. Limiting factors: the victim must initiate or maintain an SMB client connection to the malicious server (not a passive default-config listener), so hosts that never mount untrusted SMB shares are effectively unexposed; the outcome is an out-of-bounds read (info leak / kernel crash), not direct code execution; and only kernels carrying the vulnerable 6.8-rc-era cifs parsing code and its stable backports are affected. Despite the CVSS AV:N/AC:L/PR:N/UI:N string, the real prerequisite is a hostile server the client talks to. |
| Impact | The NVD CVSS 3.1 score of 9.4 (AV:N/AC:L/PR:N/UI:N/C:H/I:L/A:H) substantially overstates practical risk for this bug, and the signals conflict. This is a CLIENT-side flaw: exploitation requires the victim's kernel to be acting as an SMB client and to connect to an attacker-controlled or man-in-the-middled SMB server that returns a crafted interface-query response. That is not 'no interaction against a default listener' - the AV:N/PR:N/UI:N scoring does not capture the requirement that the victim initiate/hold an SMB connection to a hostile server, so the network-vector rating should be read with caution. The underflow yields an out-of-bounds READ, so the realistic impact is information disclosure of kernel memory and/or a kernel oops (DoS), not the code-execution/integrity impact a 9.4 might imply - consistent with the vendor tags 'Information Disclosure' and the low I:L. Corroborating the lower real-world risk: EPSS is only 0.41% (33rd percentile), there is no CISA KEV listing, and no public PoC. Net: a legitimate memory-safety defect worth patching in the normal stable-update cadence, but not a drop-everything emergency; prioritize hosts that mount SMB shares from untrusted networks. |
| Exploit ScenarioDerived | An attacker who controls an SMB server - or who can machine-in-the-middle an SMB session on a shared/untrusted network - waits for a Linux host to connect and issue a network-interface query, then returns a malformed interface list whose length fields drive the bytes-left counter negative. The client's parse_server_interfaces() loop underflows and reads past the response buffer, leaking adjacent kernel memory back into client-side structures or crashing the kernel. No public PoC is currently available, and the network attack complexity is meaningfully raised by the need to control the server side of the connection. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 04, 2026
Memory-safety flaw in the Linux kernel's in-kernel CIFS/SMB client (parse_server_interfaces()) lets a malicious or compromised SMB server trigger an out-of-bounds buffer read on a connecting client. A signed/unsigned type-promotion bug causes a negative bytes-left counter to be treated as a large unsigned value, so the parsing loop runs past the end of the server-interface response buffer, enabling kernel memory disclosure and/or a crash. Affects 6.8 release-candidate kernels (rc1-rc4) and the CIFS code backported to stable trees; no public exploit identified at time of analysis and EPSS exploitation probability is low (0.41%, 33rd percentile).
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed - apply the vendor/distribution kernel update that incorporates the cifs underflow fix, referenced by the stable commits https://git.kernel.org/stable/c/7190353835b4a219abb70f90b06cdcae97f11512, https://git.kernel.org/stable/c/cffe487026be13eaf37ea28b783d9638ab147204, https://git.kernel.org/stable/c/df2af9fdbc4ddde18a3371c4ca1a86596e8be301 and https://git.kernel.org/stable/c/f7ff1c89fb6e9610d2b01c1821727729e6609308, or the equivalent errata kernel from your distribution (rebuild/reboot required to load the corrected cifs.ko). Until patched, compensating controls: only mount SMB/CIFS shares from trusted, authenticated servers and avoid mounting from untrusted or internet-reachable hosts (trade-off: minimal in well-run environments, but blocks ad-hoc mounts); where CIFS is not required, blacklist/unload the cifs kernel module (modprobe blacklist) to remove the attack surface entirely (trade-off: breaks all SMB share access); and restrict outbound SMB egress (TCP 445/139) at the firewall so clients cannot be steered to rogue servers on hostile networks (trade-off: may block legitimate remote SMB use). Disabling SMB multichannel where configurable reduces reliance on the interface-query path but is version-dependent and not a guaranteed mitigation.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is in fs/smb/client (formerly fs/cifs), the kernel's native SMB3/CIFS network filesystem client. When a client queries a server for its network interfaces (FSCTL_QUERY_NETWORK_INTERFACE_INFO, used for SMB multichannel), parse_server_interfaces() walks the returned buffer item-by-item, decrementing a 'bytes_left' counter of signed type ssize_t. The loop-continuation check compares bytes_left against sizeof(...), which is unsigned size_t. Per C integer-promotion rules the signed value is converted to unsigned, so once bytes_left goes negative it appears as a huge positive number and the loop keeps parsing instead of terminating - a classic CWE-191 integer underflow leading to an out-of-bounds read of adjacent kernel memory. The CPE data pins the introduction to the 6.8 development cycle (6.8-rc1 through 6.8-rc4), and the same client code was backported into multiple stable series.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H
Client must connect to an attacker-controlled SMB server (AC:H, UI:R); out-of-bounds read yields a limited info leak (C:L) and kernel crash (A:H), with no integrity impact.
Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).
CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Lifecycle Timeline
4DescriptionCVE.org
In the Linux kernel, the following vulnerability has been resolved:
cifs: fix underflow in parse_server_interfaces()
In this loop, we step through the buffer and after each item we check if the size_left is greater than the minimum size we need. However, the problem is that "bytes_left" is type ssize_t while sizeof() is type size_t. That means that because of type promotion, the comparison is done as an unsigned and if we have negative bytes left the loop continues instead of ending.
Executive ViewAI
Linux kernel CIFS/SMB client (CVE-2024-26828) contains a memory-safety flaw allowing malicious SMB servers to disclose kernel memory or crash connecting clients. This affects organizations running Linux 6.8 release-candidate kernels and stable distributions with backported CIFS code, potentially exposing confidential kernel data or disrupting services dependent on SMB connectivity. While severity is rated critical, current exploitation probability remains low (0.4% EPSS).
Apply vendor patch. Interim mitigations include disabling SMB client support on systems not requiring it, restricting CIFS connections to trusted internal networks only, and implementing firewall rules to block SMB traffic (ports 139/445) from untrusted sources pending patch deployment.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
NVD
CVE.org
EPSS
VulDB
GitHub PoC
Exploit-DB