staging: media: ipu7: fix pm_runtime refcount leak in ipu7_resume()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 437d6d15936db87485afabf7d52754b7b19cc787, Kernel 593fda71983b9c23c84a566b20c53dc402c6b376 and Kernel b298b80814dd0fc3cb1c8c0e0082fc14fdb5fecf.
In the Linux kernel, the following vulnerability has been resolved: staging: media: ipu7: fix pm_runtime refcount leak in ipu7_resume() ipu7_resume() calls pm_runtime_get_sync() before resuming the device. If the runtime PM resume fails, the usage count remains incremented, but the error path returns without dropping the reference. Use pm_runtime_resume_and_get() instead, which balances the usage count on failure and avoids the leak. Keep returning 0 on error, as resume callbacks should not propagate failures to the PM core, matching the behaviour of the ipu6 driver.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.17, >=b7fe4c0019b12d60ece3e99eeb0ccfd5a1d103e5 <437d6d15936db87485afabf7d52754b7b19cc787, >=b7fe4c0019b12d60ece3e99eeb0ccfd5a1d103e5 <593fda71983b9c23c84a566b20c53dc402c6b376, >=b7fe4c0019b12d60ece3e99eeb0ccfd5a1d103e5 <b298b80814dd0fc3cb1c8c0e0082fc14fdb5fecf | 437d6d15936db87485afabf7d52754b7b19cc787, 593fda71983b9c23c84a566b20c53dc402c6b376, b298b80814dd0fc3cb1c8c0e0082fc14fdb5fecf |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket