CVE-2024-38571 thermal/drivers/tsens: Fix null pointer dereference

Medium 5.5 Published Updated

A null pointer dereference in the Linux kernel thermal driver can cause a system crash if debug features are enabled.

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-2024-38571?

CVE-2024-38571 is a medium-severity vulnerability in Linux kernel, published on 19 Jun 2024. 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/drivers/tsens: Fix null pointer dereference

compute_intercept_slope() is called from calibrate_8960() (in tsens-8960.c) as compute_intercept_slope(priv, p1, NULL, ONE_PT_CALIB) which lead to null pointer dereference (if DEBUG or DYNAMIC_DEBUG set). Fix this bug by adding null pointer check.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Weakness: CWE-476

Which versions are affected by CVE-2024-38571?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-38571?

Apply the vendor's patch.

Is CVE-2024-38571 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-38571, DEBIAN-CVE-2024-38571, GHSA-4wff-3rcm-c2fr, UBUNTU-CVE-2024-38571.

Is CVE-2024-38571 in your software?

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

Check your SBOMs for free