CVE-2024-35796

net: ll_temac: platform_get_resource replaced by wrong function

Medium · published May 17, 2024

CVSS v3.1
5.5
EPSS
0%
Percentile
12.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00228 · 12.8th percentile
Published
2024-05-17T13:23Z
EPSS history
Timeline
  • 17 MAY 13:23Z
    net: ll_temac: platform_get_resource replaced by wrong function
    cvelistv5