CVE-2024-40928

net: ethtool: fix the error condition in ethtool_get_phy_stats_ethtool()

MEDIUM
5.5
CVSS Score
Published: July 12, 2024 at 12:25 PM UTC
Updated: June 17, 2026 at 07:46 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.2 ≤ v < 6.106.2 ≤ v < 6.6.356.2 ≤ v < 6.9.66.7 ≤ v < 6.9.6201ed315f9676809cd5b20a39206e964106d4f276.10 rc16.10 rc272d1c4a07780e24827c29bad203a1167d67181ed981c6e178cf333ac9568665e6d786f795f5cb3adc882f2178f22f3740e20a6bd6b8df1c0500301bf
Vendor states this is fixed in 0dcc53abf58d572d34c5313de85f607cd33fc691 (fixed)
Vendor states this is fixed in 25504f7fe60058b2a9553a9e424fb7dd9683843e (fixed)
Vendor states this is fixed in 6548d543a27449a1a3d8079925de93f5764d6f22 (fixed)
Vendor states this is fixed in 92196be82a4eb61813833dc62876fd198ae51ab1 (fixed)
Vendor states this is fixed in c3ba0557ab2ef15a3663e2fb9b1a3d628a8c3daa (fixed)
Vendor states this is fixed in f9e57e7ca77393b5b7072800370370b02eaad0f8 (fixed)
Vendor states this is fixed in 6.10 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)
Vendor states this is fixed in 6.6.35 (unaffected)
Vendor states this is fixed in 6.9.6 (unaffected)

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card