Description
In the Linux kernel, the following vulnerability has been resolved: regulator: core: Fix coupled regulators reference leak on removal of_parse_coupled_regulator() returns the coupled regulator with its device reference incremented and regulator_resolve_coupling() stores it in coupling_desc.coupled_rdevs[]. regulator_remove_coupling() clears those pointers without dropping the references, so they are leaked when the couple is torn down. Release the reference of each coupled regulator while removing the coupling.
Affected products and versions
Linux Linuxd3d64537c33956c94cfa2376b87d8917868a0f5e – < 50e1360c7b7ea11daeb5637aa329e71120950600 · d3d64537c33956c94cfa2376b87d8917868a0f5e – < 319c3908a749807caab811d55b99df3a8d94850d · d3d64537c33956c94cfa2376b87d8917868a0f5e – < b67ecfe4922d008f2a60698bb2730a88800eb8c4 · d3d64537c33956c94cfa2376b87d8917868a0f5e – < df1c51bc42c93cb17a476400f3786c6e8a92168a · d3d64537c33956c94cfa2376b87d8917868a0f5e – < b61fbcfca4cc057a2e5464ffe25ad5d7ec0dcdb6 · d3d64537c33956c94cfa2376b87d8917868a0f5e – < 07909b53a81ea6ec1b6e1e212f33659acd8d1eb6 · d3d64537c33956c94cfa2376b87d8917868a0f5e – < 53b3a80c7169203f9ec38669f8444232bd9dc008 · d3d64537c33956c94cfa2376b87d8917868a0f5e – < b9205f0837ca91a0bbe6aa9002207656840c1406Fixed in: 50e1360c7b7ea11daeb5637aa329e71120950600 · 319c3908a749807caab811d55b99df3a8d94850d · b67ecfe4922d008f2a60698bb2730a88800eb8c4 · df1c51bc42c93cb17a476400f3786c6e8a92168a · b61fbcfca4cc057a2e5464ffe25ad5d7ec0dcdb6 · 07909b53a81ea6ec1b6e1e212f33659acd8d1eb6 · 53b3a80c7169203f9ec38669f8444232bd9dc008 · b9205f0837ca91a0bbe6aa9002207656840c1406
Linux Linux4.18Fixed in: 5.10.275 · 5.15.226 · 6.1.193 · 6.6.163 · 6.12.117 · 6.18.63 · 7.3.4 · 7.4-rc1
References
- git.kernel.org/stable/c/50e1360c7b7ea11daeb5637aa329e71120950600
- git.kernel.org/stable/c/319c3908a749807caab811d55b99df3a8d94850d
- git.kernel.org/stable/c/b67ecfe4922d008f2a60698bb2730a88800eb8c4
- git.kernel.org/stable/c/df1c51bc42c93cb17a476400f3786c6e8a92168a
- git.kernel.org/stable/c/b61fbcfca4cc057a2e5464ffe25ad5d7ec0dcdb6
- git.kernel.org/stable/c/07909b53a81ea6ec1b6e1e212f33659acd8d1eb6
- git.kernel.org/stable/c/53b3a80c7169203f9ec38669f8444232bd9dc008
- git.kernel.org/stable/c/b9205f0837ca91a0bbe6aa9002207656840c1406
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.