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-2024-50146

5.5 · MEDIUM
Published Nov 7, 2024 linux CWE-476 EPSS 0.23% (14th pctl)

Overview

CVE-2024-50146 is a medium-severity vulnerability affecting linux linux_kernel. It was published on November 7, 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/mlx5e: Don't call cleanup on profile rollback failure

When profile rollback fails in mlx5e_netdev_change_profile, the netdev

profile var is left set to NULL. Avoid a crash when unloading the driver

by not calling profile->cleanup in such a case.

This was encountered while testing, with the original trigger that

the wq rescuer thread creation got interrupted (presumably due to

Ctrl+C-ing modprobe), which gets converted to ENOMEM (-12) by

mlx5e_priv_init, the profile rollback also fails for the same reason

(signal still active) so the profile is left as NULL, leading to a crash

later in _mlx5e_remove.

[ 732.473932] mlx5_core 0000:08:00.1: E-Switch: Unload vfs: mode(OFFLOADS), nvfs(2), necvfs(0), active vports(2)

[ 734.525513] workqueue: Failed to create a rescuer kthread for wq "mlx5e": -EINTR

[ 734.557372] mlx5_core 0000:08:00.1: mlx5e_netdev_init_profile:6235:(pid 6086): mlx5e_priv_init failed, err=-12

[

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.12, < 6.11.6 Affected

Frequently Asked Questions

What is CVE-2024-50146?

CVE-2024-50146 is a medium-severity vulnerability affecting linux linux_kernel. It was published on November 7, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2024-50146?

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

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-2024-50146?

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