What’s Vulnerable › Vulnerabilities

CVE-2024-35796: net: ll_temac: platform_get_resource replaced by wrong function

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 products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.215, 5.15.154, 6.1.84, 6.6.24. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-35796 or the next vulnerability affects your stack