Bug 2297512 (CVE-2024-40928) - CVE-2024-40928 kernel: net: ethtool: fix the error condition in ethtool_get_phy_stats_ethtool()
Summary: CVE-2024-40928 kernel: net: ethtool: fix the error condition in ethtool_get_p...
Keywords:
Status: NEW
Alias: CVE-2024-40928
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-07-12 13:34 UTC by OSIDB Bzimport
Modified: 2024-10-21 09:47 UTC (History)
4 users (show)

Fixed In Version: kernel 6.6.35, kernel 6.9.6, kernel 6.10-rc3
Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in the Linux kernel's ethtool implementation in the ethtool_get_phy_stats_ethtool() function, where the issue arises when a null function pointer is dereferenced if the 'ops->get_ethtool_phy_stats' is NULL, potentially leading to a crash.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2024:5464 0 None None None 2024-08-15 15:16:20 UTC
Red Hat Product Errata RHSA-2024:5363 0 None None None 2024-08-14 00:52:08 UTC

Description OSIDB Bzimport 2024-07-12 13:34:06 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.

Comment 5 errata-xmlrpc 2024-08-14 00:52:07 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:5363 https://access.redhat.com/errata/RHSA-2024:5363


Note You need to log in before you can comment on or make changes to this bug.