CVE-2024-40928
net: ethtool: fix the error condition in ethtool_get_phy_stats_ethtool()
Mitigation
- Upgrade Linux to 0dcc53abf58d572d34c5313de85f607cd33fc691 or later.
Who should check
- Anyone running Linux >= c882f2178f22f3740e20a6bd6b8df1c0500301bf, < 25504f7fe60058b2a9553a9e424fb7dd9683843e; >= 72d1c4a07780e24827c29bad203a1167d67181ed, < c3ba0557ab2ef15a3663e2fb9b1a3d628a8c3daa; >= 981c6e178cf333ac9568665e6d786f795f5cb3ad, < f9e57e7ca77393b5b7072800370370b02eaad0f8; >= 201ed315f9676809cd5b20a39206e964106d4f27, < 6548d543a27449a1a3d8079925de93f5764d6f22; >= 201ed315f9676809cd5b20a39206e964106d4f27, < 92196be82a4eb61813833dc62876fd198ae51ab1; >= 201ed315f9676809cd5b20a39206e964106d4f27, < 0dcc53abf58d572d34c5313de85f607cd33fc691
- Anyone running Linux 6.2
Vulnerability facts
- Affected
- Linux >= c882f2178f22f3740e20a6bd6b8df1c0500301bf, < 25504f7fe60058b2a9553a9e424fb7dd9683843e; >= 72d1c4a07780e24827c29bad203a1167d67181ed, < c3ba0557ab2ef15a3663e2fb9b1a3d628a8c3daa; >= 981c6e178cf333ac9568665e6d786f795f5cb3ad, < f9e57e7ca77393b5b7072800370370b02eaad0f8; >= 201ed315f9676809cd5b20a39206e964106d4f27, < 6548d543a27449a1a3d8079925de93f5764d6f22; >= 201ed315f9676809cd5b20a39206e964106d4f27, < 92196be82a4eb61813833dc62876fd198ae51ab1; >= 201ed315f9676809cd5b20a39206e964106d4f27, < 0dcc53abf58d572d34c5313de85f607cd33fc691; Linux 6.2
- Fixed in
- Linux 25504f7fe60058b2a9553a9e424fb7dd9683843e, Linux 6548d543a27449a1a3d8079925de93f5764d6f22, Linux 92196be82a4eb61813833dc62876fd198ae51ab1, Linux 0dcc53abf58d572d34c5313de85f607cd33fc691
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.31% chance of exploitation in 30 days (percentile 16, 2026-11-26)
- CWE
- CWE-476
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: net: ethtool: fix the error condition in ethtool_get_phy_stats_ethtool() Clang static checker (scan-build) warning: net/ethtool/ioctl.c:line 2233, column 2 Called function pointer is null (null dereference). Return '-EOPNOTSUPP' when 'ops->get_ethtool_phy_stats' is NULL to fix this typo error.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= c882f2178f22f3740e20a6bd6b8df1c0500301bf, < 25504f7fe60058b2a9553a9e424fb7dd9683843e; >= 72d1c4a07780e24827c29bad203a1167d67181ed, < c3ba0557ab2ef15a3663e2fb9b1a3d628a8c3daa; >= 981c6e178cf333ac9568665e6d786f795f5cb3ad, < f9e57e7ca77393b5b7072800370370b02eaad0f8; >= 201ed315f9676809cd5b20a39206e964106d4f27, < 6548d543a27449a1a3d8079925de93f5764d6f22; >= 201ed315f9676809cd5b20a39206e964106d4f27, < 92196be82a4eb61813833dc62876fd198ae51ab1; >= 201ed315f9676809cd5b20a39206e964106d4f27, < 0dcc53abf58d572d34c5313de85f607cd33fc691 | — | cvelist |
| Linux | 6.2 | — | 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-40928. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-40928.md Affected: Linux >= c882f2178f22f3740e20a6bd6b8df1c0500301bf, < 25504f7fe60058b2a9553a9e424fb7dd9683843e; >= 72d1c4a07780e24827c29bad203a1167d67181ed, < c3ba0557ab2ef15a3663e2fb9b1a3d628a8c3daa; >= 981c6e178cf333ac9568665e6d786f795f5cb3ad, < f9e57e7ca77393b5b7072800370370b02eaad0f8; >= 201ed315f9676809cd5b20a… Fixed in: Linux 25504f7fe60058b2a9553a9e424fb7dd9683843e, Linux 6548d543a27449a1a3d8079925de93f5764d6f22, Linux 92196be82a4eb61813833dc62876fd198ae51ab1, Linux 0dcc53abf58d572d34c5313de85f607cd33fc691 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
FAQ
Is CVE-2024-40928 being exploited?
There is no confirmed exploitation: CVE-2024-40928 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-40928?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-40928?
Linux >= c882f2178f22f3740e20a6bd6b8df1c0500301bf, < 25504f7fe60058b2a9553a9e424fb7dd9683843e; >= 72d1c4a07780e24827c29bad203a1167d67181ed, < c3ba0557ab2ef15a3663e2fb9b1a3d628a8c3daa; >= 981c6e178cf333ac9568665e6d786f795f5cb3ad, < f9e57e7ca77393b5b7072800370370b02eaad0f8; >= 201ed315f9676809cd5b20a39206e964106d4f27, < 6548d543a27449a1a3d8079925de93f5764d6f22; >= 201ed315f9676809cd5b20a39206e964106d4f27, < 92196be82a4eb61813833dc62876fd198ae51ab1; >= 201ed315f9676809cd5b20a39206e964106d4f27, < 0dcc53abf58d572d34c5313de85f607cd33fc691; Linux 6.2.
Is there a fix for CVE-2024-40928?
Yes. Fixed in Linux 25504f7fe60058b2a9553a9e424fb7dd9683843e, Linux 6548d543a27449a1a3d8079925de93f5764d6f22, Linux 92196be82a4eb61813833dc62876fd198ae51ab1, Linux 0dcc53abf58d572d34c5313de85f607cd33fc691. Upgrade Linux to 0dcc53abf58d572d34c5313de85f607cd33fc691 or later.
How do I check if I'm affected by CVE-2024-40928?
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.