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

5.5 · MEDIUM
Published Nov 5, 2024 linux CWE-476 EPSS 0.19% (8th pctl)

Overview

CVE-2024-50122 is a medium-severity vulnerability affecting linux linux_kernel. It was published on November 5, 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:

PCI: Hold rescan lock while adding devices during host probe

Since adding the PCI power control code, we may end up with a race between

the pwrctl platform device rescanning the bus and host controller probe

functions. The latter need to take the rescan lock when adding devices or

we may end up in an undefined state having two incompletely added devices

and hit the following crash when trying to remove the device over sysfs:

Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000

Internal error: Oops: 0000000096000004 [#1] SMP

Call trace:

__pi_strlen+0x14/0x150

kernfs_find_ns+0x80/0x13c

kernfs_remove_by_name_ns+0x54/0xf0

sysfs_remove_bin_file+0x24/0x34

pci_remove_resource_files+0x3c/0x84

pci_remove_sysfs_dev_files+0x28/0x38

pci_stop_bus_device+0x8c/0xd8

pci_stop_bus_device+0x40/0xd8

pci_stop_and_remove_bus_device_locked+0x28/0x48

remove_store

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 >= 6.11, < 6.11.6 Affected

Frequently Asked Questions

What is CVE-2024-50122?

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

How severe is CVE-2024-50122?

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

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

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