CVE-2026-93236

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

State
Published
Severity
Not scored
Published
Sep 24, 2026
Updated
Oct 19, 2026
Reserved
Sep 17, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 3e7f51bd96077acad6acd7b45668f65b44233c4e to before 276f28672bb6d5d5feca78db4219c7b5adf1be26Affected
  • 3e7f51bd96077acad6acd7b45668f65b44233c4e to before c620906fb1b2ad75d408ea9d06040d66952d4a31Affected
  • 3e7f51bd96077acad6acd7b45668f65b44233c4e to before 3839b6be2279fc4f558723f2c0fbfc9c42070958Affected
  • 3e7f51bd96077acad6acd7b45668f65b44233c4e to before 680a89683197cdfe4e03e6fd7755454c647d39c1Affected
  • 3e7f51bd96077acad6acd7b45668f65b44233c4e to before f2375a308640e401c142c5426d52c3d10e016d25Affected
  • 3e7f51bd96077acad6acd7b45668f65b44233c4e to before 96dafbae77f50bfe2228bcfedcd8652c5e5f08e8Affected
  • 3e7f51bd96077acad6acd7b45668f65b44233c4e to before d61ba609c3226af3c84268ba606ea06ee63e511bAffected
  • 3e7f51bd96077acad6acd7b45668f65b44233c4e to before 20aa934ace6917262ff579a73ec018d06a7bad1cAffected
LinuxLinux
  • 5.3Affected
  • before 5.3Not affected
  • 5.10.270 through 5.10.*Not affected
  • 5.15.221 through 5.15.*Not affected
  • 6.1.188 through 6.1.*Not affected
  • 6.6.157 through 6.6.*Not affected
  • 6.12.110 through 6.12.*Not affected
  • 6.18.51 through 6.18.*Not affected
  • 7.2.5 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.