iio: light: bh1780: fix PM runtime leak on error path
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 1f0477f18306c018a954e4f333690a9d0f7efc76 · < aae572ddc28578af476cce7da3faec0395ef0bf0| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s bh1780 light sensor driver can fail to release a runtime power-management reference when a read fails. The input does not describe what an attacker could do or specify network or local access, authentication, or user-interaction requirements.
Engineers running Linux kernels with the bh1780 light sensor driver should check their versions; affected versions are not specified.