CVE-2024-38571
JSON

5.5medium

thermal/drivers/tsens: Fix null pointer dereference

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.23% (higher than 14% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom dfc1193d4dbd6c3cb68c944413146c940bde290a before 27600e0c5272a262b0903e35ae1df37d33c5c1ad, from dfc1193d4dbd6c3cb68c944413146c940bde290a before 11c731386ed82053c2759b6fea1a82ae946e5e0f, from dfc1193d4dbd6c3cb68c944413146c940bde290a before 2d5ca6e4a2872e92a32fdfd87e04dd7d3ced7278, from dfc1193d4dbd6c3cb68c944413146c940bde290a before 06d17744b77bc6cb29a6c785f4fad8c4163ee653, from dfc1193d4dbd6c3cb68c944413146c940bde290a before fcf5f1b5f308f2eb422f6aca55d295b25890906b, from dfc1193d4dbd6c3cb68c944413146c940bde290a before d998ddc86a27c92140b9f7984ff41e3d1d07a48f, 5.13
Not affected: before 5.13, from 5.15.161 up to 5.15.*, from 6.1.93 up to 6.1.*, from 6.6.33 up to 6.6.*, from 6.8.12 up to 6.8.*, from 6.9.3 up to 6.9.*
CVE List
linux linux_kernelfrom 5.13 before 5.15.161, from 5.16 before 6.1.93, from 6.2 before 6.6.33, from 6.7 before 6.8.12, from 6.9 before 6.9.3NVD

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se resolvió la siguiente vulnerabilidad: Thermal/drivers/tsens: se corrigió la desreferencia del puntero nulo Compute_intercept_slope() se llama desde calibrate_8960() (en tsens-8960.c) como Compute_intercept_slope(priv, p1, NULL, ONE_PT_CALIB) lo que conduce a la desreferencia del puntero nulo (si DEBUG o DYNAMIC_DEBUG están configurados). Corrija este error agregando una verificación de puntero nulo. Encontrado por el Centro de verificación de Linux (linuxtesting.org) con SVACE.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-38571 changed 2026-05-11CVE Terms of Use
NVDCVE-2024-38571 changed 2026-06-17Public domain