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 0D9F821CA1F for ; Thu, 18 Sep 2025 16:04:59 +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=1758211499; cv=none; b=taElrv3sxl+Hvj3UCHeGO8+8gZ/YONQ8QzAJrFlQDN7sjv5kfwyWYfCSRFfml8YMnBuh1q0nIkU231Al4I4IXDLC6E5XrWeEX1pCWEbo+5CvGXEZS+HrLsx5YiRqbYEt6JIJXun4yDi53sxvXF93SRUMDstT2YLdhRDW9eH8nC0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758211499; c=relaxed/simple; bh=qEWB+4WYaJuxpYk0jW42EooAfWZkMLBGag4CKx7YAec=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=D8QAVscrxdP2k/EVCDBTDVQUmq4Z8OiZSI9sEOYqi4SvPcNaqFMktP7rlACIw28EuIlU7j+v6dLvCKdaAx0Q3DvjLIbRikpFMwi4/h10rFL+k8nDhfGYnxKXshmPFsUFjNxHuzFJmhq4IA7O8A0vsAZ7VtZibqQa6dZJifv5Utc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=NBp+hSgJ; 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="NBp+hSgJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 82D40C4CEE7; Thu, 18 Sep 2025 16:04:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1758211498; bh=qEWB+4WYaJuxpYk0jW42EooAfWZkMLBGag4CKx7YAec=; h=From:To:Cc:Subject:Date:Reply-to:From; b=NBp+hSgJVq2xGxsj5Ktj1IwoVBn2tib8Gjg0zVZhr+8Auh7WnQqyYLEEWDGVgJULA SLd5QoGrq/h1pZNVZ4WCM9UgRAdkHVq786KT1hqmIwJBVgBG7Atm0wpjj1ft0o53QB TvS7/UtQdWe93nDA5mU/sz7lQ/0nqCK21yOeGlnc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53425: media: platform: mediatek: vpu: fix NULL ptr dereference Date: Thu, 18 Sep 2025 18:04:16 +0200 Message-ID: <2025091856-CVE-2023-53425-6eb5@gregkh> X-Mailer: git-send-email 2.51.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=2697; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=fTBOLeG+1QJNVYfzzKPWBnLEWBaZx60eLFYzmvL8kT8=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlndHPS3F/cKllwvW5JH1O6Z2+r7MvHK96ZlizcMsfzz UH5J/9+dcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEZoUxLFi62v/eomKG7VcW iKx8UFejOKnHQoRhfr5hz/GCn/t/f1t2s+lXGU8G6yel3wA= 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: platform: mediatek: vpu: fix NULL ptr dereference If pdev is NULL, then it is still dereferenced. This fixes this smatch warning: drivers/media/platform/mediatek/vpu/mtk_vpu.c:570 vpu_load_firmware() warn: address of NULL pointer 'pdev' The Linux kernel CVE team has assigned CVE-2023-53425 to this issue. Affected and fixed versions =========================== Fixed in 4.14.324 with commit 099e929e7477f37ca16738fc158d7101c0189ca1 Fixed in 4.19.293 with commit 1b3f25d3894a091abc247eadab266a2c9be64389 Fixed in 5.4.255 with commit c1c5826223ae05a48d21f6708c6f34ee9006238c Fixed in 5.10.192 with commit 2caeb722f0ea5d2d24af30bb1753a89d449b6aa0 Fixed in 5.15.128 with commit 776b34615a29551d69d82a0082e7319d5ea284bd Fixed in 6.1.47 with commit b7bd48f0be84e24d21aa3a8f59a8a9cb8633a1c4 Fixed in 6.4.12 with commit 4d299e6e0ac3cf8ab4517dc29c9294bc4bf72398 Fixed in 6.5 with commit 3df55cd773e8603b623425cc97b05e542854ad27 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-2023-53425 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/vpu/mtk_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/099e929e7477f37ca16738fc158d7101c0189ca1 https://git.kernel.org/stable/c/1b3f25d3894a091abc247eadab266a2c9be64389 https://git.kernel.org/stable/c/c1c5826223ae05a48d21f6708c6f34ee9006238c https://git.kernel.org/stable/c/2caeb722f0ea5d2d24af30bb1753a89d449b6aa0 https://git.kernel.org/stable/c/776b34615a29551d69d82a0082e7319d5ea284bd https://git.kernel.org/stable/c/b7bd48f0be84e24d21aa3a8f59a8a9cb8633a1c4 https://git.kernel.org/stable/c/4d299e6e0ac3cf8ab4517dc29c9294bc4bf72398 https://git.kernel.org/stable/c/3df55cd773e8603b623425cc97b05e542854ad27