CVE-2025-23136 thermal: int340x: Add NULL check for adev

Medium 5.5 Published Updated

A missing NULL check in the Linux kernel thermal driver can cause a crash when probing devices without an ACPI companion.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-23136?

CVE-2025-23136 is a medium-severity vulnerability in Linux kernel, published on 16 Apr 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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: ]

Weakness: CWE-476

Which versions are affected by CVE-2025-23136?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2025-23136?

Apply the vendor's patch.

Is CVE-2025-23136 being exploited?

There is no known exploitation of CVE-2025-23136 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2025-23136, DEBIAN-CVE-2025-23136, GHSA-5659-626r-mfvx, ROOT-OS-UBUNTU-2404-CVE-2025-23136, UBUNTU-CVE-2025-23136.

Is CVE-2025-23136 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free