Lucene search

K
cvelistLinuxCVELIST:CVE-2024-35796
HistoryMay 17, 2024 - 1:23 p.m.

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

2024-05-1713:23:07
Linux
raw.githubusercontent.com
5
cve-2024-35796
net
ll_temac
platform_get_resource
devm_platform_ioremap_resource_byname
devm_platform_ioremap_resource
linux kernel

6.9 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

10.0%

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.

6.9 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

10.0%

Related for CVELIST:CVE-2024-35796