media: meson: vdec: fix NULL pointer deref in vdec_try_fmt_common (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.21 % · percentile 11 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Received
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.
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
European references
- ENISA EUVD · EUVD-2026-86241
- GCVE · GCVE-0-2026-93236
CERT-FR advisories
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1375 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1289 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1253 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 3e7f51bd96077acad6acd7b45668f65b44233c4e < 276f28672bb6d5d5feca78db4219c7b5adf1be26 ; affected 3e7f51bd96077acad6acd7b45668f65b44233c4e < c620906fb1b2ad75d408ea9d06040d66952d4a31 ; affected 3e7f51bd96077acad6acd7b45668f65b44233c4e < 3839b6be2279fc4f558723f2c0fbfc9c42070958 ; affected 3e7f51bd96077acad6acd7b45668f65b44233c4e < 680a89683197cdfe4e03e6fd7755454c647d39c1 ; affected 3e7f51bd96077acad6acd7b45668f65b44233c4e < f2375a308640e401c142c5426d52c3d10e016d25 ; affected 3e7f51bd96077acad6acd7b45668f65b44233c4e < 96dafbae77f50bfe2228bcfedcd8652c5e5f08e8 |
| Linux · Linux | affected 5.3 ; unaffected 0 < 5.3 ; unaffected 5.10.270 ≤ 5.10.* ; unaffected 5.15.221 ≤ 5.15.* ; unaffected 6.1.188 ≤ 6.1.* ; unaffected 6.6.157 ≤ 6.6.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |