CVE-2024-40928
net: ethtool: fix the error condition in ethtool_get_phy_stats_ethtool()
Reported by linux · Published July 12, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.9.6, 6.6.35 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | c882f2178f22f3740e20a6bd6b8df1c0500301bf, 72d1c4a07780e24827c29bad203a1167d67181ed, 981c6e178cf333ac9568665e6d786f795f5cb3ad |
| Linux | Linux | 6.2, 0, 6.6.35 |
| linux | linux_kernel | 6.2, 6.2, 6.2 |
| Linux | Linux | *, 72d1c4a07780e24827c29bad203a1167d67181ed, 981c6e178cf333ac9568665e6d786f795f5cb3ad |
Timeline
- Jul 12, 2024 CVE Published
- Jul 13, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (7 in total, the first dated here)
- Jan 7, 2026 Security Advisory (279 in total, the first dated here)
- Mar 30, 2026 Distribution Patch (182 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-40928
vulnetix vdb fixes CVE-2024-40928
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-40928/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart