CVE-2024-40928
net: ethtool: fix the error condition in ethtool_get_phy_stats_ethtool()
MEDIUM 5.5
At a glance
- Source
- NVD
- EPSS
- EPSS 0.23 % · percentile 14 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Modified
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.
Weaknesses (CWE)
- CWE-476 — NULL Pointer Dereference
References
- https://git.kernel.org/stable/c/25504f7fe60058b2a9553a9e424fb7dd9683843e
- https://git.kernel.org/stable/c/c3ba0557ab2ef15a3663e2fb9b1a3d628a8c3daa
- https://git.kernel.org/stable/c/f9e57e7ca77393b5b7072800370370b02eaad0f8
- https://git.kernel.org/stable/c/6548d543a27449a1a3d8079925de93f5764d6f22
- https://git.kernel.org/stable/c/92196be82a4eb61813833dc62876fd198ae51ab1
- https://git.kernel.org/stable/c/0dcc53abf58d572d34c5313de85f607cd33fc691
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2024-38739
- GCVE · GCVE-0-2024-40928
CERT-FR advisories
- CERTFR-2025-AVI-0855 — Multiples vulnérabilités dans les produits Juniper Networks · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0823 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0799 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0778 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0717 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0695 — Multiples vulnérabilités dans le noyau Linux de Red Hat · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0693 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0669 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.2 < 6.6.35cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.7 < 6.9.6cpe:2.3:o:linux:linux_kernel:6.10:rc1:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.10:rc2:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected c882f2178f22f3740e20a6bd6b8df1c0500301bf < 25504f7fe60058b2a9553a9e424fb7dd9683843e ; affected 72d1c4a07780e24827c29bad203a1167d67181ed < c3ba0557ab2ef15a3663e2fb9b1a3d628a8c3daa ; affected 981c6e178cf333ac9568665e6d786f795f5cb3ad < f9e57e7ca77393b5b7072800370370b02eaad0f8 ; affected 201ed315f9676809cd5b20a39206e964106d4f27 < 6548d543a27449a1a3d8079925de93f5764d6f22 ; affected 201ed315f9676809cd5b20a39206e964106d4f27 < 92196be82a4eb61813833dc62876fd198ae51ab1 ; affected 201ed315f9676809cd5b20a39206e964106d4f27 < 0dcc53abf58d572d34c5313de85f607cd33fc691 |
| Linux · Linux | affected 6.2 ; unaffected 0 < 6.2 ; unaffected 6.6.35 ≤ 6.6.* ; unaffected 6.9.6 ≤ 6.9.* ; unaffected 6.10 ≤ * |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |