CVE-2024-26828: Vulnerability in linux-libc-dev package - Underflow in parse_server_interfaces()

linux Updated 02 Oct 2025

Summary

17/04/2024
No i
Unrated
Not published

CVE-2024-26828: 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... Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The linux-libc-dev package is a development package that provides the necessary header files and libraries for compiling C programs that use the Linux kernel interfaces. It is an essential component for building and linking applications with the Linux kernel. The package is widely used in various Linux distributions.

The vulnerability identified as CVE-2024-26828 affects the linux-libc-dev package. It is related to an underflow issue in the parse_server_interfaces() function within the kernel's cifs module. This vulnerability could potentially be exploited by an attacker to cause a denial-of-service (DoS) condition or execute arbitrary code on a vulnerable system.

Vulnerability Detail

The vulnerability arises from a type mismatch between the 'bytes_left' variable of type ssize_t and the result of the sizeof() function, which is of type size_t. Due to type promotion, if 'bytes_left' becomes negative, the loop in parse_server_interfaces() continues instead of ending. This can lead to an underflow condition, potentially resulting in memory corruption or other unexpected behavior.

An attacker who can control the input to the affected function could exploit this vulnerability to trigger the underflow and potentially execute arbitrary code or crash the system.

The Common Vulnerability Scoring System (CVSS) score for this vulnerability is 6.7, indicating a medium severity level.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no known workaround for this vulnerability. It is recommended to apply the provided fix by updating the linux-libc-dev package to a patched version.

Conclusion

The linux-libc-dev package is vulnerable to an underflow issue in the parse_server_interfaces() function within the cifs module of the Linux kernel. This vulnerability could potentially allow an attacker to execute arbitrary code or cause a denial-of-service condition. It is crucial to update the linux-libc-dev package to a patched version to mitigate this vulnerability. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The linux-libc-dev package provides header files and libraries for compiling C programs that use the Linux kernel interfaces. It is an essential component for building and linking applications with the Linux kernel.

This vulnerability could potentially be exploited by an attacker to cause a denial-of-service (DoS) condition or execute arbitrary code on a vulnerable system.

To fix this vulnerability, it is recommended to update the linux-libc-dev package to a version that includes the necessary patch. The package maintainers have released a fixed version that addresses this issue.

There is no known workaround for this vulnerability. It is recommended to apply the provided fix by updating the linux-libc-dev package to a patched version.

The Common Vulnerability Scoring System (CVSS) score for this vulnerability is 6.7, indicating a medium severity level.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback