CVE-2026-97514: media: chips-media: wave5: Fix Reports from Kernel Lock Validator
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In 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.
The Linux kernel CVE team has assigned CVE-2026-97514 to this issue.
Affected and fixed versions
===========================
Fixed in 6.12.111 with commit 629a937091ecf9c5c9f7a18f41cb0e6c778a7b2f Fixed in 6.18.53 with commit 072beef6a19f9c84dc5a50c5499663a5734c1096 Fixed in 7.2 with commit 7d5d364f8b2dcc9b6b92456fb55632fde4a4d96f
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-97514
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/media/platform/chips-media/wave5/wave5-vpu-dec.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/629a937091ecf9c5c9f7a18f41cb0e6c778a7b2f https://git.kernel.org/stable/c/072beef6a19f9c84dc5a50c5499663a5734c1096 https://git.kernel.org/stable/c/7d5d364f8b2dcc9b6b92456fb55632fde4a4d96f