thermal: intel: int3400: clean up ODVP on probe failures
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 006f006f1e5c48e5ddd6515eab2c9a7b27ce1144 · < d7b025d3fdf3cf8b726ce1d13f434f57477972bb| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
thermal: intel: int3400: clean up ODVP on probe failures
evaluate_odvp() creates per-ODVP sysfs files before the thermal zone and later probe resources are registered. The current unwind path only calls cleanup_odvp() from the late sysfs failure path, so failures after evaluate_odvp() but before that label, including thermal_tripless_zone_device_register() failures, leave the ODVP files and storage behind.
Move the ODVP cleanup to the common ART/TRT unwind path so every failure after evaluate_odvp() releases the ODVP state. Also clear the cached ODVP pointers in cleanup_odvp(), because evaluate_odvp() can already call it for partial setup failures while probe continues.
From the CVE record · Linux
The Linux kernel’s intel int3400 thermal driver can leave ODVP sysfs files and storage behind if a probe fails after ODVP setup. This includes failures while registering the thermal zone. The input does not describe an attacker path, authentication requirements, or user interaction.
Engineers running Linux kernels with the intel int3400 thermal driver should check their affected versions; none are specified in the input.