Menu

Star on GitHub · 3.2k

CVE-2024-38557

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: net/mlx5: Reload only IB representors upon lag disable/enable On lag disable, the bond IB device along with all of its represen…

Published Jun 19, 2024CWE-667EPSS 0.18%

Overview

CVE-2024-38557 is a medium-severity vulnerability. It was published on June 19, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. 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:

net/mlx5: Reload only IB representors upon lag disable/enable

On lag disable, the bond IB device along with all of its

representors are destroyed, and then the slaves' representors get reloaded.

In case the slave IB representor load fails, the eswitch error flow

unloads all representors, including ethernet representors, where the

netdevs get detached and removed from lag bond. Such flow is inaccurate

as the lag driver is not responsible for loading/unloading ethernet

representors. Furthermore, the flow described above begins by holding

lag lock to prevent bond changes during disable flow. However, when

reaching the ethernet representors detachment from lag, the lag lock is

required again, triggering the following deadlock:

Call trace:

__switch_to+0xf4/0x148

__schedule+0x2c8/0x7d0

schedule+0x50/0xe0

schedule_preempt_disabled+0x18/0x28

__mutex_lock.isra.13+0x2b8/0x570

__mutex_lock_slowpath+0x1c/0x28

mutex_lock+0x4c/0

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

CVE-2024-38557 is a medium-severity vulnerability. It was published on June 19, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2024-38557?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. 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-38557?

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

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-38557 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 MEDIUM CVEs from 2024

View all