hwmon: (nct7363) Fix a resource leak in nct7363_present_pwm_fanin
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 |
|
|
6.18.166.19.67.0In the Linux kernel, the following vulnerability has been resolved:
hwmon: (nct7363) Fix a resource leak in nct7363_present_pwm_fanin
When calling of_parse_phandle_with_args(), the caller is responsible to call of_node_put() to release the reference of device node. In nct7363_present_pwm_fanin, it does not release the reference, causing a resource leak.
From the CVE record · Linux
The Linux kernel's nct7363_present_pwm_fanin function fails to release a device-node reference, causing a resource leak. The input does not describe how an attacker could trigger the leak or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with the nct7363 hardware-monitoring driver should check their versions; affected versions are not specified.