media: meson: vdec: fix NULL pointer deref in vdec_try_fmt_common

Summary

CVECVE-2026-93236
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-09-24 16:17:19 UTC
Updated2026-09-24 16:17:19 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 3e7f51bd96077acad6acd7b45668f65b44233c4e 276f28672bb6d5d5feca78db4219c7b5adf1be26 git Not specified
CNA Linux Linux affected 3e7f51bd96077acad6acd7b45668f65b44233c4e c620906fb1b2ad75d408ea9d06040d66952d4a31 git Not specified
CNA Linux Linux affected 3e7f51bd96077acad6acd7b45668f65b44233c4e 3839b6be2279fc4f558723f2c0fbfc9c42070958 git Not specified
CNA Linux Linux affected 3e7f51bd96077acad6acd7b45668f65b44233c4e 680a89683197cdfe4e03e6fd7755454c647d39c1 git Not specified
CNA Linux Linux affected 3e7f51bd96077acad6acd7b45668f65b44233c4e f2375a308640e401c142c5426d52c3d10e016d25 git Not specified
CNA Linux Linux affected 3e7f51bd96077acad6acd7b45668f65b44233c4e 96dafbae77f50bfe2228bcfedcd8652c5e5f08e8 git Not specified
CNA Linux Linux affected 3e7f51bd96077acad6acd7b45668f65b44233c4e d61ba609c3226af3c84268ba606ea06ee63e511b git Not specified
CNA Linux Linux affected 3e7f51bd96077acad6acd7b45668f65b44233c4e 20aa934ace6917262ff579a73ec018d06a7bad1c git Not specified
CNA Linux Linux affected 5.3 Not specified
CNA Linux Linux unaffected 5.3 semver Not specified
CNA Linux Linux unaffected 5.10.270 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.221 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.188 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.157 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.110 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.51 6.18.* semver Not specified
CNA Linux Linux unaffected 7.2.5 7.2.* semver Not specified
CNA Linux Linux unaffected 7.3-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/20aa934ace6917262ff579a73ec018d06a7bad1c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/f2375a308640e401c142c5426d52c3d10e016d25 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/3839b6be2279fc4f558723f2c0fbfc9c42070958 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/d61ba609c3226af3c84268ba606ea06ee63e511b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/c620906fb1b2ad75d408ea9d06040d66952d4a31 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/96dafbae77f50bfe2228bcfedcd8652c5e5f08e8 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/276f28672bb6d5d5feca78db4219c7b5adf1be26 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/680a89683197cdfe4e03e6fd7755454c647d39c1 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report