CVE-2024-26874: Linux kernel · drm/mediatek: Fix a null pointer crash in mtk_drm_crtc_finish_page_flip
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 4.7 Medium · fixed in 5.4.0-1128.138~18.04.1 : update Linux kernel when convenient.
Data as of 6 Nov 2026, 15:33 UTC
- Patch
- Available – fixed in 5.4.0-1128.138~18.04.1, 5.4.0-1133.140~18.04.1, 5.4.0-1132.141~18.04.1 +65
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 17 Apr 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 6 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
- ubuntu.com/security/notices/USN-6816-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6817-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6820-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6821-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6821-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6817-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6828-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6820-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6821-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-6817-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-6821-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-6871-1 (opens in a new tab)
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gkepkg:deb/ubuntu/linux-gke?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-ibmpkg:deb/ubuntu/linux-ibm?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and has been released in multiple Linux kernel versions including 5.4.0-1128.138~18.04.1 and 5.15.0-1063.69~20.04.1. Users and administrators should update to these fixed kernel versions or later to remediate the vulnerability. No additional mitigation actions are required beyond applying the official kernel updates.
Description
CVE-2024-26874 is a vulnerability in the Linux kernel's MediaTek DRM driver where a null pointer dereference can occur due to a race condition involving the mtk_crtc->event pointer. This race condition arises because the pending_needs_vblank flag is set based on mtk_crtc->event without proper locking, potentially leading to a null pointer crash. The issue affects certain Linux kernel versions prior to fixed releases in the 5.4.x and 5.15.x series. The vulnerability can cause a denial of service by crashing the kernel.
References
- ubuntu.com/security/CVE-2024-26874 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-26874 (opens in a new tab)
- git.kernel.org/linus/c958e86e9cc1b48cac004a6e245154dfba8e163b (opens in a new tab)
- git.kernel.org/stable/c/accdac6b71d5a2b84040c3d2234f53a60edc398e (opens in a new tab)
- git.kernel.org/stable/c/dfde84cc6c589f2a9f820f12426d97365670b731 (opens in a new tab)
- git.kernel.org/stable/c/4688be96d20ffa49d2186523ee84f475f316fd49 (opens in a new tab)
- git.kernel.org/stable/c/9beec711a17245b853d64488fd5b739031612340 (opens in a new tab)
- git.kernel.org/stable/c/d2bd30c710475b2e29288827d2c91f9e6e2b91d7 (opens in a new tab)
- git.kernel.org/stable/c/a3dd12b64ae8373a41a216a0b621df224210860a (opens in a new tab)
- git.kernel.org/stable/c/9acee29a38b4d4b70f1f583e5ef9a245db4db710 (opens in a new tab)
- git.kernel.org/stable/c/3fc88b246a2fc16014e374040fc15af1d3752535 (opens in a new tab)
- git.kernel.org/stable/c/c958e86e9cc1b48cac004a6e245154dfba8e163b (opens in a new tab)
- ubuntu.com/security/notices/USN-6816-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6817-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6820-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6821-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6821-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6817-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6828-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6820-2 (opens in a new tab)