CVE-2026-93143: staging: media: ipu7: fix pm_runtime refcount leak in ipu7_resume()
From: Greg Kroah-Hartman <[email protected]>
Description
===========
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.
The Linux kernel CVE team has assigned CVE-2026-93143 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.17 with commit b7fe4c0019b12d60ece3e99eeb0ccfd5a1d103e5 and fixed in 6.18.52 with commit 593fda71983b9c23c84a566b20c53dc402c6b376 Issue introduced in 6.17 with commit b7fe4c0019b12d60ece3e99eeb0ccfd5a1d103e5 and fixed in 7.2.6 with commit 437d6d15936db87485afabf7d52754b7b19cc787 Issue introduced in 6.17 with commit b7fe4c0019b12d60ece3e99eeb0ccfd5a1d103e5 and fixed in 7.3-rc1 with commit b298b80814dd0fc3cb1c8c0e0082fc14fdb5fecf
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-93143
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/staging/media/ipu7/ipu7.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/593fda71983b9c23c84a566b20c53dc402c6b376 https://git.kernel.org/stable/c/437d6d15936db87485afabf7d52754b7b19cc787 https://git.kernel.org/stable/c/b298b80814dd0fc3cb1c8c0e0082fc14fdb5fecf