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 8856D4A2051 for ; Thu, 24 Sep 2026 15:41:33 +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=1790264495; cv=none; b=LWM2l+IsZxu6swnOXvbLzW/tHs8KV87fdJqi5uf2goTevI4hgPmggaVnzugujYUVsQkgjpW0OOPnouFUnSulu5J4NxGFuR1chFjLg70haON7x+7kONxIOJFpsYY+/Cu2Z0FEM95ajQdCkWa5i0aY9uGfeGyEF8P32Xb7sd/ODkA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790264495; c=relaxed/simple; bh=6fNg/5l+8A50BKxN6xANhz9Zo6M4XyeoGE7AQFfSaNw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=jdU94iKFaOfyT/7aRgWilTy0ffkpxgt3A3SLGruq+4/U5lItmlE0RdavE/6Oz0MvP9uCjD8XYhd+BHt8C9OkczdnUXCTbkOa+hoHMGDdWluYlXMdH8rN+VRHe4ShOZvAAqw/qeD/PJnX0OOyqKToVa6IYe+P8HUPFlPIW2BuQcc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ZOPudgKK; 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="ZOPudgKK" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 04CCF1F00893; Thu, 24 Sep 2026 15:41:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790264492; bh=iTjch7fMW/Llo3/rg7eMaAhhien17tCdP/EdpoTIEh8=; h=From:To:Cc:Subject:Date:Reply-To; b=ZOPudgKKRhwTHf1rxXfwJJ7TtuZy7rWzn+ccUfkD0pvkR3PRbLouE/HC+QtutEePo iXX5ZoAQl0+1V/nGThY7xlCYFaj+pw1lz6i5fnpnODThreL64CaKKmgp0tqULvZeEZ qSnZXvOzrJum5EWxXU7+jGjccBZ6IhWtKxMd/oh4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-93236: media: meson: vdec: fix NULL pointer deref in vdec_try_fmt_common Date: Thu, 24 Sep 2026 17:32:58 +0200 Message-ID: <2026092454-CVE-2026-93236-8f1e@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=3763; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=R5sbnp36mBfgFdOh3bDwFaxqH8WyRaynbPi6mx746Vw=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlbnZb3zDwZnfA+az3DpErLsskXHMQ+vTiTWbRI6YzSy gvxG55e64hlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJlLcwLLiive1v8D+m6ZkR ZZuTxULcH+cz72aYH75z/jvpU2phf5OT6x1q49Oj5NZIAQA= 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: meson: vdec: fix NULL pointer deref in vdec_try_fmt_common When VIDIOC_TRY_FMT is called with an unsupported pixel format on the OUTPUT queue, vdec_try_fmt_common() falls back to V4L2_PIX_FMT_MPEG2. However, if a distro has locally patched MPEG2 support out (as it has been broken for some time) the platform format table does not contain MPEG2 so find_format() returns NULL and the subsequent dereference of fmt_out->max_width triggers a NULL pointer dereference. Fix this by falling back to the first format in the platform's format array instead of hardcoding V4L2_PIX_FMT_MPEG2. This is always valid since every platform defines at least one format. The Linux kernel CVE team has assigned CVE-2026-93236 to this issue. Affected and fixed versions =========================== Issue introduced in 5.3 with commit 3e7f51bd96077acad6acd7b45668f65b44233c4e and fixed in 5.10.270 with commit 276f28672bb6d5d5feca78db4219c7b5adf1be26 Issue introduced in 5.3 with commit 3e7f51bd96077acad6acd7b45668f65b44233c4e and fixed in 5.15.221 with commit c620906fb1b2ad75d408ea9d06040d66952d4a31 Issue introduced in 5.3 with commit 3e7f51bd96077acad6acd7b45668f65b44233c4e and fixed in 6.1.188 with commit 3839b6be2279fc4f558723f2c0fbfc9c42070958 Issue introduced in 5.3 with commit 3e7f51bd96077acad6acd7b45668f65b44233c4e and fixed in 6.6.157 with commit 680a89683197cdfe4e03e6fd7755454c647d39c1 Issue introduced in 5.3 with commit 3e7f51bd96077acad6acd7b45668f65b44233c4e and fixed in 6.12.110 with commit f2375a308640e401c142c5426d52c3d10e016d25 Issue introduced in 5.3 with commit 3e7f51bd96077acad6acd7b45668f65b44233c4e and fixed in 6.18.51 with commit 96dafbae77f50bfe2228bcfedcd8652c5e5f08e8 Issue introduced in 5.3 with commit 3e7f51bd96077acad6acd7b45668f65b44233c4e and fixed in 7.2.5 with commit d61ba609c3226af3c84268ba606ea06ee63e511b Issue introduced in 5.3 with commit 3e7f51bd96077acad6acd7b45668f65b44233c4e and fixed in 7.3-rc1 with commit 20aa934ace6917262ff579a73ec018d06a7bad1c 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-93236 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/meson/vdec/vdec.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/276f28672bb6d5d5feca78db4219c7b5adf1be26 https://git.kernel.org/stable/c/c620906fb1b2ad75d408ea9d06040d66952d4a31 https://git.kernel.org/stable/c/3839b6be2279fc4f558723f2c0fbfc9c42070958 https://git.kernel.org/stable/c/680a89683197cdfe4e03e6fd7755454c647d39c1 https://git.kernel.org/stable/c/f2375a308640e401c142c5426d52c3d10e016d25 https://git.kernel.org/stable/c/96dafbae77f50bfe2228bcfedcd8652c5e5f08e8 https://git.kernel.org/stable/c/d61ba609c3226af3c84268ba606ea06ee63e511b https://git.kernel.org/stable/c/20aa934ace6917262ff579a73ec018d06a7bad1c