Menu

Star on GitHub · 3.2k

CVE-2024-38555

7.0 · HIGH

In the Linux kernel, the following vulnerability has been resolved: net/mlx5: Discard command completions in internal error Fix use after free when FW completion arrives while device is in intern…

Published Jun 19, 2024CWE-416EPSS 0.26%

Overview

CVE-2024-38555 is a high-severity vulnerability. It was published on June 19, 2024 and has a CVSS 3.1 base score of 7.0 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.0, 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:

net/mlx5: Discard command completions in internal error

Fix use after free when FW completion arrives while device is in

internal error state. Avoid calling completion handler in this case,

since the device will flush the command interface and trigger all

completions manually.

Kernel log:

------------[ cut here ]------------

refcount_t: underflow; use-after-free.

...

RIP: 0010:refcount_warn_saturate+0xd8/0xe0

...

Call Trace:

<IRQ>

? __warn+0x79/0x120

? refcount_warn_saturate+0xd8/0xe0

? report_bug+0x17c/0x190

? handle_bug+0x3c/0x60

? exc_invalid_op+0x14/0x70

? asm_exc_invalid_op+0x16/0x20

? refcount_warn_saturate+0xd8/0xe0

cmd_ent_put+0x13b/0x160 [mlx5_core]

mlx5_cmd_comp_handler+0x5f9/0x670 [mlx5_core]

cmd_comp_notifier+0x1f/0x30 [mlx5_core]

notifier_call_chain+0x35/0xb0

atomic_notifier_call_chain+0x16/0x20

mlx5_eq_async_int+0xf6/0x290 [mlx5_core]

notifier_call_chain+0x35/0xb0

atomic_notifier_call_chain+0x16/0x20

i

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

CVE-2024-38555 is a high-severity vulnerability. It was published on June 19, 2024 and has a CVSS 3.1 base score of 7.0 (HIGH).

How severe is CVE-2024-38555?

This vulnerability has a CVSS 3.1 base score of 7.0, 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-38555?

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

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