Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2022-48858

7.0 · HIGH
Published Jul 16, 2024 linux CWE-362 EPSS 0.18% (7th pctl)

Overview

CVE-2022-48858 is a high-severity vulnerability affecting linux linux_kernel. It was published on July 16, 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: Fix a race on command flush flow

Fix a refcount use after free warning due to a race on command entry.

Such race occurs when one of the commands releases its last refcount and

frees its index and entry while another process running command flush

flow takes refcount to this command entry. The process which handles

commands flush may see this command as needed to be flushed if the other

process released its refcount but didn't release the index yet. Fix it

by adding the needed spin lock.

It fixes the following warning trace:

refcount_t: addition on 0; use-after-free.

WARNING: CPU: 11 PID: 540311 at lib/refcount.c:25 refcount_warn_saturate+0x80/0xe0

...

RIP: 0010:refcount_warn_saturate+0x80/0xe0

...

Call Trace:

<TASK>

mlx5_cmd_trigger_completions+0x293/0x340 [mlx5_core]

mlx5_cmd_flush+0x3a/0xf0 [mlx5_core]

enter_error_state+0x44/0x80 [mlx5_core]

mlx5_fw_fatal_reporter_err_work+0x37/0xe0 [mlx5_core]

pro

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. 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.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 0, < 5.4.185 Affected

Frequently Asked Questions

What is CVE-2022-48858?

CVE-2022-48858 is a high-severity vulnerability affecting linux linux_kernel. It was published on July 16, 2024 and has a CVSS 3.1 base score of 7.0 (HIGH).

How severe is CVE-2022-48858?

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-2022-48858?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. 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-2022-48858?

CyberStrike's AI-powered security agents can automatically detect CVE-2022-48858 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.