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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
4e5e7a7ddb4ab9ac35928d7dc72efc8797639dc3 to < 74669cc3483e9729ca26b4e06a096ccdd607db64affected4e5e7a7ddb4ab9ac35928d7dc72efc8797639dc3 to < ef46d80a7015269a98c9505b5912a83798799199affected
Linux Linux
Default version status: affected
7.2affected0 to < 7.2unaffected7.2.6 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected