CVE-2024-42224
net: dsa: mv88e6xxx: Correct check for empty list
Mitigation
- Upgrade Linux to 4c7f3950a9fd53a62b156c0fe7c3a2c43b0ba19b or later.
Who should check
- Anyone running Linux >= a3c53be55c955b7150cda17874c3fcb4eeb97a89, < 47d28dde172696031c880c5778633cdca30394ee; >= a3c53be55c955b7150cda17874c3fcb4eeb97a89, < 3bf8d70e1455f87856640c3433b3660a31001618; >= a3c53be55c955b7150cda17874c3fcb4eeb97a89, < 2a2fe25a103cef73cde356e6d09da10f607e93f5; >= a3c53be55c955b7150cda17874c3fcb4eeb97a89, < 8c2c3cca816d074c75a2801d1ca0dea7b0148114; >= a3c53be55c955b7150cda17874c3fcb4eeb97a89, < aa03f591ef31ba603a4a99d05d25a0f21ab1cd89; >= a3c53be55c955b7150cda17874c3fcb4eeb97a89, < 3f25b5f1635449036692a44b771f39f772190c1d; >= a3c53be55c955b7150cda17874c3fcb4eeb97a89, < f75625db838ade28f032dacd0f0c8baca42ecde4; >= a3c53be55c955b7150cda17874c3fcb4eeb97a89, < 4c7f3950a9fd53a62b156c0fe7c3a2c43b0ba19b
- Anyone running Linux 4.11
Vulnerability facts
- Affected
- Linux >= a3c53be55c955b7150cda17874c3fcb4eeb97a89, < 47d28dde172696031c880c5778633cdca30394ee; >= a3c53be55c955b7150cda17874c3fcb4eeb97a89, < 3bf8d70e1455f87856640c3433b3660a31001618; >= a3c53be55c955b7150cda17874c3fcb4eeb97a89, < 2a2fe25a103cef73cde356e6d09da10f607e93f5; >= a3c53be55c955b7150cda17874c3fcb4eeb97a89, < 8c2c3cca816d074c75a2801d1ca0dea7b0148114; >= a3c53be55c955b7150cda17874c3fcb4eeb97a89, < aa03f591ef31ba603a4a99d05d25a0f21ab1cd89; >= a3c53be55c955b7150cda17874c3fcb4eeb97a89, < 3f25b5f1635449036692a44b771f39f772190c1d; >= a3c53be55c955b7150cda17874c3fcb4eeb97a89, < f75625db838ade28f032dacd0f0c8baca42ecde4; >= a3c53be55c955b7150cda17874c3fcb4eeb97a89, < 4c7f3950a9fd53a62b156c0fe7c3a2c43b0ba19b; Linux 4.11
- Fixed in
- Linux 47d28dde172696031c880c5778633cdca30394ee, Linux 3bf8d70e1455f87856640c3433b3660a31001618, Linux 2a2fe25a103cef73cde356e6d09da10f607e93f5, Linux 8c2c3cca816d074c75a2801d1ca0dea7b0148114, Linux 3f25b5f1635449036692a44b771f39f772190c1d, Linux 4c7f3950a9fd53a62b156c0fe7c3a2c43b0ba19b
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.0 (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.34% chance of exploitation in 30 days (percentile 20, 2026-11-26)
- CWE
- CWE-754
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= a3c53be55c955b7150cda17874c3fcb4eeb97a89, < 47d28dde172696031c880c5778633cdca30394ee; >= a3c53be55c955b7150cda17874c3fcb4eeb97a89, < 3bf8d70e1455f87856640c3433b3660a31001618; >= a3c53be55c955b7150cda17874c3fcb4eeb97a89, < 2a2fe25a103cef73cde356e6d09da10f607e93f5; >= a3c53be55c955b7150cda17874c3fcb4eeb97a89, < 8c2c3cca816d074c75a2801d1ca0dea7b0148114; >= a3c53be55c955b7150cda17874c3fcb4eeb97a89, < aa03f591ef31ba603a4a99d05d25a0f21ab1cd89; >= a3c53be55c955b7150cda17874c3fcb4eeb97a89, < 3f25b5f1635449036692a44b771f39f772190c1d; >= a3c53be55c955b7150cda17874c3fcb4eeb97a89, < f75625db838ade28f032dacd0f0c8baca42ecde4; >= a3c53be55c955b7150cda17874c3fcb4eeb97a89, < 4c7f3950a9fd53a62b156c0fe7c3a2c43b0ba19b | — | cvelist |
| Linux | 4.11 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-42224. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-42224.md Affected: Linux >= a3c53be55c955b7150cda17874c3fcb4eeb97a89, < 47d28dde172696031c880c5778633cdca30394ee; >= a3c53be55c955b7150cda17874c3fcb4eeb97a89, < 3bf8d70e1455f87856640c3433b3660a31001618; >= a3c53be55c955b7150cda17874c3fcb4eeb97a89, < 2a2fe25a103cef73cde356e6d09da10f607e93f5; >= a3c53be55c955b7150cda17… Fixed in: Linux 47d28dde172696031c880c5778633cdca30394ee, Linux 3bf8d70e1455f87856640c3433b3660a31001618, Linux 2a2fe25a103cef73cde356e6d09da10f607e93f5, Linux 8c2c3cca816d074c75a2801d1ca0dea7b0148114, Linux 3f25b5f1635449036692a44b771f39f772190c1d, Linux 4c7f3950a9fd53a62b156c0fe7c3a2c43b0ba19b Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/47d28dde172696031c880c5778633cdca30394ee
- https://git.kernel.org/stable/c/3bf8d70e1455f87856640c3433b3660a31001618
- https://git.kernel.org/stable/c/2a2fe25a103cef73cde356e6d09da10f607e93f5
- https://git.kernel.org/stable/c/8c2c3cca816d074c75a2801d1ca0dea7b0148114
- https://git.kernel.org/stable/c/aa03f591ef31ba603a4a99d05d25a0f21ab1cd89
- https://git.kernel.org/stable/c/3f25b5f1635449036692a44b771f39f772190c1d
- https://git.kernel.org/stable/c/f75625db838ade28f032dacd0f0c8baca42ecde4
- https://git.kernel.org/stable/c/4c7f3950a9fd53a62b156c0fe7c3a2c43b0ba19b
FAQ
Is CVE-2024-42224 being exploited?
There is no confirmed exploitation: CVE-2024-42224 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-42224?
High: CVSS 7.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2024-42224?
Linux >= a3c53be55c955b7150cda17874c3fcb4eeb97a89, < 47d28dde172696031c880c5778633cdca30394ee; >= a3c53be55c955b7150cda17874c3fcb4eeb97a89, < 3bf8d70e1455f87856640c3433b3660a31001618; >= a3c53be55c955b7150cda17874c3fcb4eeb97a89, < 2a2fe25a103cef73cde356e6d09da10f607e93f5; >= a3c53be55c955b7150cda17874c3fcb4eeb97a89, < 8c2c3cca816d074c75a2801d1ca0dea7b0148114; >= a3c53be55c955b7150cda17874c3fcb4eeb97a89, < aa03f591ef31ba603a4a99d05d25a0f21ab1cd89; >= a3c53be55c955b7150cda17874c3fcb4eeb97a89, < 3f25b5f1635449036692a44b771f39f772190c1d; >= a3c53be55c955b7150cda17874c3fcb4eeb97a89, < f75625db838ade28f032dacd0f0c8baca42ecde4; >= a3c53be55c955b7150cda17874c3fcb4eeb97a89, < 4c7f3950a9fd53a62b156c0fe7c3a2c43b0ba19b; Linux 4.11.
Is there a fix for CVE-2024-42224?
Yes. Fixed in Linux 47d28dde172696031c880c5778633cdca30394ee, Linux 3bf8d70e1455f87856640c3433b3660a31001618, Linux 2a2fe25a103cef73cde356e6d09da10f607e93f5, Linux 8c2c3cca816d074c75a2801d1ca0dea7b0148114, Linux 3f25b5f1635449036692a44b771f39f772190c1d, Linux 4c7f3950a9fd53a62b156c0fe7c3a2c43b0ba19b. Upgrade Linux to 4c7f3950a9fd53a62b156c0fe7c3a2c43b0ba19b or later.
How do I check if I'm affected by CVE-2024-42224?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.