iio: light: apds9306: fix PM reference leak in apds9306_read_data()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 3ce75e455dd6eaa775fb0badb31c0b100c7a01fe, Kernel d378fceaafd79e0dc59d3546bda251a3058062c0 and Kernel f3d97800b03cd39ec135e544dcd0a93ffd18e4c7.
In the Linux kernel, the following vulnerability has been resolved: iio: light: apds9306: fix PM reference leak in apds9306_read_data() apds9306_read_data() calls pm_runtime_resume_and_get() but several error paths return directly without calling pm_runtime_put_autosuspend(), leaking the runtime PM reference and preventing the device from autosuspending. Use PM_RUNTIME_ACQUIRE_AUTOSUSPEND() and PM_RUNTIME_ACQUIRE_ERR() to automatically handle runtime PM reference release on all return paths.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.10, >=620d1e6c7a3fcc54c641f091e07b9040f13def19 <3ce75e455dd6eaa775fb0badb31c0b100c7a01fe, >=620d1e6c7a3fcc54c641f091e07b9040f13def19 <d378fceaafd79e0dc59d3546bda251a3058062c0, >=620d1e6c7a3fcc54c641f091e07b9040f13def19 <f3d97800b03cd39ec135e544dcd0a93ffd18e4c7 | 3ce75e455dd6eaa775fb0badb31c0b100c7a01fe, d378fceaafd79e0dc59d3546bda251a3058062c0, f3d97800b03cd39ec135e544dcd0a93ffd18e4c7 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket