Description
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!
Product status
9707a6254a8a6b978bde811a44fe07d86c229d1c (git) before 3a278a55ead50db2444c8f01410c7f5a68723990
9707a6254a8a6b978bde811a44fe07d86c229d1c (git) before 0bffda02317989f8d5cdc2d4462a4110b1290cf0
9707a6254a8a6b978bde811a44fe07d86c229d1c (git) before 9cf4452e824c1e2d41c9c0b13cc8a32a0a7dec38
6.8
Any version before 6.8
6.18.16 (semver)
6.19.6 (semver)
7.0 (original_commit_for_fix)
References
git.kernel.org/...c/3a278a55ead50db2444c8f01410c7f5a68723990
git.kernel.org/...c/0bffda02317989f8d5cdc2d4462a4110b1290cf0
git.kernel.org/...c/9cf4452e824c1e2d41c9c0b13cc8a32a0a7dec38