Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected b7fe4c0019b12d60ece3e99eeb0ccfd5a1d103e5 before 593fda71983b9c23c84a566b20c53dc402c6b376; affected b7fe4c0019b12d60ece3e99eeb0ccfd5a1d103e5 before 437d6d15936db87485afabf7d52754b7b19cc787; affected b7fe4c0019b12d60ece3e99eeb0ccfd5a1d103e5 before b298b80814dd0fc3cb1c8c0e0082fc14fdb5fecf |
| Linux / Linux | affected 6.17; unaffected 0 before 6.17; unaffected 6.18.52 through 6.18.*; unaffected 7.2.6 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.