power: supply: core: fix supplied_from allocations
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ f6e0b081fb300a4601b064346963cf6bb163f437 · < ba61aed9a34671222d1149acfc2f0179a9ce7e80| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
power: supply: core: fix supplied_from allocations
If dts property power-supplies has multiple values, then accessing to psy->supplied_from[i-1] in __power_supply_populate_supplied_from will overrun supplied_from array.
From the CVE record · Linux
The Linux kernel power supply core can access beyond the supplied_from array when the device tree power-supplies property has multiple values. The input does not describe how an attacker could trigger this or specify network access, authentication, or user interaction requirements.
Engineers running Linux kernels with device trees whose power-supplies property has multiple values should check their exposure; affected versions are not specified.