CVE-2024-35796

published 17 May 2024 · updated 17 Nov 2026

net: ll_temac: platform_get_resource replaced by wrong function

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 92c0c29f667870f17c0b764544bdf22ce0e886a1, Kernel 5.9, Kernel 3a38a829c8bc27d78552c28e582eb1d885d07d11 and 11 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=bd69058f50d5ffa659423bcfa6fe6280ce9c760a <92c0c29f667870f17c0b764544bdf22ce0e886a1, >=5.8.2 <5.9, >=bd69058f50d5ffa659423bcfa6fe6280ce9c760a <3a38a829c8bc27d78552c28e582eb1d885d07d11, >=bd69058f50d5ffa659423bcfa6fe6280ce9c760a <46efbdbc95a30951c2579caf97b6df2ee2b3bef3, >=bd69058f50d5ffa659423bcfa6fe6280ce9c760a <476eed5f1c22034774902a980aa48dc4662cb39a, >=bd69058f50d5ffa659423bcfa6fe6280ce9c760a <553d294db94b5f139378022df480a9fb6c3ae39e, >=bd69058f50d5ffa659423bcfa6fe6280ce9c760a <6d9395ba7f85bdb7af0b93272e537484ecbeff48, >=bd69058f50d5ffa659423bcfa6fe6280ce9c760a <7e9edb569fd9f688d887e36db8170f6e22bafbc8, =5.9, =77c8cfdf808410be84be56aff7e0e186b8c5a87992c0c29f667870f17c0b764544bdf22ce0e886a1, 5.9, 3a38a829c8bc27d78552c28e582eb1d885d07d11, 46efbdbc95a30951c2579caf97b6df2ee2b3bef3, 476eed5f1c22034774902a980aa48dc4662cb39a, 553d294db94b5f139378022df480a9fb6c3ae39e, 6d9395ba7f85bdb7af0b93272e537484ecbeff48, 7e9edb569fd9f688d887e36db8170f6e22bafbc8
linux-kernel: Kernel>=5.16.0 <6.1.84, >=5.8.2 <5.9, >=5.9.0 <5.10.215, >=6.2.0 <6.6.24, >=6.7.0 <6.7.12, >=6.8.0 <6.8.3, >=5.11.0 <5.15.1546.1.84, 5.9, 5.10.215, 6.6.24, 6.7.12, 6.8.3, 5.15.154

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-35796 severity on Zeptric[![CVE-2024-35796](https://zeptric.io/badge/cve/CVE-2024-35796.svg)](https://zeptric.io/cve/CVE-2024-35796)