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-50002

5.5 · MEDIUM
Published Jun 18, 2025 linux CWE-476 EPSS 0.20% (10th pctl)

Overview

CVE-2022-50002 is a medium-severity vulnerability affecting linux linux_kernel. It was published on June 18, 2025 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: LAG, fix logic over MLX5_LAG_FLAG_NDEVS_READY

Only set MLX5_LAG_FLAG_NDEVS_READY if both netdevices are registered.

Doing so guarantees that both ldev->pf[MLX5_LAG_P0].dev and

ldev->pf[MLX5_LAG_P1].dev have valid pointers when

MLX5_LAG_FLAG_NDEVS_READY is set.

The core issue is asymmetry in setting MLX5_LAG_FLAG_NDEVS_READY and

clearing it. Setting it is done wrongly when both

ldev->pf[MLX5_LAG_P0].dev and ldev->pf[MLX5_LAG_P1].dev are set;

clearing it is done right when either of ldev->pf[i].netdev is cleared.

Consider the following scenario:

1. PF0 loads and sets ldev->pf[MLX5_LAG_P0].dev to a valid pointer

2. PF1 loads and sets both ldev->pf[MLX5_LAG_P1].dev and

ldev->pf[MLX5_LAG_P1].netdev with valid pointers. This results in

MLX5_LAG_FLAG_NDEVS_READY is set.

3. PF0 is unloaded before setting dev->pf[MLX5_LAG_P0].netdev.

MLX5_LAG_FLAG_NDEVS_READY remains set.

Further execution of mlx5_do_bon

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 >= 5.14, < 5.19.6 Affected

Frequently Asked Questions

What is CVE-2022-50002?

CVE-2022-50002 is a medium-severity vulnerability affecting linux linux_kernel. It was published on June 18, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2022-50002?

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

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

CyberStrike's AI-powered security agents can automatically detect CVE-2022-50002 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.