CVE-2024-35796

Source
https://nvd.nist.gov/vuln/detail/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-17T14:15:11Z
Modified
2025-08-09T19:01:26Z
Summary
[none]
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.

References

Affected packages