CVE-2024-26828

published 17 Apr 2024 · updated 30 Oct 2026

cifs: fix underflow in parse_server_interfaces()

9.4CriticalCVSS 9.4EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel 3babdcb5f1809a9a41e31547a063dedf6bb44cca, Kernel 7190353835b4a219abb70f90b06cdcae97f11512, Kernel cffe487026be13eaf37ea28b783d9638ab147204 and 2 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.18, >=fe856be475f7cf5ffcde57341d175ce9fd09434b <3babdcb5f1809a9a41e31547a063dedf6bb44cca, >=fe856be475f7cf5ffcde57341d175ce9fd09434b <7190353835b4a219abb70f90b06cdcae97f11512, >=fe856be475f7cf5ffcde57341d175ce9fd09434b <cffe487026be13eaf37ea28b783d9638ab147204, >=fe856be475f7cf5ffcde57341d175ce9fd09434b <df2af9fdbc4ddde18a3371c4ca1a86596e8be301, >=fe856be475f7cf5ffcde57341d175ce9fd09434b <f7ff1c89fb6e9610d2b01c1821727729e66093083babdcb5f1809a9a41e31547a063dedf6bb44cca, 7190353835b4a219abb70f90b06cdcae97f11512, cffe487026be13eaf37ea28b783d9638ab147204, df2af9fdbc4ddde18a3371c4ca1a86596e8be301, f7ff1c89fb6e9610d2b01c1821727729e6609308

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-26828 severity on Zeptric[![CVE-2024-26828](https://zeptric.io/badge/cve/CVE-2024-26828.svg)](https://zeptric.io/cve/CVE-2024-26828)