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 609BE48FF88 for ; Fri, 25 Sep 2026 10:25: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=1790331922; cv=none; b=FYDge8T+TW9+Uvt8yCRAXP4+S5VN+jcVWe7dmUhcRvvq6UZKidOgCI3qAsbMakPHHbKKTN52FI9di9AYihYUx223d9nzXKD7HOjR5XKhwfgbPbbxdo0/jizmgt204mSpihUWGDVCKTFWp2VTRFAvbrMhnOFNEXk6N8/LzxRiEpU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790331922; c=relaxed/simple; bh=/pAJjnoNs3tCDsaEeGEi2PMknZjBcNnhHF/w7sQ4BNc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=RYf9LMKDXk4ze+XeEDyXXpOMGAG+N8a3MP81bD7oEvqEQ0BZEU60P0leZa43+EnEz36bfRNYkFZtKx6ShoirTtNI/kZfp8dXcvW2Y6JM0ULinkNkeWbBvZ3KpJ60INJIgajn+7ZV9VPvUS2cZhC1Wo4g5c7mHAIbrUwoz8OI3QY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=txSAHlJh; 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="txSAHlJh" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 789C81F00893; Fri, 25 Sep 2026 10:25:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790331921; bh=peBgrSe08dX+DEvyMdp6cMAxPv1J+CF6e31ocGXAcv0=; h=From:To:Cc:Subject:Date:Reply-To; b=txSAHlJhSHieNj6wA+sp+gwvALFucBMJzkIe9oN9Z8RHNl/a77P3WtF20sX0oKhuC LqWiWnspfAg6xAi3lCTGZK8PGuU2kGvJlJ1EHm9yYPqpkyB+aaLK67/i1cfsEA8u2y CuOj6RviN4GDe8DDGDWBVPOWyKstOTjU7rt7Pjdw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-97581: media: verisilicon: hantro: bound G2 HEVC tile loop to the buffer capacity Date: Fri, 25 Sep 2026 12:22:41 +0200 Message-ID: <2026092556-CVE-2026-97581-d57b@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=2542; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ijcxgxiqRA7P3q890toHhJe4/GSVHsYjtDDPVXIgme0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnbvF1mHf+ReWb2xT9fWH9dy/pxhtNcTrpwFfPelQuPy 214GuZs3BHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQAT4Q5mmKc84XKezyfXu/Nj lhrMLZq7eO8U1a8MC+Z9azzLaipYKe6w9G629/NnjR48RwA= 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: verisilicon: hantro: bound G2 HEVC tile loop to the buffer capacity prepare_tile_info_buffer() writes one entry per tile into the tile_sizes DMA buffer, sized for a grid equal to the PPS uAPI array capacity. Use the bounded v4l2_hevc_pps_num_tile_columns() / v4l2_hevc_pps_num_tile_rows() helpers so the loops stay inside the buffer. The Linux kernel CVE team has assigned CVE-2026-97581 to this issue. Affected and fixed versions =========================== Issue introduced in 5.14 with commit cb5dd5a0fa518dff14ff2b90837c3c8f98f4dd5c and fixed in 6.12.111 with commit 62ae24639d22909a5724627a0467e4bde9704020 Issue introduced in 5.14 with commit cb5dd5a0fa518dff14ff2b90837c3c8f98f4dd5c and fixed in 6.18.53 with commit 4f654c9bc954569ff9b8ab860b29480c4cf6f57b Issue introduced in 5.14 with commit cb5dd5a0fa518dff14ff2b90837c3c8f98f4dd5c and fixed in 7.2.7 with commit 05e8e4cdfe692f5cedba9aa9d7b8f2584cf926c8 Issue introduced in 5.14 with commit cb5dd5a0fa518dff14ff2b90837c3c8f98f4dd5c and fixed in 7.3-rc3 with commit 06236b094c899c22c12ac5097935eb6719293de8 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-97581 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/verisilicon/hantro_g2_hevc_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/62ae24639d22909a5724627a0467e4bde9704020 https://git.kernel.org/stable/c/4f654c9bc954569ff9b8ab860b29480c4cf6f57b https://git.kernel.org/stable/c/05e8e4cdfe692f5cedba9aa9d7b8f2584cf926c8 https://git.kernel.org/stable/c/06236b094c899c22c12ac5097935eb6719293de8