Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 25C914FB9D4 for ; Wed, 16 Sep 2026 10:36:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789554994; cv=none; b=eaIZXeYoLiWZ3nmvzVI/OQVvRfyh1AHCQETdIRmHpj8ZPgAcGYfS7SUqsvc+UHFTnfdiAlZxCkn5wpKachMtM9lRZrihvnbvQs1AIi4RKWnSdvpg5gGJIIPAqg+1R48s8U5eU/X8BDRk3lKoKAabypDash15bxQ/Wh3k0tz42hM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789554994; c=relaxed/simple; bh=FcyyFqzqvP75nDV02DAD3zHHQVBwRLnysK9MUsb7m+Q=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ayAXlUz+1hwFEf2sXjDMv3Qv/B5snvFeO/W3Ij5bDOj2hf2KQmuFk7qHkU+gRwKD+IpjUdDjItinfvZjRnc9+iBmU0VDgF+/DieyK0XUjKOvREMaAzb4WUMHgyo6filK20StOu37yxipPnvG1N1ZcWajf2ujlvAUkI+kPgjJ4us= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=GE/nGLgc; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="GE/nGLgc" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D76791F0089A; Wed, 16 Sep 2026 10:36:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789554980; bh=1jNeKVG9cTPF6fWe/UWlGlXKyV1GeNoiajFqbu0asGg=; h=From:To:Cc:Subject:Date:Reply-To; b=GE/nGLgcarhmkcVdTqm2nw2SiEVHaBCtC0LUQANU6bO54xctnRlaNDZ2F1uoP5DEY 0LuL83a6e8MIZAjsxue5+wuddcJTzvWg/S6Uab2aW8bNIFdkKsj8VTLW06kIJZ3bjE 4nqXmlC1aldzzmpi+nY8gCm7mnsyUKJK7jeYl5MI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89867: media: chips-media: wave5: Defer job_finish() only when a DEC_PIC was queued Date: Wed, 16 Sep 2026 11:29:57 +0100 Message-ID: <2026091624-CVE-2026-89867-0a98@gregkh> X-Mailer: git-send-email 2.55.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=2698; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=mk8rs3cCM1nDBeRIqTfiBDEY67XSq/OZAc/N1Jlei9o=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmr8lvm8oTn7tPi5uIXr9mTuOfiKYGPARq5PsIz/Epl5 t3/Mv9ORywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEykrIthnnq3X2PBp9OSezKu 8xXL3DgiHzQzjWF+nkW/amGxd9K98C7bk4l1pipMRm0A 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: Defer job_finish() only when a DEC_PIC was queued Decoder instances sharing a VPU also share one v4l2_m2m job slot, released when the running context calls v4l2_m2m_job_finish(). While draining, device_run() defers job_finish() once EOS is sent (sent_eos), expecting a later finish_decode() (from a DEC_PIC completion IRQ) to release the slot. But the m2m core checks job_ready() only when a job is queued, not when it is dispatched. A job queued while draining can run after finish_decode() has already moved the instance to STOP and sent EOS. device_run() then runs in STOP, issues no DEC_PIC, yet still skips job_finish() - so no IRQ, no finish_decode(), and the shared slot is leaked, stalling every instance. With several v4l2h264dec instances in parallel, GStreamer hangs at EOS. Track whether the run actually queued a DEC_PIC (cmd_issued) and defer job_finish() only then. Otherwise finish the job immediately The Linux kernel CVE team has assigned CVE-2026-89867 to this issue. Affected and fixed versions =========================== Issue introduced in 7.0 with commit a176ac5e701f1ba30843c0d7e0663a761bf9a61a and fixed in 7.2.5 with commit 63d758d2f9dba836d5ae597d317cde522e817cf9 Issue introduced in 7.0 with commit a176ac5e701f1ba30843c0d7e0663a761bf9a61a and fixed in 7.3-rc1 with commit b694ba0a5526a69f78a6924982b1553154ccfd73 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-89867 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/63d758d2f9dba836d5ae597d317cde522e817cf9 https://git.kernel.org/stable/c/b694ba0a5526a69f78a6924982b1553154ccfd73