Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3CC29438FFB for ; Wed, 6 May 2026 11:34:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778067290; cv=none; b=G/ydB8l9nUCGUgDvOPjdtKqqXRyaacB/OpI/EuWH9UBx2imzWLgkJFZ3ikW0CAJqIJggQ50O3/WVlHFYdX51bGc7a+542+from943rQqqZqu3a6hb8PtNyrO2OkG08lVETBNdftg7FWdcD2yqS5DOpx91sh/2q/CdDP8d9B+Y1w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778067290; c=relaxed/simple; bh=P+CNxtxi8I68dMuJXTCvBJDynOGLvYAaAOGy3La68B8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=W7pAbwvYg2Rq8Y1gQeIdwkCUnPurbqGd5UuRUznFC2wYLcNC6OLDFdeSA5Vel81T/bPDMwgPy/kokpqJOfN05hElMVhShI/LsJunr5Oy+Luw9wqgxJS/Na1WPrf6jeq95RKuZK4avvq4Y+GNcV7JRF2D2DH4wK3l9m/OPgdHp4w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=eMXwq6GX; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="eMXwq6GX" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C9961C2BCB8; Wed, 6 May 2026 11:34:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778067290; bh=P+CNxtxi8I68dMuJXTCvBJDynOGLvYAaAOGy3La68B8=; h=From:To:Cc:Subject:Date:Reply-To:From; b=eMXwq6GXSN417AofWpKAg1fDjMPo5um/8FvASHZWgonJTX86c4qKi+wXOV7yLlpzO TasCtEkQtT4SBjPSpf34u/e4tE5e/J1CFmC/xP+vqjGnGwrgv9tVWVRHlsdngtOLay 8TjG5Idbtvsa2FuEIH/MWEY8Jxq12xB2jRanrWJk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43229: media: chips-media: wave5: Fix device cleanup order to prevent kernel panic Date: Wed, 6 May 2026 13:29:05 +0200 Message-ID: <2026050655-CVE-2026-43229-ed0b@gregkh> X-Mailer: git-send-email 2.54.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3868; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=KWAe0iLRU5drLrhD1PN/4WLzSXCVWowaQsOG8YBBiFE=; b=owGbwMvMwCRo6H6F97bub03G02pJDJm/VffsTzdJ8SnhE/r0Y+b/vM511gaaDK8Cwpr+26r+j nMv9y7viGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgImUzWVY0Cb/a0bS146doV3n H2ieFVmy0uX0cob5cTPFW+pvTljolP3b/oWvquupv5n2AA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: media: chips-media: wave5: Fix device cleanup order to prevent kernel panic Move video device unregistration to the beginning of the remove function to ensure all video operations are stopped before cleaning up the worker thread and disabling PM runtime. This prevents hardware register access after the device has been powered down. In polling mode, the hrtimer periodically triggers wave5_vpu_timer_callback() which queues work to the kthread worker. The worker executes wave5_vpu_irq_work_fn() which reads hardware registers via wave5_vdi_read_register(). The original cleanup order disabled PM runtime and powered down hardware before unregistering video devices. When autosuspend triggers and powers off the hardware, the video devices are still registered and the worker thread can still be triggered by the hrtimer, causing it to attempt reading registers from powered-off hardware. This results in a bus error (synchronous external abort) and kernel panic. This causes random kernel panics during encoding operations: Internal error: synchronous external abort: 0000000096000010 [#1] PREEMPT SMP Modules linked in: wave5 rpmsg_ctrl rpmsg_char ... CPU: 0 UID: 0 PID: 1520 Comm: vpu_irq_thread Tainted: G M W pc : wave5_vdi_read_register+0x10/0x38 [wave5] lr : wave5_vpu_irq_work_fn+0x28/0x60 [wave5] Call trace: wave5_vdi_read_register+0x10/0x38 [wave5] kthread_worker_fn+0xd8/0x238 kthread+0x104/0x120 ret_from_fork+0x10/0x20 Code: aa1e03e9 d503201f f9416800 8b214000 (b9400000) ---[ end trace 0000000000000000 ]--- Kernel panic - not syncing: synchronous external abort: Fatal exception The Linux kernel CVE team has assigned CVE-2026-43229 to this issue. Affected and fixed versions =========================== Issue introduced in 6.8 with commit 9707a6254a8a6b978bde811a44fe07d86c229d1c and fixed in 6.12.75 with commit b73d85231d5b1400a4fa5046cdac6c4d7cc6d969 Issue introduced in 6.8 with commit 9707a6254a8a6b978bde811a44fe07d86c229d1c and fixed in 6.18.16 with commit 526816f2e331954d80fed8b37fa94efbbdde2b8d Issue introduced in 6.8 with commit 9707a6254a8a6b978bde811a44fe07d86c229d1c and fixed in 6.19.6 with commit dc2b7deae740a3ed138fb7ae17c97fa4055cfc5f Issue introduced in 6.8 with commit 9707a6254a8a6b978bde811a44fe07d86c229d1c and fixed in 7.0 with commit b74cedac643b02aefa7da881b58a3792859d9748 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-43229 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.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/b73d85231d5b1400a4fa5046cdac6c4d7cc6d969 https://git.kernel.org/stable/c/526816f2e331954d80fed8b37fa94efbbdde2b8d https://git.kernel.org/stable/c/dc2b7deae740a3ed138fb7ae17c97fa4055cfc5f https://git.kernel.org/stable/c/b74cedac643b02aefa7da881b58a3792859d9748