CVE-2024-38571

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-38571
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-38571.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-38571
Downstream
Related
Published
2024-06-19T13:35:36.981Z
Modified
2025-11-27T02:33:11.386557Z
Summary
thermal/drivers/tsens: Fix null pointer dereference
Details

In the Linux kernel, the following vulnerability has been resolved:

thermal/drivers/tsens: Fix null pointer dereference

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

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

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/blob/cc431b3424123d84bcd7afd4de150b33f117a8ef/cves/2024/38xxx/CVE-2024-38571.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
dfc1193d4dbd6c3cb68c944413146c940bde290a
Fixed
27600e0c5272a262b0903e35ae1df37d33c5c1ad
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
dfc1193d4dbd6c3cb68c944413146c940bde290a
Fixed
11c731386ed82053c2759b6fea1a82ae946e5e0f
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
dfc1193d4dbd6c3cb68c944413146c940bde290a
Fixed
2d5ca6e4a2872e92a32fdfd87e04dd7d3ced7278
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
dfc1193d4dbd6c3cb68c944413146c940bde290a
Fixed
06d17744b77bc6cb29a6c785f4fad8c4163ee653
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
dfc1193d4dbd6c3cb68c944413146c940bde290a
Fixed
fcf5f1b5f308f2eb422f6aca55d295b25890906b
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
dfc1193d4dbd6c3cb68c944413146c940bde290a
Fixed
d998ddc86a27c92140b9f7984ff41e3d1d07a48f

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.13.0
Fixed
5.15.161
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.93
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.33
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.8.12
Type
ECOSYSTEM
Events
Introduced
6.9.0
Fixed
6.9.3