CVE-2024-35796

Source
https://cve.org/CVERecord?id=CVE-2024-35796
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-35796.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-35796
Downstream
Related
Published
2024-05-17T13:23:07.558Z
Modified
2026-03-14T12:34:02.264294Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
net: ll_temac: platform_get_resource replaced by wrong function
Details

In the Linux kernel, the following vulnerability has been resolved:

net: lltemac: platformget_resource replaced by wrong function

The function platformgetresource was replaced with devmplatformioremapresourcebyname and is called using 0 as name.

This eventually ends up in platformgetresource_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 devmplatformioremap_resource.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35796.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
bd69058f50d5ffa659423bcfa6fe6280ce9c760a
Fixed
6d9395ba7f85bdb7af0b93272e537484ecbeff48
Fixed
553d294db94b5f139378022df480a9fb6c3ae39e
Fixed
46efbdbc95a30951c2579caf97b6df2ee2b3bef3
Fixed
476eed5f1c22034774902a980aa48dc4662cb39a
Fixed
7e9edb569fd9f688d887e36db8170f6e22bafbc8
Fixed
92c0c29f667870f17c0b764544bdf22ce0e886a1
Fixed
3a38a829c8bc27d78552c28e582eb1d885d07d11
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
77c8cfdf808410be84be56aff7e0e186b8c5a879

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-35796.json"