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 279BE145FE4 for ; Sat, 17 Aug 2024 09:24:35 +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=1723886675; cv=none; b=dnIb18sD8Pib2eRl/+3RrabbrQIIViUL2mjH5FT7BWZrdO/uYO90x7cHzee1BmwMHF6RfI8cMVkL7D43hOC28TdNrcnfbEmv/ac9iY5Ule8XnEjz/j0STga1eVf7j3x/TxU/YQVqUdeq9FZ1RwIi5M7NN+4Qjr0yX9N5Glun27Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723886675; c=relaxed/simple; bh=lkaxALGSbN6Q52v08IX6bb1nfbErIzfsl/4RLzdGt2I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Uw83mmmrP/wdT2nLn6c/SyiKmr5ZN/guscIYQf9RtnxaMOVx9nNfYZio/OeUMnVBc1B3/Jy91TyYjwDvBDa0NqoktrTze5Zw2GJbksEVfeB747F2/wqdu8f2CQ7jhSJ6bDm5r4FmQJFe+oP624l+rhBKMGaWFQ4m2Y860vDllUw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ob0ZgX+p; 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="ob0ZgX+p" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 66519C116B1; Sat, 17 Aug 2024 09:24:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1723886675; bh=lkaxALGSbN6Q52v08IX6bb1nfbErIzfsl/4RLzdGt2I=; h=From:To:Cc:Subject:Date:Reply-to:From; b=ob0ZgX+pgpPEwTJC8v6u6hK0NZCfqaasMuNZjWJaIlarxFS825MbulBu88Q7JOUKh BB2a/JMcK1lhW1Rh1uP6io0HjTnOeNNMCxKUIzMU1YB6Mva1N6rZ5bqs5XFchLOk85 jSBn6hyI9J7u6Sja+IBn9PGqYKcFdfhtkWlJDrQo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-43831: media: mediatek: vcodec: Handle invalid decoder vsi Date: Sat, 17 Aug 2024 11:22:35 +0200 Message-ID: <2024081727-CVE-2024-43831-b13e@gregkh> X-Mailer: git-send-email 2.46.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=1956; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=lkaxALGSbN6Q52v08IX6bb1nfbErIzfsl/4RLzdGt2I=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkHsi8n9sWWzktTXc9x7VSrSbvxIf6lt4Q76ucnO6Zau 1y+w+TXEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABN5aMAwh+ubT8VT/SnvZ4n+ 22/WuvVBEu+7OwwLFuitVXow2eZNA0fR9t9KGWf8Fi4VBgA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: media: mediatek: vcodec: Handle invalid decoder vsi Handle an invalid decoder vsi in vpu_dec_init to ensure the decoder vsi is valid for future use. The Linux kernel CVE team has assigned CVE-2024-43831 to this issue. Affected and fixed versions =========================== Issue introduced in 4.10 with commit 590577a4e525 and fixed in 6.6.44 with commit 1c109f23b271 Issue introduced in 4.10 with commit 590577a4e525 and fixed in 6.10.3 with commit cdf05ae76198 Issue introduced in 4.10 with commit 590577a4e525 and fixed in 6.11-rc1 with commit 59d438f8e02c 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-2024-43831 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/mediatek/vcodec/decoder/vdec_vpu_if.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/1c109f23b271a02b9bb195c173fab41e3285a8db https://git.kernel.org/stable/c/cdf05ae76198c513836bde4eb55f099c44773280 https://git.kernel.org/stable/c/59d438f8e02ca641c58d77e1feffa000ff809e9f