CVE-2024-36010: igb: Fix string truncation warnings in igb_set_fw_version

Published May 22, 2024
·
Updated

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

igb: Fix string truncation warnings in igbsetfwversion

Commit 1978d3ead82c ("intel: fix string truncation warnings") fixes '-Wformat-truncation=' warnings in igbmain.c by using kasprintf.

drivers/net/ethernet/intel/igb/igbmain.c:3092:53: warning:‘%d’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 1 and 13 [-Wformat-truncation=] 3092 | "%d.%d, 0x%08x, %d.%d.%d", | ^~ drivers/net/ethernet/intel/igb/igbmain.c:3092:34: note:directive argument in the range [0, 65535] 3092 | "%d.%d, 0x%08x, %d.%d.%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~ drivers/net/ethernet/intel/igb/igbmain.c:3092:34: note:directive argument in the range [0, 65535] drivers/net/ethernet/intel/igb/igbmain.c:3090:25: note:‘snprintf’ output between 23 and 43 bytes into a destination of size 32

kasprintf() returns a pointer to dynamically allocated memory which can be NULL upon failure.

Fix this warning by using a larger space for adapter->fwversion, and then fall back and continue to use snprintf.

Other sources

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

igb: Fix string truncation warnings in igbsetfwversion

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

Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024052237-CVE-2024-36010-c98b@gregkh/T

Red Hat

Linux Kernel is vulnerable to a denial of service, caused by string truncation warnings in igbsetfwversion. A local authenticated attacker could exploit this vulnerability to cause a denial of service.

IBM

Affected Software

10 affected componentsFixes available
IBM Security Verify Governance<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Software Stack<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Virtual Appliance<=ISVG 10.0.2
IBM Security Verify Governance Identity Manager Container<=ISVG 10.0.2
redhat/kernel<6.8
6.8
Linux Linux kernel>=6.7<6.8
Linux Linux kernel=6.8-rc1
Linux Linux kernel=6.8-rc2
Linux Linux kernel=6.8-rc3
Linux Linux kernel=6.8-rc4

Event History

May 22, 2024
CVE Published
via MITRE·11:46 AM
Data Sourced
via MITRE·11:46 AM
Description
Data Sourced
via NVD·12:15 PM
RemedyDescriptionSeverityAffected Software
May 23, 2024
Data Sourced
via Red Hat·10:56 AM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-36010?

CVE-2024-36010 has a medium severity level due to potential string truncation issues in the Linux kernel.

2

How do I fix CVE-2024-36010?

To fix CVE-2024-36010, you should update the kernel package to version 6.8 or later.

3

Which systems are affected by CVE-2024-36010?

CVE-2024-36010 affects the Red Hat kernel versions prior to 6.8.

4

What is the nature of the vulnerability in CVE-2024-36010?

CVE-2024-36010 involves string truncation warnings that could lead to unexpected behavior in the igb driver.

5

Is there a patch available for CVE-2024-36010?

Yes, the issues related to CVE-2024-36010 have been resolved in the recent kernel updates.

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
CVE-2024-36010 - igb: Fix string truncation warnings in igb_set_fw_version - SecAlerts