Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: iio: light: bh1780: fix PM runtime leak on error path Move pm_runtime_put_autosuspend() before the error check to ensure the PM runtime reference count is always decremented after pm_runtime_get_sync(), regardless of whether the read operation succeeds or fails.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 1f0477f18306c018a954e4f333690a9d0f7efc76 before 1eb3af4f59e09323788860a9155e9766b12891e5; affected 1f0477f18306c018a954e4f333690a9d0f7efc76 before 4228f7f053b452be625919ccbb605912bae0dc98; affected 1f0477f18306c018a954e4f333690a9d0f7efc76 before 424bf90e87134effe4bd932608a15286493b11ab; affected 1f0477f18306c018a954e4f333690a9d0f7efc76 before fc77e0a5600e620a2ae51ec78933162fb217b20b; affected 1f0477f18306c018a954e4f333690a9d0f7efc76 before ad58fa1cb11e4ceb702786a494352c7ff2eca1ed; affected 1f0477f18306c018a954e4f333690a9d0f7efc76 before aae572ddc28578af476cce7da3faec0395ef0bf0; affected 1f0477f18306c018a954e4f333690a9d0f7efc76 before 33661bfc85c14836bfef4425a74b0ca2df4bb5ad; affected 1f0477f18306c018a954e4f333690a9d0f7efc76 before dd72e6c3cdea05cad24e99710939086f7a113fb5 |
| Linux / Linux | affected 4.7; unaffected 0 before 4.7; unaffected 5.10.253 through 5.10.*; unaffected 5.15.211 through 5.15.*; unaffected 6.1.167 through 6.1.*; unaffected 6.6.130 through 6.6.*; unaffected 6.12.95 through 6.12.*; unaffected 6.18.19 through 6.18.*; unaffected 6.19.9 through 6.19.*; unaffected 7.0 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/1eb3af4f59e09323788860a9155e9766b12891e5
- https://git.kernel.org/stable/c/4228f7f053b452be625919ccbb605912bae0dc98
- https://git.kernel.org/stable/c/424bf90e87134effe4bd932608a15286493b11ab
- https://git.kernel.org/stable/c/fc77e0a5600e620a2ae51ec78933162fb217b20b
- https://git.kernel.org/stable/c/ad58fa1cb11e4ceb702786a494352c7ff2eca1ed
- https://git.kernel.org/stable/c/aae572ddc28578af476cce7da3faec0395ef0bf0
- https://git.kernel.org/stable/c/33661bfc85c14836bfef4425a74b0ca2df4bb5ad
- https://git.kernel.org/stable/c/dd72e6c3cdea05cad24e99710939086f7a113fb5