CVE-2024-35796: net: ll_temac: platform_get_resource replaced by wrong function
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.
Security readout for executives and security teams
Plain-English summary
This Linux kernel flaw can crash affected systems through a null pointer bug in the ll_temac network driver path. The business impact is availability loss, not data theft or tampering. Sources rate it medium severity and require local low-privileged access.
Executive priority
Treat as a normal-priority availability patch unless affected systems are mission-critical or hard to reboot. It is not currently evidenced as exploited in the provided sources, but kernel denial-of-service issues can still disrupt operations.
Technical view
A wrong replacement of platform_get_resource with devm_platform_ioremap_resource_byname passed 0 as a name. That reaches platform_get_resource_byname and can trigger strcmp on a null pointer. The intended replacement is devm_platform_ioremap_resource. CVSS is 5.5, local, low complexity, low privileges, availability high.
Likely exposure
Exposure is most relevant to Linux systems running affected kernel versions where the ll_temac driver code is present and reachable. The provided data lists Linux kernel versions and stable commit references, but does not define specific distributions beyond a Debian LTS advisory reference.
Exploitation context
The source bundle does not show active exploitation, and KEV is false. The CVSS vector indicates exploitation requires local access with low privileges and no user interaction. Impact is denial of service through kernel crash behavior, with no stated confidentiality or integrity impact.
Researcher notes
Evidence supports a null pointer dereference caused by an API substitution mistake in ll_temac resource mapping. The source bundle includes stable kernel commits and Debian LTS notice, but does not provide exploit details, broad distribution mapping, or non-Linux product impact.
Mitigation direction
Apply vendor Linux kernel updates containing the referenced stable fixes.
For Debian LTS systems, follow the cited Debian security advisory.
Prioritize systems where the ll_temac driver is enabled or deployed.
If updates are delayed, check vendor guidance for supported workarounds.
Validation and detection
Inventory Linux kernel versions across affected server and device fleets.
Check whether the ll_temac driver is built, loaded, or required.
Compare installed kernels against vendor advisories and stable fix commits.
Confirm updated kernels are running after maintenance reboots.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2024-35796 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.