Menu

Star on GitHub · 3.4k

CVE-2024-50023

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: net: phy: Remove LED entry from LEDs list on unregister Commit c938ab4da0eb ("net: phy: Manual remove LEDs to ensure correct or…

Published Oct 21, 2024EPSS 0.24%

Overview

CVE-2024-50023 is a medium-severity vulnerability. It was published on October 21, 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: phy: Remove LED entry from LEDs list on unregister

Commit c938ab4da0eb ("net: phy: Manual remove LEDs to ensure correct

ordering") correctly fixed a problem with using devm_ but missed

removing the LED entry from the LEDs list.

This cause kernel panic on specific scenario where the port for the PHY

is torn down and up and the kmod for the PHY is removed.

On setting the port down the first time, the assosiacted LEDs are

correctly unregistered. The associated kmod for the PHY is now removed.

The kmod is now added again and the port is now put up, the associated LED

are registered again.

On putting the port down again for the second time after these step, the

LED list now have 4 elements. With the first 2 already unregistered

previously and the 2 new one registered again.

This cause a kernel panic as the first 2 element should have been

removed.

Fix this by correctly removing the element when LED is unregistere

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

CVE-2024-50023 is a medium-severity vulnerability. It was published on October 21, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2024-50023?

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

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

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

View all
LiveWatch live →