media: hi846: fix usage of pm_runtime_get_if_in_use()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 04fc06f6dc1592ed5d675311ac50d8fba5db62ab, Kernel 42ec6269f98edd915ee37da3c6456bb6243ea56a and Kernel c5dcd7a19f1ed8fe98384f3a9444c7c53befd74e.
In the Linux kernel, the following vulnerability has been resolved: media: hi846: fix usage of pm_runtime_get_if_in_use() pm_runtime_get_if_in_use() does not only return nonzero values when the device is in use, it can return a negative errno too. And especially during resuming from system suspend, when runtime pm is not yet up again, -EAGAIN is being returned, so the subsequent pm_runtime_put() call results in a refcount underflow. Fix system-resume by handling -EAGAIN of pm_runtime_get_if_in_use().
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.16, >=e8c0882685f9152f0d729664a12bcbe749cb7736 <04fc06f6dc1592ed5d675311ac50d8fba5db62ab, >=e8c0882685f9152f0d729664a12bcbe749cb7736 <42ec6269f98edd915ee37da3c6456bb6243ea56a, >=e8c0882685f9152f0d729664a12bcbe749cb7736 <c5dcd7a19f1ed8fe98384f3a9444c7c53befd74e | 04fc06f6dc1592ed5d675311ac50d8fba5db62ab, 42ec6269f98edd915ee37da3c6456bb6243ea56a, c5dcd7a19f1ed8fe98384f3a9444c7c53befd74e |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket