power: sequencing: pcie-m2: Fix leaking array from of_regulator_bulk_get_all()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0d6c5794fd633427f0d4ad8b51d94061295649da and Kernel 5cd2354ebfbd35bcb88d01fe7d3ee08dcf266eff.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =7.0, >=52e7b5bd62bab3851f25d8b70ad7eae9e94aba60 <0d6c5794fd633427f0d4ad8b51d94061295649da, >=52e7b5bd62bab3851f25d8b70ad7eae9e94aba60 <5cd2354ebfbd35bcb88d01fe7d3ee08dcf266eff | 0d6c5794fd633427f0d4ad8b51d94061295649da, 5cd2354ebfbd35bcb88d01fe7d3ee08dcf266eff |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket