CVEvulnerability
CVE-2024-38571
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2024-06-19
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-476
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 configurations
• linux linux kernel (>= 5.13 < 5.15.161)
• linux linux kernel (>= 5.16 < 6.1.93)
• linux linux kernel (>= 6.2 < 6.6.33)
• linux linux kernel (>= 6.7 < 6.8.12)
• linux linux kernel (>= 6.9 < 6.9.3)
Related
Weakness · CWE (1)
- CWE-476 NULL Pointer Dereference weakness
References
- https://git.kernel.org/stable/c/06d17744b77bc6cb29a6c785f4fad8c4163ee653 Patch
- https://git.kernel.org/stable/c/11c731386ed82053c2759b6fea1a82ae946e5e0f Patch
- https://git.kernel.org/stable/c/27600e0c5272a262b0903e35ae1df37d33c5c1ad Patch
- https://git.kernel.org/stable/c/2d5ca6e4a2872e92a32fdfd87e04dd7d3ced7278 Patch
- https://git.kernel.org/stable/c/d998ddc86a27c92140b9f7984ff41e3d1d07a48f Patch
- https://git.kernel.org/stable/c/fcf5f1b5f308f2eb422f6aca55d295b25890906b Patch
- https://git.kernel.org/stable/c/06d17744b77bc6cb29a6c785f4fad8c4163ee653 Patch
- https://git.kernel.org/stable/c/11c731386ed82053c2759b6fea1a82ae946e5e0f Patch
- https://git.kernel.org/stable/c/27600e0c5272a262b0903e35ae1df37d33c5c1ad Patch
- https://git.kernel.org/stable/c/2d5ca6e4a2872e92a32fdfd87e04dd7d3ced7278 Patch
- https://git.kernel.org/stable/c/d998ddc86a27c92140b9f7984ff41e3d1d07a48f Patch
- https://git.kernel.org/stable/c/fcf5f1b5f308f2eb422f6aca55d295b25890906b Patch