media: chips-media: wave5: Fix PM runtime usage count underflow
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 9cf4452e824c1e2d41c9c0b13cc8a32a0a7dec38, Kernel 6.18.16, Kernel 3a278a55ead50db2444c8f01410c7f5a68723990 and 2 more.
In the Linux kernel, the following vulnerability has been resolved: media: chips-media: wave5: Fix PM runtime usage count underflow Replace pm_runtime_put_sync() with pm_runtime_dont_use_autosuspend() in the remove path to properly pair with pm_runtime_use_autosuspend() from probe. This allows pm_runtime_disable() to handle reference count cleanup correctly regardless of current suspend state. The driver calls pm_runtime_put_sync() unconditionally in remove, but the device may already be suspended due to autosuspend configured in probe. When autosuspend has already suspended the device, the usage count is 0, and pm_runtime_put_sync() decrements it to -1. This causes the following warning on module unload: ------------[ cut here ]------------ WARNING: CPU: 1 PID: 963 at kernel/kthread.c:1430 kthread_destroy_worker+0x84/0x98 ... vdec 30210000.video-codec: Runtime PM usage count underflow!
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=9707a6254a8a6b978bde811a44fe07d86c229d1c <9cf4452e824c1e2d41c9c0b13cc8a32a0a7dec38, >=6.8 <6.18.16, >=9707a6254a8a6b978bde811a44fe07d86c229d1c <3a278a55ead50db2444c8f01410c7f5a68723990, >=6.19 <6.19.6, =6.8, >=9707a6254a8a6b978bde811a44fe07d86c229d1c <0bffda02317989f8d5cdc2d4462a4110b1290cf0 | 9cf4452e824c1e2d41c9c0b13cc8a32a0a7dec38, 6.18.16, 3a278a55ead50db2444c8f01410c7f5a68723990, 6.19.6, 0bffda02317989f8d5cdc2d4462a4110b1290cf0 |
| linux-kernel: Kernel | >=6.19.0 <6.19.6, >=6.8.0 <6.18.16 | 6.19.6, 6.18.16 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket