thermal: testing: Initialize some variables annoteded with _free()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
thermal: testing: Initialize some variables annoteded with _free()
Variables annotated with __free() need to be initialized if the function can return before they get updated for the first time or the attempt to free the memory pointed to by them upon function return may crash the kernel.
Fix this issue in some places in the thermal testing code.
From the CVE record · Linux
Some __free()-annotated variables in the Linux kernel's thermal testing code may be uninitialized when a function returns. The resulting attempt to free memory may crash the kernel. The input does not establish how an attacker could trigger this condition or whether access or user interaction is required.
Engineers running the Linux kernel should check whether their kernel includes the affected thermal testing code; affected versions were not provided.