5.5medium
net: ll_temac: platform_get_resource replaced by wrong function
- Severity
- 5.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.23% (higher than 14% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: net: ll_temac: platform_get_resource replaced by wrong function The function platform_get_resource was replaced with devm_platform_ioremap_resource_byname and is called using 0 as name. This eventually ends up in platform_get_resource_byname in the call stack, where it causes a null pointer in strcmp. if (type == resource_type(r) && !strcmp(r->name, name)) It should have been replaced with devm_platform_ioremap_resource.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from bd69058f50d5ffa659423bcfa6fe6280ce9c760a before 6d9395ba7f85bdb7af0b93272e537484ecbeff48, from bd69058f50d5ffa659423bcfa6fe6280ce9c760a before 553d294db94b5f139378022df480a9fb6c3ae39e, from bd69058f50d5ffa659423bcfa6fe6280ce9c760a before 46efbdbc95a30951c2579caf97b6df2ee2b3bef3, from bd69058f50d5ffa659423bcfa6fe6280ce9c760a before 476eed5f1c22034774902a980aa48dc4662cb39a, from bd69058f50d5ffa659423bcfa6fe6280ce9c760a before 7e9edb569fd9f688d887e36db8170f6e22bafbc8, from bd69058f50d5ffa659423bcfa6fe6280ce9c760a before 92c0c29f667870f17c0b764544bdf22ce0e886a1, from bd69058f50d5ffa659423bcfa6fe6280ce9c760a before 3a38a829c8bc27d78552c28e582eb1d885d07d11, 77c8cfdf808410be84be56aff7e0e186b8c5a879 and 2 more Not affected: before 5.9, from 5.10.215 up to 5.10.*, from 5.15.154 up to 5.15.*, from 6.1.84 up to 6.1.*, from 6.6.24 up to 6.6.*, from 6.7.12 up to 6.7.* | CVE List |
| linux linux_kernel | from 5.8.2 before 5.10.215, from 5.11 before 5.15.154, from 5.16 before 6.1.84, from 6.2 before 6.6.24, from 6.7 before 6.7.12, from 6.8 before 6.8.3, 6.9 | NVD |
| debian debian_linux | 10.0 | NVD |
All scores
| CISA-ADP | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: net: ll_temac: platform_get_resource replaced by wrong function The function platform_get_resource was replaced with devm_platform_ioremap_resource_byname and is called using 0 as name. This eventually ends up in platform_get_resource_byname in the call stack, where it causes a null pointer in strcmp. if (type == resource_type(r) && !strcmp(r->name, name)) It should have been replaced with devm_platform_ioremap_resource.
NVD (es)
En el kernel de Linux se ha resuelto la siguiente vulnerabilidad: net:ll_temac: platform_get_resource reemplazada por una función incorrecta La función platform_get_resource fue reemplazada por devm_platform_ioremap_resource_byname y se llama usando 0 como nombre. Esto eventualmente termina en platform_get_resource_byname en la pila de llamadas, donde genera un puntero null en strcmp. if (type == Resource_type(r) && !strcmp(r->name, name)) Debería haber sido reemplazado por devm_platform_ioremap_resource.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-35796 changed 2026-05-23 | CVE Terms of Use |
| NVD | CVE-2024-35796 changed 2026-06-17 | Public domain |