Bug 2360188 (CVE-2025-23136) - CVE-2025-23136 kernel: thermal: int340x: Add NULL check for adev
Summary: CVE-2025-23136 kernel: thermal: int340x: Add NULL check for adev
Keywords:
Status: NEW
Alias: CVE-2025-23136
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-04-16 15:01 UTC by OSIDB Bzimport
Modified: 2025-04-17 17:06 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-04-16 15:01:51 UTC
In the Linux kernel, the following vulnerability has been resolved:

thermal: int340x: Add NULL check for adev

Not all devices have an ACPI companion fwnode, so adev might be NULL.
This is similar to the commit cd2fd6eab480
("platform/x86: int3472: Check for adev == NULL").

Add a check for adev not being set and return -ENODEV in that case to
avoid a possible NULL pointer deref in int3402_thermal_probe().

Note, under the same directory, int3400_thermal_probe() has such a
check.

[ rjw: Subject edit, added Fixes: ]

Comment 1 Avinash Hanwate 2025-04-17 17:00:18 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025041633-CVE-2025-23136-75e1@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.