CVE-2024-26828
cifs: fix underflow in parse_server_interfaces()
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= fe856be475f7cf5ffcde57341d175ce9fd09434b, < 3babdcb5f1809a9a41e31547a063dedf6bb44cca; >= fe856be475f7cf5ffcde57341d175ce9fd09434b, < 7190353835b4a219abb70f90b06cdcae97f11512; >= fe856be475f7cf5ffcde57341d175ce9fd09434b, < f7ff1c89fb6e9610d2b01c1821727729e6609308; >= fe856be475f7cf5ffcde57341d175ce9fd09434b, < df2af9fdbc4ddde18a3371c4ca1a86596e8be301; >= fe856be475f7cf5ffcde57341d175ce9fd09434b, < cffe487026be13eaf37ea28b783d9638ab147204
- Anyone running Linux 4.18
Vulnerability facts
- Affected
- Linux >= fe856be475f7cf5ffcde57341d175ce9fd09434b, < 3babdcb5f1809a9a41e31547a063dedf6bb44cca; >= fe856be475f7cf5ffcde57341d175ce9fd09434b, < 7190353835b4a219abb70f90b06cdcae97f11512; >= fe856be475f7cf5ffcde57341d175ce9fd09434b, < f7ff1c89fb6e9610d2b01c1821727729e6609308; >= fe856be475f7cf5ffcde57341d175ce9fd09434b, < df2af9fdbc4ddde18a3371c4ca1a86596e8be301; >= fe856be475f7cf5ffcde57341d175ce9fd09434b, < cffe487026be13eaf37ea28b783d9638ab147204; Linux 4.18
- Fixed in
- Linux 3babdcb5f1809a9a41e31547a063dedf6bb44cca, Linux 7190353835b4a219abb70f90b06cdcae97f11512
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.4 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: Low
- Availability impact: High
- EPSS
- 1.04% chance of exploitation in 30 days (percentile 63, 2026-11-26)
- CWE
- CWE-191
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= fe856be475f7cf5ffcde57341d175ce9fd09434b, < 3babdcb5f1809a9a41e31547a063dedf6bb44cca; >= fe856be475f7cf5ffcde57341d175ce9fd09434b, < 7190353835b4a219abb70f90b06cdcae97f11512; >= fe856be475f7cf5ffcde57341d175ce9fd09434b, < f7ff1c89fb6e9610d2b01c1821727729e6609308; >= fe856be475f7cf5ffcde57341d175ce9fd09434b, < df2af9fdbc4ddde18a3371c4ca1a86596e8be301; >= fe856be475f7cf5ffcde57341d175ce9fd09434b, < cffe487026be13eaf37ea28b783d9638ab147204 | — | cvelist |
| Linux | 4.18 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-26828. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-26828.md Affected: Linux >= fe856be475f7cf5ffcde57341d175ce9fd09434b, < 3babdcb5f1809a9a41e31547a063dedf6bb44cca; >= fe856be475f7cf5ffcde57341d175ce9fd09434b, < 7190353835b4a219abb70f90b06cdcae97f11512; >= fe856be475f7cf5ffcde57341d175ce9fd09434b, < f7ff1c89fb6e9610d2b01c1821727729e6609308; >= fe856be475f7cf5ffcde573… Fixed in: Linux 3babdcb5f1809a9a41e31547a063dedf6bb44cca, Linux 7190353835b4a219abb70f90b06cdcae97f11512 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
FAQ
Is CVE-2024-26828 being exploited?
There is no confirmed exploitation: CVE-2024-26828 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.04% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-26828?
Critical: CVSS 9.4 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2024-26828?
Linux >= fe856be475f7cf5ffcde57341d175ce9fd09434b, < 3babdcb5f1809a9a41e31547a063dedf6bb44cca; >= fe856be475f7cf5ffcde57341d175ce9fd09434b, < 7190353835b4a219abb70f90b06cdcae97f11512; >= fe856be475f7cf5ffcde57341d175ce9fd09434b, < f7ff1c89fb6e9610d2b01c1821727729e6609308; >= fe856be475f7cf5ffcde57341d175ce9fd09434b, < df2af9fdbc4ddde18a3371c4ca1a86596e8be301; >= fe856be475f7cf5ffcde57341d175ce9fd09434b, < cffe487026be13eaf37ea28b783d9638ab147204; Linux 4.18.
Is there a fix for CVE-2024-26828?
Yes. Fixed in Linux 3babdcb5f1809a9a41e31547a063dedf6bb44cca, Linux 7190353835b4a219abb70f90b06cdcae97f11512. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2024-26828?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.