PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet

CVE-2024-50023: 
Linux Kernel vulnerability analysis and mitigation

Overview

In the Linux kernel, a vulnerability (CVE-2024-50023) was discovered in the PHY LED handling mechanism. The issue was identified in versions 6.4 through 6.6.57 and versions 6.7 through 6.11.4. The vulnerability stems from an incomplete fix in a previous commit that addressed LED entry management in the LEDs list during unregistration (NVD).

Technical details

The vulnerability occurs when a port for the PHY is torn down and up while the kmod for the PHY is removed. The issue arises from the incomplete implementation in commit c938ab4da0eb, which correctly fixed a problem with using devm_ but failed to remove the LED entry from the LEDs list. This results in a scenario where the LED list maintains stale entries, leading to a kernel panic. The CVSS v3.1 base score is 5.5 (MEDIUM) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD, Kernel Patch).

Impact

When exploited, this vulnerability can cause a kernel panic under specific conditions. The issue manifests when the port is brought down for the second time after a sequence of operations, as the LED list contains four elements - two previously unregistered and two newly registered ones. This leads to system instability and potential denial of service (NVD).

Exploitability

The vulnerability requires local access and specific conditions to be exploited. The attack scenario involves a sequence of operations: bringing down a PHY port, removing the associated kmod, re-adding the kmod, bringing the port up, and then bringing it down again. This specific sequence triggers the kernel panic condition (Kernel Patch).

Mitigation and workarounds

The vulnerability has been patched by correctly removing the LED element when it is unregistered. The fix involves modifying the phy_leds_unregister function to properly clean up LED entries from the list. Users should upgrade to Linux kernel versions 6.6.57 or later, or 6.11.4 or later, which contain the fix (NVD, Kernel Patch).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux

Fixed

bullseye

linux

Fixed

sid

linux: 6.11.4-1

Fixed

trixie

linux: 6.11.4-1

Fixed

Source: This report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-98862MEDIUM6
  • Linux Kernel logoLinux Kernel
  • linux-iot
NoYesOct 18, 2026
CVE-2026-98859MEDIUM5.7
  • Linux Kernel logoLinux Kernel
  • kernel-64k-modules-partner
NoYesOct 18, 2026
CVE-2026-98861MEDIUM4.7
  • Linux Kernel logoLinux Kernel
  • linux-fips
NoYesOct 18, 2026
CVE-2026-98863NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-riscv
NoYesOct 18, 2026
CVE-2026-98858NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-ibm-5.15
NoYesOct 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management