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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-06-19T13:35:36.981Z
- Modified: 2026-06-17T07:40:36.500Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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.*; from 6.10 up to *)
- linux linux_kernel: from 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.3

## References

- <https://git.kernel.org/stable/c/27600e0c5272a262b0903e35ae1df37d33c5c1ad> (patch)
- <https://git.kernel.org/stable/c/11c731386ed82053c2759b6fea1a82ae946e5e0f> (patch)
- <https://git.kernel.org/stable/c/2d5ca6e4a2872e92a32fdfd87e04dd7d3ced7278> (patch)
- <https://git.kernel.org/stable/c/06d17744b77bc6cb29a6c785f4fad8c4163ee653> (patch)
- <https://git.kernel.org/stable/c/fcf5f1b5f308f2eb422f6aca55d295b25890906b> (patch)
- <https://git.kernel.org/stable/c/d998ddc86a27c92140b9f7984ff41e3d1d07a48f> (patch)

## Sources

- CVE List: [CVE-2024-38571](https://www.cve.org/CVERecord?id=CVE-2024-38571), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-38571](https://nvd.nist.gov/vuln/detail/CVE-2024-38571), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-38571 · Whole record: https://cve.day/CVE-2024-38571.json · Rebuilt by cve.day 2026-11-25T22:58:42.021Z
