CVEvulnerability
CVE-2024-40928
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2024-07-12
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-476
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 configurations
• linux linux kernel (>= 6.2 < 6.6.35)
• linux linux kernel (>= 6.7 < 6.9.6)
• linux linux kernel 6.10
Related
Weakness · CWE (1)
- CWE-476 NULL Pointer Dereference weakness
References
- https://git.kernel.org/stable/c/0dcc53abf58d572d34c5313de85f607cd33fc691 Patch
- https://git.kernel.org/stable/c/25504f7fe60058b2a9553a9e424fb7dd9683843e git.kernel.org
- https://git.kernel.org/stable/c/6548d543a27449a1a3d8079925de93f5764d6f22 Patch
- https://git.kernel.org/stable/c/92196be82a4eb61813833dc62876fd198ae51ab1 Patch
- https://git.kernel.org/stable/c/c3ba0557ab2ef15a3663e2fb9b1a3d628a8c3daa git.kernel.org
- https://git.kernel.org/stable/c/f9e57e7ca77393b5b7072800370370b02eaad0f8 git.kernel.org
- https://git.kernel.org/stable/c/0dcc53abf58d572d34c5313de85f607cd33fc691 Patch
- https://git.kernel.org/stable/c/6548d543a27449a1a3d8079925de93f5764d6f22 Patch
- https://git.kernel.org/stable/c/92196be82a4eb61813833dc62876fd198ae51ab1 Patch