Menu

Star on GitHub · 3.2k

CVE-2024-42148

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: bnx2x: Fix multiple UBSAN array-index-out-of-bounds Fix UBSAN warnings that occur when using a system with 32 physical cpu core…

Published Jul 30, 2024CWE-129EPSS 0.26%

Overview

CVE-2024-42148 is a high-severity vulnerability. It was published on July 30, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

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

bnx2x: Fix multiple UBSAN array-index-out-of-bounds

Fix UBSAN warnings that occur when using a system with 32 physical

cpu cores or more, or when the user defines a number of Ethernet

queues greater than or equal to FP_SB_MAX_E1x using the num_queues

module parameter.

Currently there is a read/write out of bounds that occurs on the array

"struct stats_query_entry query" present inside the "bnx2x_fw_stats_req"

struct in "drivers/net/ethernet/broadcom/bnx2x/bnx2x.h".

Looking at the definition of the "struct stats_query_entry query" array:

struct stats_query_entry query[FP_SB_MAX_E1x+

BNX2X_FIRST_QUEUE_QUERY_IDX];

FP_SB_MAX_E1x is defined as the maximum number of fast path interrupts and

has a value of 16, while BNX2X_FIRST_QUEUE_QUERY_IDX has a value of 3

meaning the array has a total size of 19.

Since accesses to "struct stats_query_entry query" are offset-ted by

BNX2X_FIRST_QUEUE_QUERY_IDX, that means tha

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2024-42148?

CVE-2024-42148 is a high-severity vulnerability. It was published on July 30, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2024-42148?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-42148?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-42148?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-42148 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2024

View all