Skip to main content

Linux Kernel CVE-2024-26828

CRITICAL
Integer Underflow (CWE-191)
2024-04-17 416baaa9-dc9f-4396-8d5f-8c081fb06d67
9.4
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Lure/redirect client to malicious SMB server
  2. Delivery
    Client issues network-interface query
  3. Exploit
    Server returns crafted interface response
  4. Execution
    bytes_left underflows, loop overreads buffer
  5. Impact
    Kernel 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 9.4 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H
vuln.today AI 5.9 MEDIUM

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.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H
4.0 AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
High

Lifecycle Timeline

4
Analysis Updated
Aug 04, 2026 - 11:40 vuln.today
v1 - CVSS changed
Severity Changed
Aug 04, 2026 - 11:23 NVD
MEDIUM CRITICAL
CVSS changed
Aug 04, 2026 - 11:23 NVD
6.7 (MEDIUM) 9.4 (CRITICAL)
CVE Published
Apr 17, 2024 - 10:15 cve.org
MEDIUM 6.7

DescriptionCVE.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

Why It Matters

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).

Business Impact: High
Compensating Controls

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

EPSS Score
0.4%
Top 67% exploitable
Prevalence
Ubiquitous
Linux kernel runs everywhere; cifs client widely available though not always in use
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +47
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

Affected Products (CPE)CVE.org

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.8:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.8:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.8:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.8:rc4:*:*:*:*:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy