{"id":"CVE-2024-40928","summary":"net: ethtool: fix the error condition in ethtool_get_phy_stats_ethtool()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: ethtool: fix the error condition in ethtool_get_phy_stats_ethtool()\n\nClang static checker (scan-build) warning:\nnet/ethtool/ioctl.c:line 2233, column 2\nCalled function pointer is null (null dereference).\n\nReturn '-EOPNOTSUPP' when 'ops-\u003eget_ethtool_phy_stats' is NULL to fix\nthis typo error.","modified":"2026-04-02T12:17:20.556795Z","published":"2024-07-12T12:25:07.769Z","related":["ALSA-2024:5363","SUSE-SU-2024:2802-1","SUSE-SU-2024:2896-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40928.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0dcc53abf58d572d34c5313de85f607cd33fc691"},{"type":"WEB","url":"https://git.kernel.org/stable/c/25504f7fe60058b2a9553a9e424fb7dd9683843e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6548d543a27449a1a3d8079925de93f5764d6f22"},{"type":"WEB","url":"https://git.kernel.org/stable/c/92196be82a4eb61813833dc62876fd198ae51ab1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c3ba0557ab2ef15a3663e2fb9b1a3d628a8c3daa"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f9e57e7ca77393b5b7072800370370b02eaad0f8"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40928.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40928"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"c882f2178f22f3740e20a6bd6b8df1c0500301bf"},{"fixed":"25504f7fe60058b2a9553a9e424fb7dd9683843e"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"72d1c4a07780e24827c29bad203a1167d67181ed"},{"fixed":"c3ba0557ab2ef15a3663e2fb9b1a3d628a8c3daa"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"981c6e178cf333ac9568665e6d786f795f5cb3ad"},{"fixed":"f9e57e7ca77393b5b7072800370370b02eaad0f8"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"201ed315f9676809cd5b20a39206e964106d4f27"},{"fixed":"6548d543a27449a1a3d8079925de93f5764d6f22"},{"fixed":"92196be82a4eb61813833dc62876fd198ae51ab1"},{"fixed":"0dcc53abf58d572d34c5313de85f607cd33fc691"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-40928.json"}}],"schema_version":"1.7.5"}