media: chips-media: wave5: Fix Reports from Kernel Lock Validator
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.12.1116.18.537.2In the Linux kernel, the following vulnerability has been resolved:
media: chips-media: wave5: Fix Reports from Kernel Lock Validator
handle_dynamic_resolution change requires that the state_lock be acquired based on the lockdep_assert_held. However, the handle_dynamic_resolution_change call in initialize_sequence does not properly obtain the lock before calling.
Since the v4l2_ctrl_find and s_ctrl can sleep, they should not be called while a lock is already held. Store off the fbc_buf_count then properly update control once lock has been freed.
From the CVE record · Linux
The Linux kernel's chips-media wave5 driver calls a dynamic-resolution handler without acquiring the required lock. It also calls controls that can sleep while a lock is held. The input does not specify an attacker action or whether exploitation requires local access, authentication, or user interaction.
Engineers running Linux kernels with the chips-media wave5 driver should check their affected versions; none are specified in the input.