Menu

Star on GitHub · 3.4k

CVE-2024-26766

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: IB/hfi1: Fix sdma.h tx->num_descs off-by-one error Unfortunately the commit `fd8958efe877` introduced another error causing the…

Published Apr 3, 2024CWE-193EPSS 0.27%

Overview

CVE-2024-26766 is a high-severity vulnerability. It was published on April 3, 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:

IB/hfi1: Fix sdma.h tx->num_descs off-by-one error

Unfortunately the commit `fd8958efe877` introduced another error

causing the `descs` array to overflow. This reults in further crashes

easily reproducible by `sendmsg` system call.

[ 1080.836473] general protection fault, probably for non-canonical address 0x400300015528b00a: 0000 [#1] PREEMPT SMP PTI

[ 1080.869326] RIP: 0010:hfi1_ipoib_build_ib_tx_headers.constprop.0+0xe1/0x2b0 [hfi1]

--

[ 1080.974535] Call Trace:

[ 1080.976990] <TASK>

[ 1081.021929] hfi1_ipoib_send_dma_common+0x7a/0x2e0 [hfi1]

[ 1081.027364] hfi1_ipoib_send_dma_list+0x62/0x270 [hfi1]

[ 1081.032633] hfi1_ipoib_send+0x112/0x300 [hfi1]

[ 1081.042001] ipoib_start_xmit+0x2a9/0x2d0 [ib_ipoib]

[ 1081.046978] dev_hard_start_xmit+0xc4/0x210

--

[ 1081.148347] __sys_sendmsg+0x59/0xa0

crash> ipoib_txreq 0xffff9cfeba229f00

struct ipoib_txreq {

txreq = {

list = {

next = 0xffff9cfeba229f00,

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-26766?

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

How severe is CVE-2024-26766?

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-26766?

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-26766?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-26766 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
Watch the demo →