Vulnerability record
PCI/pwrctrl: generic: Fix leaking array from of_regulator_bulk_get_all()
In the Linux kernel, the following vulnerability has been resolved:
PCI/pwrctrl: generic: Fix leaking array from of_regulator_bulk_get_all()
of_regulator_bulk_get_all() allocates the consumers array and returns it to the caller, who is expected to free it at an appropriate time. PCI pwrctrl never did, leading to a memory leak.
Add an explicit kfree() for the consumers array.
Remediation
No fixed version has been published for this vulnerability yet. Check the references below for vendor advisories, workarounds and mitigation guidance.
Sources