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 C3D073CAE93 for ; Mon, 10 Aug 2026 12:07:23 +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=1786363644; cv=none; b=KrhgiDIX8wF1DMOp5EioN00H/fAfz/LTX+V9u8flWnYCs73h+c6R52dMw1r/YGDj3UzFRjeNVdXQL/ji81zOaplp3tlOd5QAVLHEJE9fGweN59Zs42Hy3no4aGCxeIHNJ93xInoDXHfwhAmaF9jA+P5ydoOwcWRUX3jfxsDB3Eg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786363644; c=relaxed/simple; bh=xC44b0paj/nEsWFmlLKP4OOrnZmYRTUhaUu1ehAMMnI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=g56fyAKFxYkbHEX/cjPR4AdqOX71aCmpOD4fu83PziIPdVAScF/YcHBt2BJlu8YY9+/wApPjVaGkRkKhBz3DQ4tKW7JfpgGRX8hwBSD7mNN1avoFKARt3Rm/xgPeEeN8R4F6kcmpYPYaw1PTsXY90VTlKnArXwJMIHi/MR0mwkM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=h6cZZYkF; 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="h6cZZYkF" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3818B1F00A3A; Mon, 10 Aug 2026 12:07:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786363643; bh=SDQAtvUVnYn5uc/kPEcT+pkiQoTcOtF24MoBVnh7Ts4=; h=From:To:Cc:Subject:Date:Reply-To; b=h6cZZYkF9GYKtg6oy5TTrBihZ9CovtpLPk9qog3/wrNXBilIf/1+v0Bjp5teQMGCN UTb30D6EYTqf58slgfMA5aZoFqXMG6fnP1jPcUM7gQDeODtFH6Qan/NTDvvVk2sTop veKb61PTa9fIgQb4ilsODZBpmngX5WwRtm7AJ+ak= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-68229: media: cedrus: skip invalid H.264 reference list entries Date: Mon, 10 Aug 2026 13:59:06 +0200 Message-ID: <2026081016-CVE-2026-68229-5489@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=3112; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=aDtve+YSqUH/CzXASXRogkZSOJ0Mmcq67lxyPMQdr/A=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmVe+Yc+DJB6biPuuyJNtkevR9PJ88RqFUPec13/+qcD yfUeMwYOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAihYoMCw6Vt11e1HFyz6EU LW9WKxmGUqn/MgzzzForH09/9+zGv3WsM6t3zZtT0FK7EgA= 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: cedrus: skip invalid H.264 reference list entries Cedrus consumes H.264 ref_pic_list0/ref_pic_list1 entries from the stateless slice control and later uses their indices to look up decode->dpb[] in _cedrus_write_ref_list(). Rejecting such controls in cedrus_try_ctrl() would break existing userspace, since stateless H.264 reference lists may legitimately carry out-of-range indices for missing references. Instead, guard the actual DPB lookup in Cedrus and skip entries whose indices do not fit the fixed V4L2_H264_NUM_DPB_ENTRIES array. This keeps the fix local to the driver use site and avoids out-of-bounds reads from malformed or unsupported reference list entries. The Linux kernel CVE team has assigned CVE-2026-68229 to this issue. Affected and fixed versions =========================== Issue introduced in 5.10 with commit e000e1fa4bdbd783149e7f97cf3be61e1c0bab8c and fixed in 6.6.148 with commit 2ee8327c85b3ac7b532d2d6a1e3a295d5ad7414a Issue introduced in 5.10 with commit e000e1fa4bdbd783149e7f97cf3be61e1c0bab8c and fixed in 6.12.101 with commit 0af8945fcae742d099f59f3c725eb67235953a31 Issue introduced in 5.10 with commit e000e1fa4bdbd783149e7f97cf3be61e1c0bab8c and fixed in 6.18.42 with commit 9924cb548ee7753a6473997949c3ec48092de0b0 Issue introduced in 5.10 with commit e000e1fa4bdbd783149e7f97cf3be61e1c0bab8c and fixed in 7.1.6 with commit e53112c2de88982e66c369aee2120d5efd78df30 Issue introduced in 5.10 with commit e000e1fa4bdbd783149e7f97cf3be61e1c0bab8c and fixed in 7.2-rc1 with commit 10358ea986c3c85516d1c8206486464f79d36e76 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-68229 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/staging/media/sunxi/cedrus/cedrus_h264.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/2ee8327c85b3ac7b532d2d6a1e3a295d5ad7414a https://git.kernel.org/stable/c/0af8945fcae742d099f59f3c725eb67235953a31 https://git.kernel.org/stable/c/9924cb548ee7753a6473997949c3ec48092de0b0 https://git.kernel.org/stable/c/e53112c2de88982e66c369aee2120d5efd78df30 https://git.kernel.org/stable/c/10358ea986c3c85516d1c8206486464f79d36e76