CVE-2026-90238: media: amd: isp4: fix self-deadlock in isp4sd_pwron_and_init() error path
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
media: amd: isp4: fix self-deadlock in isp4sd_pwron_and_init() error path
isp4sd_pwron_and_init() holds ops_mutex via guard(mutex) and, on any init failure, jumps to err_deinit and calls isp4sd_pwroff_and_deinit(). That helper takes the same ops_mutex, re-acquiring a non-recursive mutex already held by the current thread, so any init failure deadlocks.
Unwind the error path in stages instead, releasing only what each failure point acquired. This also avoids the issues that an unconditional teardown would hit at the earlier failures, such as a runtime-PM underflow from pm_runtime_resume_and_get() and MMIO access while the device is unpowered.
The Linux kernel CVE team has assigned CVE-2026-90238 to this issue.
Affected and fixed versions
===========================
Issue introduced in 7.2 with commit 4e5e7a7ddb4ab9ac35928d7dc72efc8797639dc3 and fixed in 7.2.6 with commit 74669cc3483e9729ca26b4e06a096ccdd607db64 Issue introduced in 7.2 with commit 4e5e7a7ddb4ab9ac35928d7dc72efc8797639dc3 and fixed in 7.3-rc1 with commit ef46d80a7015269a98c9505b5912a83798799199
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-90238
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/media/platform/amd/isp4/isp4_subdev.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/74669cc3483e9729ca26b4e06a096ccdd607db64 https://git.kernel.org/stable/c/ef46d80a7015269a98c9505b5912a83798799199