{"id":"CVE-2024-40928","aliases":["CVE-2024-40928"],"related":[],"kind":"vulnerability","state":"published","title":"net: ethtool: fix the error condition in ethtool_get_phy_stats_ethtool()","summary":"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->get_ethtool_phy_stats' is NULL to fix\nthis typo error.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->get_ethtool_phy_stats' is NULL to fix\nthis typo error.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: ethtool: corrige la condición de error en ethtool_get_phy_stats_ethtool() Advertencia del verificador estático de Clang (scan-build): net/ethtool/ioctl.c:line 2233, column 2 Puntero de función llamada es nulo (desreferencia nula). Devuelva '-EOPNOTSUPP' cuando 'ops-&gt;get_ethtool_phy_stats' sea NULL para corregir este error tipográfico.","source":"nvd"}],"published":"2024-07-12T12:25:07.769Z","modified":"2026-06-17T07:46:53.400Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"c882f2178f22f3740e20a6bd6b8df1c0500301bf","fixed":"25504f7fe60058b2a9553a9e424fb7dd9683843e","status":"affected"},{"type":"git","introduced":"72d1c4a07780e24827c29bad203a1167d67181ed","fixed":"c3ba0557ab2ef15a3663e2fb9b1a3d628a8c3daa","status":"affected"},{"type":"git","introduced":"981c6e178cf333ac9568665e6d786f795f5cb3ad","fixed":"f9e57e7ca77393b5b7072800370370b02eaad0f8","status":"affected"},{"type":"git","introduced":"201ed315f9676809cd5b20a39206e964106d4f27","fixed":"6548d543a27449a1a3d8079925de93f5764d6f22","status":"affected"},{"type":"git","introduced":"201ed315f9676809cd5b20a39206e964106d4f27","fixed":"92196be82a4eb61813833dc62876fd198ae51ab1","status":"affected"},{"type":"git","introduced":"201ed315f9676809cd5b20a39206e964106d4f27","fixed":"0dcc53abf58d572d34c5313de85f607cd33fc691","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.2","status":"unaffected"},{"type":"semver","introduced":"6.6.35","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.9.6","lastAffected":"6.9.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.10","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.2","fixed":"6.6.35"},{"status":"affected","introduced":"6.7","fixed":"6.9.6"},{"status":"affected","version":"6.10"},{"status":"affected","version":"6.10"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/25504f7fe60058b2a9553a9e424fb7dd9683843e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c3ba0557ab2ef15a3663e2fb9b1a3d628a8c3daa","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f9e57e7ca77393b5b7072800370370b02eaad0f8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6548d543a27449a1a3d8079925de93f5764d6f22","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/92196be82a4eb61813833dc62876fd198ae51ab1","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0dcc53abf58d572d34c5313de85f607cd33fc691","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T17:05:08.517Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-40928","url":"https://www.cve.org/CVERecord?id=CVE-2024-40928","licence":"CVE Terms of Use","modified":"2026-05-11T20:22:32.708Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-40928","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40928","licence":"Public domain","modified":"2026-06-17T07:46:53.400Z"}],"updatedAt":"2026-11-25T22:58:42.844Z","epss":{"score":0.00228,"percentile":0.14486,"date":"2026-12-01T12:00:22.000Z"}}