Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-97514 Overview
CVE-2026-97514 is a Linux kernel vulnerability in the chips-media wave5 video codec driver. The flaw stems from improper lock handling in the handle_dynamic_resolution_change function. The driver's initialize_sequence call path invokes handle_dynamic_resolution_change without first acquiring the required state_lock, violating the lockdep_assert_held contract.
Additionally, the sleeping functions v4l2_ctrl_find and s_ctrl were being called while a lock was held, which can trigger kernel lock validator warnings and potential scheduling issues. The patch stores fbc_buf_count and defers the control update until after the lock is released.
Critical Impact
Improper locking in the wave5 media driver can cause kernel lock validator warnings, potential deadlocks, and unstable behavior on systems using Chips&Media Wave5 video codec hardware.
Affected Products
- Linux kernel builds including the media: chips-media: wave5 driver
- Systems using Chips&Media Wave5 series video codec IP
- Distributions shipping affected stable kernel branches prior to the referenced fix commits
Discovery Timeline
- 2026-09-24 - CVE-2026-97514 published to the National Vulnerability Database
- 2026-09-28 - Last updated in NVD database
Technical Details for CVE-2026-97514
Vulnerability Analysis
The wave5 driver implements video decoding for Chips&Media Wave5 codec IP within the Linux kernel's Video4Linux2 (V4L2) subsystem. The function handle_dynamic_resolution_change is annotated with lockdep_assert_held, declaring that callers must hold state_lock before invocation.
The initialize_sequence function violated this contract by calling handle_dynamic_resolution_change without first acquiring state_lock. The kernel lock validator (lockdep) flagged this inconsistency during instrumented runs.
A second issue compounded the problem. The code invoked v4l2_ctrl_find and s_ctrl, both of which may sleep, from within a locked critical section. Sleeping while holding a non-sleepable lock can result in scheduler violations, lock contention, and in pathological cases, deadlock.
Root Cause
The root cause is a Race Condition and locking contract violation [CWE-667 Improper Locking]. The caller path did not satisfy the documented lock precondition, and sleep-capable control helpers were invoked inside the critical section rather than after lock release.
Attack Vector
Triggering the condition requires local access to a system with the wave5 driver loaded and an active V4L2 decode session that undergoes a dynamic resolution change. The vulnerability is not remotely exploitable and no public exploit is available. Reports from the kernel lock validator motivated the fix rather than evidence of in-the-wild abuse.
The upstream resolution captures fbc_buf_count into a local variable while holding the lock, releases the lock, and then performs the control update using the sleep-capable helpers. See the fix commits: Kernel Git Commit 072beef, Kernel Git Commit 629a937, and Kernel Git Commit 7d5d364.
Detection Methods for CVE-2026-97514
Indicators of Compromise
- Kernel log entries containing lockdep warnings referencing handle_dynamic_resolution_change or initialize_sequence in the wave5 driver
- BUG: sleeping function called from invalid context messages tied to V4L2 control helpers v4l2_ctrl_find or s_ctrl
- Unexpected hangs or stalls in userspace V4L2 decode clients during resolution changes on Wave5 hardware
Detection Strategies
- Audit running kernel versions against the fix commits listed in the kernel.org stable tree references
- Enable CONFIG_PROVE_LOCKING and CONFIG_DEBUG_ATOMIC_SLEEP in test environments to surface the exact code paths
- Review dmesg output on systems that exercise dynamic resolution changes through the wave5 decoder
Monitoring Recommendations
- Forward kernel ring buffer messages to a centralized log platform and alert on lockdep or BUG: strings
- Track kernel package versions across the fleet and flag hosts running pre-patch versions of affected stable branches
- Monitor video pipeline services for abnormal process state transitions on hosts with Wave5 hardware
How to Mitigate CVE-2026-97514
Immediate Actions Required
- Update to a Linux kernel version that includes commits 072beef6, 629a9370, or 7d5d364f from the stable tree
- Inventory systems that load the wave5 kernel module and prioritize them for patching
- If patching is deferred, restrict local access to systems that expose V4L2 wave5 decode interfaces to untrusted users
Patch Information
The upstream fix is available in three stable kernel commits: Kernel Git Commit 072beef, Kernel Git Commit 629a937, and Kernel Git Commit 7d5d364f. The patch acquires state_lock, caches fbc_buf_count, releases the lock, then updates the V4L2 control.
Workarounds
- Unload the wave5 kernel module on systems that do not require hardware video decoding
- Avoid workloads that trigger dynamic resolution changes on affected driver versions
- Apply distribution vendor backports as soon as they become available
# Verify running kernel and check for the wave5 module
uname -r
lsmod | grep wave5
# Temporarily unload the module if hardware decode is not required
sudo modprobe -r wave5
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

