Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-42148

published

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

Published
30 Jul 2024, 07:46:41 UTC
Updated
11 May 2026, 20:27:53 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux50f0a562f8cc9ed9d9f7f7380434c3c8646172d5 to < cfb04472ce33bee2579caf4dc9f4242522f6e26e · 50f0a562f8cc9ed9d9f7f7380434c3c8646172d5 to < cbe53087026ad929cd3950508397e8892a6a2a0f · 50f0a562f8cc9ed9d9f7f7380434c3c8646172d5 to < 8b17cec33892a66bbd71f8d9a70a45e2072ae84f · 50f0a562f8cc9ed9d9f7f7380434c3c8646172d5 to < 0edae06b4c227bcfaf3ce21208d49191e1009d3b · 50f0a562f8cc9ed9d9f7f7380434c3c8646172d5 to < 9504a1550686f53b0bab4cab31d435383b1ee2ce · 50f0a562f8cc9ed9d9f7f7380434c3c8646172d5 to < f1313ea92f82451923e28ab45a4aaa0e70e80b98 · 50f0a562f8cc9ed9d9f7f7380434c3c8646172d5 to < b9ea38e767459111a511ed4fb74abc37db95a59d · 50f0a562f8cc9ed9d9f7f7380434c3c8646172d5 to < 134061163ee5ca4759de5c24ca3bd71608891ba7 · Other versions: unaffected Affected Not stated Linux
Linux — Linux3.3 (affected) · 0 to < 3.3 (unaffected · semver) · 4.19.318 through 4.19.* (unaffected · semver) · 5.4.280 through 5.4.* (unaffected · semver) · 5.10.222 through 5.10.* (unaffected · semver) · 5.15.163 through 5.15.* (unaffected · semver) · 6.1.98 through 6.1.* (unaffected · semver) · 6.6.39 through 6.6.* (unaffected · semver) · 6.9.9 through 6.9.* (unaffected · semver) · 6.10 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2-2025-2778 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2024-066 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2024-080 Fixed Not stated Amazon Linux assessment
Debian bullseye linux Advisory build 5.10.223-1 DSA-5747-1
Oracle Linux 6 kernel-uekx86_64 Advisory build 0:4.1.12-124.92.3.el6uek ELSA-2024-12851
Show 99 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Debian bullseye linux-6.1 Advisory build 6.1.119-1~deb11u1 DLA-4008-1
Oracle Linux 6 kernel-uek-debugx86_64 Advisory build 0:4.1.12-124.92.3.el6uek ELSA-2024-12851
Oracle Linux 6 kernel-uek-debug-develx86_64 Advisory build 0:4.1.12-124.92.3.el6uek ELSA-2024-12851
Oracle Linux 6 kernel-uek-develx86_64 Advisory build 0:4.1.12-124.92.3.el6uek ELSA-2024-12851
Oracle Linux 6 kernel-uek-docx86_64 Advisory build 0:4.1.12-124.92.3.el6uek ELSA-2024-12851
Oracle Linux 6 kernel-uek-firmwarex86_64 Advisory build 0:4.1.12-124.92.3.el6uek ELSA-2024-12851
Oracle Linux 7 kernel-uekaarch64 Advisory build 0:4.14.35-2047.541.4.1.el7uek ELSA-2024-12779
Oracle Linux 7 kernel-uekaarch64 Advisory build 0:5.4.17-2136.335.4.el7uek ELSA-2024-12610
Oracle Linux 7 kernel-uekx86_64 Advisory build 0:4.1.12-124.92.3.el7uek ELSA-2024-12851
Oracle Linux 7 kernel-uekx86_64 Advisory build 0:4.14.35-2047.541.4.1.el7uek ELSA-2024-12779
Oracle Linux 7 kernel-uekx86_64 Advisory build 0:5.4.17-2136.335.4.el7uek ELSA-2024-12610
Oracle Linux 7 kernel-uek-containerx86_64 Advisory build 0:5.4.17-2136.335.4.el7 ELSA-2024-12612
Oracle Linux 7 kernel-uek-container-debugx86_64 Advisory build 0:5.4.17-2136.335.4.el7 ELSA-2024-12612
Oracle Linux 7 kernel-uek-debugaarch64 Advisory build 0:4.14.35-2047.541.4.1.el7uek ELSA-2024-12779
Oracle Linux 7 kernel-uek-debugaarch64 Advisory build 0:5.4.17-2136.335.4.el7uek ELSA-2024-12610
Oracle Linux 7 kernel-uek-debugx86_64 Advisory build 0:4.1.12-124.92.3.el7uek ELSA-2024-12851
Oracle Linux 7 kernel-uek-debugx86_64 Advisory build 0:4.14.35-2047.541.4.1.el7uek ELSA-2024-12779
Oracle Linux 7 kernel-uek-debugx86_64 Advisory build 0:5.4.17-2136.335.4.el7uek ELSA-2024-12610
Oracle Linux 7 kernel-uek-debug-develaarch64 Advisory build 0:4.14.35-2047.541.4.1.el7uek ELSA-2024-12779
Oracle Linux 7 kernel-uek-debug-develaarch64 Advisory build 0:5.4.17-2136.335.4.el7uek ELSA-2024-12610
Oracle Linux 7 kernel-uek-debug-develx86_64 Advisory build 0:4.1.12-124.92.3.el7uek ELSA-2024-12851
Oracle Linux 7 kernel-uek-debug-develx86_64 Advisory build 0:4.14.35-2047.541.4.1.el7uek ELSA-2024-12779
Oracle Linux 7 kernel-uek-debug-develx86_64 Advisory build 0:5.4.17-2136.335.4.el7uek ELSA-2024-12610
Oracle Linux 7 kernel-uek-develaarch64 Advisory build 0:4.14.35-2047.541.4.1.el7uek ELSA-2024-12779
Oracle Linux 7 kernel-uek-develaarch64 Advisory build 0:5.4.17-2136.335.4.el7uek ELSA-2024-12610
Oracle Linux 7 kernel-uek-develx86_64 Advisory build 0:4.1.12-124.92.3.el7uek ELSA-2024-12851
Oracle Linux 7 kernel-uek-develx86_64 Advisory build 0:4.14.35-2047.541.4.1.el7uek ELSA-2024-12779
Oracle Linux 7 kernel-uek-develx86_64 Advisory build 0:5.4.17-2136.335.4.el7uek ELSA-2024-12610
Oracle Linux 7 kernel-uek-docaarch64 Advisory build 0:5.4.17-2136.335.4.el7uek ELSA-2024-12610
Oracle Linux 7 kernel-uek-docx86_64 Advisory build 0:4.1.12-124.92.3.el7uek ELSA-2024-12851
Oracle Linux 7 kernel-uek-docx86_64 Advisory build 0:4.14.35-2047.541.4.1.el7uek ELSA-2024-12779
Oracle Linux 7 kernel-uek-docx86_64 Advisory build 0:5.4.17-2136.335.4.el7uek ELSA-2024-12610
Oracle Linux 7 kernel-uek-firmwarex86_64 Advisory build 0:4.1.12-124.92.3.el7uek ELSA-2024-12851
Oracle Linux 7 kernel-uek-headersaarch64 Advisory build 0:4.14.35-2047.541.4.1.el7uek ELSA-2024-12779
Oracle Linux 7 kernel-uek-toolsaarch64 Advisory build 0:4.14.35-2047.541.4.1.el7uek ELSA-2024-12779
Oracle Linux 7 kernel-uek-toolsaarch64 Advisory build 0:5.4.17-2136.335.4.el7uek ELSA-2024-12610
Oracle Linux 7 kernel-uek-toolsx86_64 Advisory build 0:4.14.35-2047.541.4.1.el7uek ELSA-2024-12779
Oracle Linux 7 kernel-uek-toolsx86_64 Advisory build 0:5.4.17-2136.335.4.el7uek ELSA-2024-12610
Oracle Linux 7 kernel-uek-tools-libsaarch64 Advisory build 0:4.14.35-2047.541.4.1.el7uek ELSA-2024-12779
Oracle Linux 7 kernel-uek-tools-libsaarch64 Advisory build 0:5.4.17-2136.335.4.el7uek ELSA-2024-12610
Oracle Linux 7 kernel-uek-tools-libs-develaarch64 Advisory build 0:4.14.35-2047.541.4.1.el7uek ELSA-2024-12779
Oracle Linux 7 perfaarch64 Advisory build 0:4.14.35-2047.541.4.1.el7uek ELSA-2024-12779
Oracle Linux 7 perfaarch64 Advisory build 0:5.4.17-2136.335.4.el7uek ELSA-2024-12610
Oracle Linux 7 python-perfaarch64 Advisory build 0:4.14.35-2047.541.4.1.el7uek ELSA-2024-12779
Oracle Linux 7 python-perfaarch64 Advisory build 0:5.4.17-2136.335.4.el7uek ELSA-2024-12610
Oracle Linux 8 bpftoolaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 bpftoolx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.4.17-2136.335.4.el8uek ELSA-2024-12610
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.4.17-2136.335.4.el8uek ELSA-2024-12610
Oracle Linux 8 kernel-uek-containeraarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.4.17-2136.335.4.el8 ELSA-2024-12612
Oracle Linux 8 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.4.17-2136.335.4.el8 ELSA-2024-12612
Oracle Linux 8 kernel-uek-coreaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-corex86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.4.17-2136.335.4.el8uek ELSA-2024-12610
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.4.17-2136.335.4.el8uek ELSA-2024-12610
Oracle Linux 8 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.4.17-2136.335.4.el8uek ELSA-2024-12610
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.4.17-2136.335.4.el8uek ELSA-2024-12610
Oracle Linux 8 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.4.17-2136.335.4.el8uek ELSA-2024-12610
Oracle Linux 8 kernel-uek-develx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-develx86_64 Advisory build 0:5.4.17-2136.335.4.el8uek ELSA-2024-12610
Oracle Linux 8 kernel-uek-docaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-docaarch64 Advisory build 0:5.4.17-2136.335.4.el8uek ELSA-2024-12610
Oracle Linux 8 kernel-uek-docx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-docx86_64 Advisory build 0:5.4.17-2136.335.4.el8uek ELSA-2024-12610
Oracle Linux 8 kernel-uek-modulesaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-modulesx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-modules-extraaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-modules-extrax86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 9 bpftoolaarch64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 bpftoolx86_64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-containeraarch64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-containerx86_64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-coreaarch64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-corex86_64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-debugaarch64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-debugx86_64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618

Package entries are limited to the first 100 builds and 100 linked advisories.

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 that the total number of Ethernet queues should not exceed FP_SB_MAX_E1x (16). However one of these queues is reserved for FCOE and thus the number of Ethernet queues should be set to [FP_SB_MAX_E1x -1] (15) if FCOE is enabled or [FP_SB_MAX_E1x] (16) if it is not. This is also described in a comment in the source code in drivers/net/ethernet/broadcom/bnx2x/bnx2x.h just above the Macro definition of FP_SB_MAX_E1x. Below is the part of this explanation that it important for this patch /* * The total number of L2 queues, MSIX vectors and HW contexts (CIDs) is * control by the number of fast-path status blocks supported by the * device (HW/FW). Each fast-path status block (FP-SB) aka non-default * status block represents an independent interrupts context that can * serve a regular L2 networking queue. However special L2 queues such * as the FCoE queue do not require a FP-SB and other components like * the CNIC may consume FP-SB reducing the number of possible L2 queues * * If the maximum number of FP-SB available is X then: * a. If CNIC is supported it consumes 1 FP-SB thus the max number of * regular L2 queues is Y=X-1 * b. In MF mode the actual number of L2 queues is Y= (X-1/MF_factor) * c. If the FCoE L2 queue is supported the actual number of L2 queues * is Y+1 * d. The number of irqs (MSIX vectors) is either Y+1 (one extra for * slow-path interrupts) or Y+2 if CNIC is supported (one additional * FP interrupt context for the CNIC). * e. The number of HW context (CID count) is always X or X+1 if FCoE * L2 queue is supported. The cid for the FCoE L2 queue is always X. */ However this driver also supports NICs that use the E2 controller which can handle more queues due to having more FP-SB represented by FP_SB_MAX_E2. Looking at the commits when the E2 support was added, it was originally using the E1x parameters: commit f2e0899f0f27 ("bnx2x: Add 57712 support"). Back then FP_SB_MAX_E2 was set to 16 the same as E1x. However the driver was later updated to take full advantage of the E2 instead of having it be limited to the capabilities of the E1x. But as far as we can tell, the array "stats_query_entry query" was still limited to using the FP-SB available to the E1x cards as part of an oversignt when the driver was updated to take full advantage of the E2, and now with the driver being aware of the greater queue size supported by E2 NICs, it causes the UBSAN warnings seen in the stack traces below. This patch increases the size of the "stats_query_entry query" array by replacing FP_SB_MAX_E1x with FP_SB_MAX_E2 to be large enough to handle both types of NICs. Stack traces: UBSAN: array-index-out-of-bounds in drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c:1529:11 index 20 is out of range for type 'stats_query_entry [19]' CPU: 12 PID: 858 Comm: systemd-network Not tainted 6.9.0-060900rc7-generic #202405052133 Hardware name: HP ProLiant DL360 Gen9/ProLiant DL360 ---truncated---

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

55

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 50f0a562f8cc9ed9d9f7f7380434c3c8646172d5 to < cfb04472ce33bee2579caf4dc9f4242522f6e26e (affected · git)50f0a562f8cc9ed9d9f7f7380434c3c8646172d5 to < cbe53087026ad929cd3950508397e8892a6a2a0f (affected · git)50f0a562f8cc9ed9d9f7f7380434c3c8646172d5 to < 8b17cec33892a66bbd71f8d9a70a45e2072ae84f (affected · git)50f0a562f8cc9ed9d9f7f7380434c3c8646172d5 to < 0edae06b4c227bcfaf3ce21208d49191e1009d3b (affected · git)50f0a562f8cc9ed9d9f7f7380434c3c8646172d5 to < 9504a1550686f53b0bab4cab31d435383b1ee2ce (affected · git)50f0a562f8cc9ed9d9f7f7380434c3c8646172d5 to < f1313ea92f82451923e28ab45a4aaa0e70e80b98 (affected · git)50f0a562f8cc9ed9d9f7f7380434c3c8646172d5 to < b9ea38e767459111a511ed4fb74abc37db95a59d (affected · git)50f0a562f8cc9ed9d9f7f7380434c3c8646172d5 to < 134061163ee5ca4759de5c24ca3bd71608891ba7 (affected · git)Default: unaffected Linux · cna
Linux Linux 3.3 (affected)0 to < 3.3 (unaffected · semver)4.19.318 through 4.19.* (unaffected · semver)5.4.280 through 5.4.* (unaffected · semver)5.10.222 through 5.10.* (unaffected · semver)5.15.163 through 5.15.* (unaffected · semver)6.1.98 through 6.1.* (unaffected · semver)6.6.39 through 6.6.* (unaffected · semver)6.9.9 through 6.9.* (unaffected · semver)6.10 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

9

Provider assertions

3

Linux · cna

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

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
7302e855a6b695f58791b054c67816163d1f5cf941ecfefaf8440b9ebbf1327e
Ingested
23 Sep 2026, 08:26:31 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected