CVE-2024-42224 Details
Description
In the Linux kernel, the following vulnerability has been resolved: net: dsa: mv88e6xxx: Correct check for empty list Since commit a3c53be55c95 ("net: dsa: mv88e6xxx: Support multiple MDIO busses") mv88e6xxx_default_mdio_bus() has checked that the return value of list_first_entry() is non-NULL. This appears to be intended to guard against the list chip->mdios being empty. However, it is not the correct check as the implementation of list_first_entry is not designed to return NULL for empty lists. Instead, use list_first_entry_or_null() which does return NULL if the list is empty. Flagged by Smatch. Compile tested only.
A vulnerability allowing privilege escalation has been identified in the Linux kernel within the DSA MV88E6XXX driver. This issue arises from an incorrect check for empty lists in the 'mv88e6xxx_default_mdio_bus' function. The vulnerability is present in several versions of the Linux kernel, specifically in the stable group.
Users can upgrade to the patched version of the Linux kernel available in the Debian LTS repository. Instructions for upgrading can be found in the Debian LTS security announcement DLA-4008-1.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 10, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-754 | Improper Check for Unusual or Exceptional Conditions | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.11, < 4.19.318 >= 4.20, < 5.4.280 >= 5.5, < 5.10.222 >= 5.11, < 5.15.163 >= 5.16, < 6.1.98 >= 6.2, < 6.6.39 >= 6.7, < 6.9.9 |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 4, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 3, 2025 | CVE Modified | CVE |
| Nov 21, 2024 | CVE Modified | CVE |
| Sep 25, 2024 | Reanalysis | [email protected] |
| Aug 2, 2024 | Initial Analysis | [email protected] |
| Jul 30, 2024 | New CVE Received | kernel.org |