CVE-2024-26828: cifs: fix underflow in parse_server_interfaces()

Published Apr 17, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

cifs: fix underflow in parseserverinterfaces()

In this loop, we step through the buffer and after each item we check if the sizeleft is greater than the minimum size we need. However, the problem is that "bytesleft" is type ssizet while sizeof() is type sizet. 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.

Other sources

In the Linux kernel, the following vulnerability has been resolved:

cifs: fix underflow in parseserverinterfaces()

The Linux kernel CVE team has assigned CVE-2024-26828 to this issue.

Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024041703-CVE-2024-26828-b2be@gregkh/T

Red Hat

Affected Software

12 affected componentsFixes available
redhat/kernel<6.1.79
6.1.79
redhat/kernel<6.6.18
6.6.18
redhat/kernel<6.7.6
6.7.6
redhat/kernel<6.8
6.8
Linux Linux kernel>=4.18<6.1.79
Linux Linux kernel>=6.2<6.6.18
Linux Linux kernel>=6.7<6.7.6
Linux Linux kernel=6.8-rc1
Linux Linux kernel=6.8-rc2
Linux Linux kernel=6.8-rc3
Linux Linux kernel=6.8-rc4
debian/linux<=5.10.223-1, <=5.10.234-1
6.1.129-16.1.135-16.12.25-16.12.27-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1
  2. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.1.79
  3. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.6.18
  4. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.7.6
  5. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.8
  6. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch CVE-2024-26828

Event History

Apr 17, 2024
CVE Published
via MITRE·09:43 AM
Data Sourced
via MITRE·09:43 AM
DescriptionSeverity
Data Sourced
via NVD·10:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via Red Hat·04:27 PM
DescriptionSeverityAffected Software
Jul 12, 2024
Data Sourced
via Launchpad·12:46 PM
Description
Apr 27, 2025
Data Sourced
via Ubuntu·12:14 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-26828?

CVE-2024-26828 is considered a moderate severity vulnerability affecting the Linux kernel.

2

How do I fix CVE-2024-26828?

To resolve CVE-2024-26828, upgrade to the recommended kernel versions which are 6.1.79, 6.6.18, 6.7.6, 6.8, or specified versions in Debian.

3

What systems are affected by CVE-2024-26828?

CVE-2024-26828 affects multiple versions of the Linux kernel, specifically those up to versions 6.1.79, 6.6.18, 6.7.6, and 6.8 in Red Hat, and certain versions in Debian.

4

What component is mainly impacted by CVE-2024-26828?

CVE-2024-26828 primarily impacts the CIFS (Common Internet File System) functionality in the Linux kernel.

5

What is the cause of CVE-2024-26828?

CVE-2024-26828 is caused by an underflow issue in the parse_server_interfaces() function of the Linux kernel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203