CVE-2024-42224

Medium

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.

Package Linux Kernel
Published 2024-07-30
Last modified 2025-11-03
CVSS version 3.1
Patch available
Awaiting data

CVSS 3.1 score

6.1

out of 10
Medium
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
High
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H

Weakness type

CWE-754

CVE-2024-42224 is classified as CWE-754

See CWE-754 on MITRE CWE for full details on this weakness type.

References

The following references provide additional information about CVE-2024-42224 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.

Frequently asked questions

  • What is CVE-2024-42224?

    CVE-2024-42224 is a Medium severity Linux kernel vulnerability with a CVSS score of 6.1 out of 10 . CVE-2024-42224 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2024-42224?

    CVE-2024-42224 has a CVSS score of 6.1 out of 10, rated Medium severity (CVSS 3.1). The vector string is CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H .

  • Is there a patch available for CVE-2024-42224?

    No patch is currently available for CVE-2024-42224. Monitor the NIST NVD and your Linux distribution's security advisories for updates.

  • Is CVE-2024-42224 actively exploited?

    No — CVE-2024-42224 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.