{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2024-38549",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2024-38549",
    "idYear": 2024,
    "status": "PUBLISHED",
    "publishedAt": "2024-06-19T13:35:22.042Z",
    "updatedAt": "2026-05-11T20:18:49.904Z",
    "importedAt": "2026-10-24T01:57:11.582Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "drm/mediatek: Add 0 size check to mtk_drm_gem_obj",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/mediatek: Add 0 size check to mtk_drm_gem_obj\n\nAdd a check to mtk_drm_gem_init if we attempt to allocate a GEM object\nof 0 bytes. Currently, no such check exists and the kernel will panic if\na userspace application attempts to allocate a 0x0 GBM buffer.\n\nTested by attempting to allocate a 0x0 GBM buffer on an MT8188 and\nverifying that we now return EINVAL.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "119f5173628aa7a0c3cf9db83460d40709e8241d",
              "status": "affected",
              "versionType": "git",
              "lessThan": "79078880795478d551a05acc41f957700030d364"
            },
            {
              "version": "119f5173628aa7a0c3cf9db83460d40709e8241d",
              "status": "affected",
              "versionType": "git",
              "lessThan": "be34a1b351ea7faeb15dde8c44fe89de3980ae67"
            },
            {
              "version": "119f5173628aa7a0c3cf9db83460d40709e8241d",
              "status": "affected",
              "versionType": "git",
              "lessThan": "d17b75ee9c2e44d3a3682c4ea5ab713ea6073350"
            },
            {
              "version": "119f5173628aa7a0c3cf9db83460d40709e8241d",
              "status": "affected",
              "versionType": "git",
              "lessThan": "0e3b6f9123726858cac299e1654e3d20424cabe4"
            },
            {
              "version": "119f5173628aa7a0c3cf9db83460d40709e8241d",
              "status": "affected",
              "versionType": "git",
              "lessThan": "13562c2d48c9ee330de1077d00146742be368f05"
            },
            {
              "version": "119f5173628aa7a0c3cf9db83460d40709e8241d",
              "status": "affected",
              "versionType": "git",
              "lessThan": "af26ea99019caee1500bf7e60c861136c0bf8594"
            },
            {
              "version": "119f5173628aa7a0c3cf9db83460d40709e8241d",
              "status": "affected",
              "versionType": "git",
              "lessThan": "9489951e3ae505534c4013db4e76b1b5a3151ac7"
            },
            {
              "version": "119f5173628aa7a0c3cf9db83460d40709e8241d",
              "status": "affected",
              "versionType": "git",
              "lessThan": "fb4aabdb1b48c25d9e1ee28f89440fd2ce556405"
            },
            {
              "version": "119f5173628aa7a0c3cf9db83460d40709e8241d",
              "status": "affected",
              "versionType": "git",
              "lessThan": "1e4350095e8ab2577ee05f8c3b044e661b5af9a0"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "4.7",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "4.7"
            },
            {
              "version": "4.19.316",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.19.*"
            },
            {
              "version": "5.4.278",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.219",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.161",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.93",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.33",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.8.12",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.8.*"
            },
            {
              "version": "6.9.3",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.9.*"
            },
            {
              "version": "6.10",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}