thermal/drivers/tsens: Fix null pointer dereference
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ dfc1193d4dbd6c3cb68c944413146c940bde290a · < d998ddc86a27c92140b9f7984ff41e3d1d07a48f| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel thermal tsens driver can dereference a null pointer when compute_intercept_slope() is called during calibration with DEBUG or DYNAMIC_DEBUG set. The input does not describe an attacker-controlled trigger, access requirements, or user interaction.
Engineers running Linux kernels with the thermal tsens driver should check their kernel versions; affected versions are not specified.