Kernel-memory disclosure and crash via CIFS underflow
Published Apr 17, 2024 · Updated Aug 5, 2026
Out-of-bounds access in the Linux CIFS client allows remote attackers to disclose kernel memory or crash the host via a crafted SMB reply. In fs/smb/client/smb2ops.c, parse_server_interfaces() compares signed bytes_left with unsigned sizeof(), so a negative remainder becomes a large value and the loop walks beyond the reply buffer. A malicious or compromised SMB server can trigger the flaw after a client mounts its share; exposed data can enter /proc/fs/cifs/DebugData, while an invalid pointer walk can oops the kernel.
Summary
What happened
Out-of-bounds access in the Linux CIFS client allows remote attackers to disclose kernel memory or crash the host via a crafted SMB reply. In fs/smb/client/smb2ops.c, parse_server_interfaces() compares signed bytes_left with unsigned sizeof(), so a negative remainder becomes a large value and the loop walks beyond the reply buffer. A malicious or compromised SMB server can trigger the flaw after a client mounts its share; exposed data can enter /proc/fs/cifs/DebugData, while an invalid pointer walk can oops the kernel.
The record
- CVE
- CVE-2024-26828
- Published
- Apr 17, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-191, T1499
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Apr 17, 2024CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=4.18
- Affected versionversion=fe856be475f7cf5ffcde57341d175ce9fd09434b <7190353835b4a219abb70f90b06cdcae97f11512
- Affected versionversion=fe856be475f7cf5ffcde57341d175ce9fd09434b <cffe487026be13eaf37ea28b783d9638ab147204
- Affected versionversion=fe856be475f7cf5ffcde57341d175ce9fd09434b <df2af9fdbc4ddde18a3371c4ca1a86596e8be301
- Affected versionversion=fe856be475f7cf5ffcde57341d175ce9fd09434b <f7ff1c89fb6e9610d2b01c1821727729e6609308
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo