Bug 1227788 (CVE-2024-40928) - VUL-0: CVE-2024-40928: kernel: net: ethtool: fix the error condition in ethtool_get_phy_stats_ethtool()
Summary: VUL-0: CVE-2024-40928: kernel: net: ethtool: fix the error condition in ethto...
Status: NEW
Alias: CVE-2024-40928
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Minor
Target Milestone: ---
Assignee: Michal Hocko
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/413855/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-40928:3.3:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-15 12:07 UTC by SMASH SMASH
Modified: 2024-07-19 12:32 UTC (History)
6 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-07-15 12:07:01 UTC
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.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-40928
https://www.cve.org/CVERecord?id=CVE-2024-40928
https://git.kernel.org/stable/c/0dcc53abf58d572d34c5313de85f607cd33fc691
https://git.kernel.org/stable/c/6548d543a27449a1a3d8079925de93f5764d6f22
https://git.kernel.org/stable/c/92196be82a4eb61813833dc62876fd198ae51ab1
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-40928.mbox