{
  "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-26874",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2024-26874",
    "idYear": 2024,
    "status": "PUBLISHED",
    "publishedAt": "2024-04-17T10:27:33.278Z",
    "updatedAt": "2026-05-11T20:05:48.588Z",
    "importedAt": "2026-10-24T01:57:07.518Z",
    "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: Fix a null pointer crash in mtk_drm_crtc_finish_page_flip",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/mediatek: Fix a null pointer crash in mtk_drm_crtc_finish_page_flip\n\nIt's possible that mtk_crtc->event is NULL in\nmtk_drm_crtc_finish_page_flip().\n\npending_needs_vblank value is set by mtk_crtc->event, but in\nmtk_drm_crtc_atomic_flush(), it's is not guarded by the same\nlock in mtk_drm_finish_page_flip(), thus a race condition happens.\n\nConsider the following case:\n\nCPU1                              CPU2\nstep 1:\nmtk_drm_crtc_atomic_begin()\nmtk_crtc->event is not null,\n                                  step 1:\n                                  mtk_drm_crtc_atomic_flush:\n                                  mtk_drm_crtc_update_config(\n                                      !!mtk_crtc->event)\nstep 2:\nmtk_crtc_ddp_irq ->\nmtk_drm_finish_page_flip:\nlock\nmtk_crtc->event set to null,\npending_needs_vblank set to false\nunlock\n                                  pending_needs_vblank set to true,\n\n                                  step 2:\n                                  mtk_crtc_ddp_irq ->\n                                  mtk_drm_finish_page_flip called again,\n                                  pending_needs_vblank is still true\n                                  //null pointer\n\nInstead of guarding the entire mtk_drm_crtc_atomic_flush(), it's more\nefficient to just check if mtk_crtc->event is null before use.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "119f5173628aa7a0c3cf9db83460d40709e8241d",
              "status": "affected",
              "versionType": "git",
              "lessThan": "accdac6b71d5a2b84040c3d2234f53a60edc398e"
            },
            {
              "version": "119f5173628aa7a0c3cf9db83460d40709e8241d",
              "status": "affected",
              "versionType": "git",
              "lessThan": "dfde84cc6c589f2a9f820f12426d97365670b731"
            },
            {
              "version": "119f5173628aa7a0c3cf9db83460d40709e8241d",
              "status": "affected",
              "versionType": "git",
              "lessThan": "4688be96d20ffa49d2186523ee84f475f316fd49"
            },
            {
              "version": "119f5173628aa7a0c3cf9db83460d40709e8241d",
              "status": "affected",
              "versionType": "git",
              "lessThan": "9beec711a17245b853d64488fd5b739031612340"
            },
            {
              "version": "119f5173628aa7a0c3cf9db83460d40709e8241d",
              "status": "affected",
              "versionType": "git",
              "lessThan": "d2bd30c710475b2e29288827d2c91f9e6e2b91d7"
            },
            {
              "version": "119f5173628aa7a0c3cf9db83460d40709e8241d",
              "status": "affected",
              "versionType": "git",
              "lessThan": "a3dd12b64ae8373a41a216a0b621df224210860a"
            },
            {
              "version": "119f5173628aa7a0c3cf9db83460d40709e8241d",
              "status": "affected",
              "versionType": "git",
              "lessThan": "9acee29a38b4d4b70f1f583e5ef9a245db4db710"
            },
            {
              "version": "119f5173628aa7a0c3cf9db83460d40709e8241d",
              "status": "affected",
              "versionType": "git",
              "lessThan": "3fc88b246a2fc16014e374040fc15af1d3752535"
            },
            {
              "version": "119f5173628aa7a0c3cf9db83460d40709e8241d",
              "status": "affected",
              "versionType": "git",
              "lessThan": "c958e86e9cc1b48cac004a6e245154dfba8e163b"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "4.7",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "4.7"
            },
            {
              "version": "4.19.311",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.19.*"
            },
            {
              "version": "5.4.273",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.214",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.153",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.83",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.23",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.7.11",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.7.*"
            },
            {
              "version": "6.8.2",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.8.*"
            },
            {
              "version": "6.9",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}