Skip to content
Heist/ feed
Back to feed
UnratedFix available

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

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.270, 5.15.221, 6.1.188, 6.12.110, 6.18.51, 6.6.157, 7.2.5
CVEs
CVE-2026-93236
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 08:35 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 24 Sept 2026, 15:33 UTC

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.

osv:CVE-2026-93236

Kernel

Fixed versions: 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.110, 6.18.51, 7.2.5

Complete source record
{
  "id": "effcea8258b099fd484eb99625c60621a6185662371c14887ea192b204155ab8",
  "url": "https://osv.dev/vulnerability/CVE-2026-93236",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "media: meson: vdec: fix NULL pointer deref in vdec_try_fmt_common",
    "summary": "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.",
    "evidence": "osv:CVE-2026-93236",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.270",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.221",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.188",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.157",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.110",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.51",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.2.5",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-93236",
      "aliases": [
        "CVE-2026-93236"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "3e7f51bd96077acad6acd7b45668f65b44233c4e"
                },
                {
                  "fixed": "276f28672bb6d5d5feca78db4219c7b5adf1be26"
                },
                {
                  "fixed": "c620906fb1b2ad75d408ea9d06040d66952d4a31"
                },
                {
                  "fixed": "3839b6be2279fc4f558723f2c0fbfc9c42070958"
                },
                {
                  "fixed": "680a89683197cdfe4e03e6fd7755454c647d39c1"
                },
                {
                  "fixed": "f2375a308640e401c142c5426d52c3d10e016d25"
                },
                {
                  "fixed": "96dafbae77f50bfe2228bcfedcd8652c5e5f08e8"
                },
                {
                  "fixed": "d61ba609c3226af3c84268ba606ea06ee63e511b"
                },
                {
                  "fixed": "20aa934ace6917262ff579a73ec018d06a7bad1c"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93236.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.3.0"
                },
                {
                  "fixed": "5.10.270"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.221"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.188"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.157"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.110"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.51"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.2.5"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93236.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:33.900008099Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/20aa934ace6917262ff579a73ec018d06a7bad1c",
        "https://git.kernel.org/stable/c/276f28672bb6d5d5feca78db4219c7b5adf1be26",
        "https://git.kernel.org/stable/c/3839b6be2279fc4f558723f2c0fbfc9c42070958",
        "https://git.kernel.org/stable/c/680a89683197cdfe4e03e6fd7755454c647d39c1",
        "https://git.kernel.org/stable/c/96dafbae77f50bfe2228bcfedcd8652c5e5f08e8",
        "https://git.kernel.org/stable/c/c620906fb1b2ad75d408ea9d06040d66952d4a31",
        "https://git.kernel.org/stable/c/d61ba609c3226af3c84268ba606ea06ee63e511b",
        "https://git.kernel.org/stable/c/f2375a308640e401c142c5426d52c3d10e016d25",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93236.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-93236",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93236.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-93236",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 501158,
  "published_at": "2026-09-24T15:33:35.013+00:00"
}