CVE-2024-35796

net: ll_temac: platform_get_resource replaced by wrong function

MEDIUM
5.5
CVSS Score
Published: May 17, 2024 at 01:23 PM UTC
Updated: June 17, 2026 at 07:35 AM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 5.8.25.11 ≤ v < 5.15.1545.16 ≤ v < 6.1.845.8.2 ≤ v < 5.10.2155.8.2 ≤ v < 5.95.9 ≤ v < 5.10.2155.9 ≤ v < 5.15.1545.9 ≤ v < 6.1.845.9 ≤ v < 6.6.245.9 ≤ v < 6.7.125.9 ≤ v < 6.8.35.9 ≤ v < 6.96.2 ≤ v < 6.6.246.7 ≤ v < 6.7.126.8 ≤ v < 6.8.35.8.25.96.9 rc177c8cfdf808410be84be56aff7e0e186b8c5a879bd69058f50d5ffa659423bcfa6fe6280ce9c760a
Vendor states this is fixed in 3a38a829c8bc27d78552c28e582eb1d885d07d11 (fixed)
Vendor states this is fixed in 46efbdbc95a30951c2579caf97b6df2ee2b3bef3 (fixed)
Vendor states this is fixed in 476eed5f1c22034774902a980aa48dc4662cb39a (fixed)
Vendor states this is fixed in 553d294db94b5f139378022df480a9fb6c3ae39e (fixed)
Vendor states this is fixed in 6d9395ba7f85bdb7af0b93272e537484ecbeff48 (fixed)
Vendor states this is fixed in 7e9edb569fd9f688d887e36db8170f6e22bafbc8 (fixed)
Vendor states this is fixed in 92c0c29f667870f17c0b764544bdf22ce0e886a1 (fixed)
Vendor states this is fixed in 5.10.215 (unaffected)
Vendor states this is fixed in 5.15.154 (unaffected)
Vendor states this is fixed in 5.9 (unaffected)
Vendor states this is fixed in 6.1.84 (unaffected)
Vendor states this is fixed in 6.6.24 (unaffected)
Vendor states this is fixed in 6.7.12 (unaffected)
Vendor states this is fixed in 6.8.3 (unaffected)
Vendor states this is fixed in 6.9 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3a38a829c8bc27d78552c28e582eb1d885d07d11
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/46efbdbc95a30951c2579caf97b6df2ee2b3bef3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/476eed5f1c22034774902a980aa48dc4662cb39a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/553d294db94b5f139378022df480a9fb6c3ae39e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6d9395ba7f85bdb7af0b93272e537484ecbeff48
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7e9edb569fd9f688d887e36db8170f6e22bafbc8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/92c0c29f667870f17c0b764544bdf22ce0e886a1
Third Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card