media: amd: isp4: fix self-deadlock in isp4sd_pwron_and_init() error path
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 74669cc3483e9729ca26b4e06a096ccdd607db64 and Kernel ef46d80a7015269a98c9505b5912a83798799199.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =7.2, >=4e5e7a7ddb4ab9ac35928d7dc72efc8797639dc3 <74669cc3483e9729ca26b4e06a096ccdd607db64, >=4e5e7a7ddb4ab9ac35928d7dc72efc8797639dc3 <ef46d80a7015269a98c9505b5912a83798799199 | 74669cc3483e9729ca26b4e06a096ccdd607db64, ef46d80a7015269a98c9505b5912a83798799199 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket