Skip to main content
Network Thinking Solutions Logo

CVE-2024-42224

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.

All CVEs
CVE-2024-42224Published 7/30/2024

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.

Vendor advisory
CVSS7.0High

Overview

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.

Published
7/30/2024
Last modified
8/4/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 4.11, < 4.19.318

Verify advisory

Source
linux kernel
linux
≥ 4.20, < 5.4.280

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.222

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.163

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.98

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.39

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.9.9

Verify advisory

Source
Linux
Linux
≥ a3c53be55c955b7150cda17874c3fcb4eeb97a89, < 47d28dde172696031c880c5778633cdca30394ee

Verify advisory

Source
Linux
Linux
≥ a3c53be55c955b7150cda17874c3fcb4eeb97a89, < 3bf8d70e1455f87856640c3433b3660a31001618

Verify advisory

Source
Linux
Linux
≥ a3c53be55c955b7150cda17874c3fcb4eeb97a89, < 2a2fe25a103cef73cde356e6d09da10f607e93f5

Verify advisory

Source
Linux
Linux
≥ a3c53be55c955b7150cda17874c3fcb4eeb97a89, < 8c2c3cca816d074c75a2801d1ca0dea7b0148114

Verify advisory

Source
Linux
Linux
≥ a3c53be55c955b7150cda17874c3fcb4eeb97a89, < aa03f591ef31ba603a4a99d05d25a0f21ab1cd89

Verify advisory

Source
Linux
Linux
≥ a3c53be55c955b7150cda17874c3fcb4eeb97a89, < 3f25b5f1635449036692a44b771f39f772190c1d

Verify advisory

Source
Linux
Linux
≥ a3c53be55c955b7150cda17874c3fcb4eeb97a89, < f75625db838ade28f032dacd0f0c8baca42ecde4

Verify advisory

Source
Linux
Linux
≥ a3c53be55c955b7150cda17874c3fcb4eeb97a89, < 4c7f3950a9fd53a62b156c0fe7c3a2c43b0ba19b

Verify advisory

Source
Linux
Linux
4.11

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.