# CVE-2026-93236: media: meson: vdec: fix NULL pointer deref in vdec_try_fmt_common

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-09-24T15:33:35.013Z
- Modified: 2026-10-19T10:17:14.663Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 3e7f51bd96077acad6acd7b45668f65b44233c4e before 276f28672bb6d5d5feca78db4219c7b5adf1be26; from 3e7f51bd96077acad6acd7b45668f65b44233c4e before c620906fb1b2ad75d408ea9d06040d66952d4a31; from 3e7f51bd96077acad6acd7b45668f65b44233c4e before 3839b6be2279fc4f558723f2c0fbfc9c42070958; from 3e7f51bd96077acad6acd7b45668f65b44233c4e before 680a89683197cdfe4e03e6fd7755454c647d39c1; from 3e7f51bd96077acad6acd7b45668f65b44233c4e before f2375a308640e401c142c5426d52c3d10e016d25; from 3e7f51bd96077acad6acd7b45668f65b44233c4e before 96dafbae77f50bfe2228bcfedcd8652c5e5f08e8; from 3e7f51bd96077acad6acd7b45668f65b44233c4e before d61ba609c3226af3c84268ba606ea06ee63e511b; from 3e7f51bd96077acad6acd7b45668f65b44233c4e before 20aa934ace6917262ff579a73ec018d06a7bad1c; 5.3 (not affected: before 5.3; from 5.10.270 up to 5.10.*; from 5.15.221 up to 5.15.*; from 6.1.188 up to 6.1.*; from 6.6.157 up to 6.6.*; from 6.12.110 up to 6.12.*; from 6.18.51 up to 6.18.*; from 7.2.5 up to 7.2.*; from 7.3 up to *)

## References

- <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>

## Sources

- CVE List: [CVE-2026-93236](https://www.cve.org/CVERecord?id=CVE-2026-93236), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-93236](https://nvd.nist.gov/vuln/detail/CVE-2026-93236), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-93236 · Whole record: https://cve.day/CVE-2026-93236.json · Rebuilt by cve.day 2026-11-25T22:59:40.789Z
