GHSA-x8r3-6q3f-q5x9unknown
In the Linux kernel, the following vulnerability has been resolved: power: sequencing: pcie-m2:...
🔗 CVE IDs covered (1)
📋 Description
In the Linux kernel, the following vulnerability has been resolved:
power: sequencing: pcie-m2: Fix leaking array from of_regulator_bulk_get_all()
of_regulator_bulk_get_all() allocates the consumers array and hands it to the caller, who is expected to free it at an appropriate time. pwrseq-pcie-m2.c never did, leading to a memory leak.
Add an explicit kfree() for the consumers array.