CVE-2022-49684Published Feb 26, 2025 · Feb 26Updated Oct 28
iio: adc: aspeed: Fix refcount leak in aspeed_adc_set_trim_data
Linux
Medium5.5Fix available
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:
iio: adc: aspeed: Fix refcount leak in aspeed_adc_set_trim_data
of_find_node_by_name() returns a node pointer with refcount incremented, we should use of_node_put() on it when done. Add missing of_node_put() to avoid refcount leak.
From the CVE record · Linux
The Linux kernel’s Aspeed ADC trim-data function fails to release a device-tree node reference, causing a refcount leak. The input does not specify how an attacker could trigger the leak or whether access, authentication, or user interaction is required.
Engineers running Linux kernels with the Aspeed ADC driver should check their versions; affected versions are not specified.