Revert "thermal/drivers/hwmon: Cleanup coding style a bit"
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 030a48b0f6ce393d78b8d33debb1e2043b8cc156 · < 6b446d335ba16e93a266dd77adf1ba51abc82df4| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
Revert "thermal/drivers/hwmon: Cleanup coding style a bit"
Revert commit 030a48b0f6ce ("thermal/drivers/hwmon: Cleanup coding style a bit") that introduced a use-after-free into the error path of thermal_add_hwmon_sysfs() by removing a valid check from it.
From the CVE record · Linux
The Linux kernel has a use-after-free in the error path of thermal_add_hwmon_sysfs(), introduced when a valid check was removed. It can occur when that function takes its error path; the input does not specify what an attacker could do or whether network access, authentication, or user interaction is required.
Engineers running the Linux kernel should check whether their kernel includes the affected change; affected versions are not specified.