CVE-2024-26874: drm/mediatek: Fix a null pointer crash in mtk_drm_crtc_finish_page_flip
Noroxi assessment
Priority: Monitor (action score 18/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.23% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. Special conditions such as timing or configuration are required.
- Fixed version: Linux Linux 3fc88b246a2fc16014e374040fc15af1d3752535, 4688be96d20ffa49d2186523ee84f475f316fd49, 9acee29a38b4d4b70f1f583e5ef9a245db4db710.
Low priority for now. Upgrade to Linux Linux 3fc88b246a2fc16014e374040fc15af1d3752535, 4688be96d20ffa49d2186523ee84f475f316fd49, 9acee29a38b4d4b70f1f583e5ef9a245db4db710 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
In the Linux kernel, the following vulnerability has been resolved: drm/mediatek: Fix a null pointer crash in mtk_drm_crtc_finish_page_flip It's possible that mtk_crtc->event is NULL in mtk_drm_crtc_finish_page_flip(). pending_needs_vblank value is set by mtk_crtc->event, but in mtk_drm_crtc_atomic_flush(), it's is not guarded by the same lock in mtk_drm_finish_page_flip(), thus a race condition happens. Consider the following case: CPU1 CPU2 step 1: mtk_drm_crtc_atomic_begin() mtk_crtc->event is not null, step 1: mtk_drm_crtc_atomic_flush: mtk_drm_crtc_update_config( !!mtk_crtc->event) step 2: mtk_crtc_ddp_irq -> mtk_drm_finish_page_flip: lock mtk_crtc->event set to null, pending_needs_vblank set to false unlock pending_needs_vblank set to true, step 2: mtk_crtc_ddp_irq -> mtk_drm_finish_page_flip called again, pending_needs_vblank is still true //null pointer Instead of guarding the entire mtk_drm_crtc_atomic_flush(), it's more efficient to just check if mtk_crtc->event is null before use.
- Published
- Apr 17, 2024
- Updated
- Jun 17, 2026
- EPSS
- 0.2% · 14th percentile
- CWE
- CWE-476
Report tools
Action score
18
Low priority for now.
- CVSS
- 18 / 40 · 4.7 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.2%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 4.7affected
- 119f5173628aa7a0c3cf9db83460d40709e8241d and later · before accdac6b71d5a2b84040c3d2234f53a60edc398eaffected · git
- 119f5173628aa7a0c3cf9db83460d40709e8241d and later · before dfde84cc6c589f2a9f820f12426d97365670b731affected · git
- 119f5173628aa7a0c3cf9db83460d40709e8241d and later · before 4688be96d20ffa49d2186523ee84f475f316fd49affected · git
- 119f5173628aa7a0c3cf9db83460d40709e8241d and later · before 9beec711a17245b853d64488fd5b739031612340affected · git
- 119f5173628aa7a0c3cf9db83460d40709e8241d and later · before d2bd30c710475b2e29288827d2c91f9e6e2b91d7affected · git
- 119f5173628aa7a0c3cf9db83460d40709e8241d and later · before a3dd12b64ae8373a41a216a0b621df224210860aaffected · git
- 119f5173628aa7a0c3cf9db83460d40709e8241d and later · before 9acee29a38b4d4b70f1f583e5ef9a245db4db710affected · git
- 119f5173628aa7a0c3cf9db83460d40709e8241d and later · before 3fc88b246a2fc16014e374040fc15af1d3752535affected · git
- 119f5173628aa7a0c3cf9db83460d40709e8241d and later · before c958e86e9cc1b48cac004a6e245154dfba8e163baffected · git
Affected versions · NVD (9)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux10.0
- linux linux kernel4.20 and later · before 5.4.273
- linux linux kernel5.5 and later · before 5.10.214
- linux linux kernel5.11 and later · before 5.15.153
- linux linux kernel4.7 and later · before 4.19.311
- linux linux kernel6.2 and later · before 6.6.23
- linux linux kernel6.7 and later · before 6.7.11
- linux linux kernel6.8 and later · before 6.8.2
- linux linux kernel5.16 and later · before 6.1.83
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 6.1.85-1 | 6.1.85-1 |
| Debian:13 | linux | before 6.7.12-1 | 6.7.12-1 |
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2024-26868Apr 17, 2024 · nfs: fix panic when nfs4_ff_layout_prepare_ds() fails22Monitor
- ← EarlierCVE-2024-26871Apr 17, 2024 · f2fs: fix NULL pointer dereference in f2fs_submit_page_write()22Monitor
- Later →CVE-2024-26879Apr 17, 2024 · clk: meson: Add missing clocks to axg_clk_regmaps22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 3fc88b246a2fc16014e374040fc15af1d3752535 | Vendor (CNA) |
| Linux Linux | 4688be96d20ffa49d2186523ee84f475f316fd49 | Vendor (CNA) |
| Linux Linux | 9acee29a38b4d4b70f1f583e5ef9a245db4db710 | Vendor (CNA) |
| Linux Linux | 9beec711a17245b853d64488fd5b739031612340 | Vendor (CNA) |
| Linux Linux | a3dd12b64ae8373a41a216a0b621df224210860a | Vendor (CNA) |
| Linux Linux | accdac6b71d5a2b84040c3d2234f53a60edc398e | Vendor (CNA) |
| Linux Linux | c958e86e9cc1b48cac004a6e245154dfba8e163b | Vendor (CNA) |
| Linux Linux | d2bd30c710475b2e29288827d2c91f9e6e2b91d7 | Vendor (CNA) |
| Linux Linux | dfde84cc6c589f2a9f820f12426d97365670b731 | Vendor (CNA) |
| debian:linux | 6.1.85-1 · Debian:12 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- High
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-476 · NULL Pointer DereferenceCVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (10 more)Show less
- git.kernel.org/stable/c/4688be96d20ffa49d2186523ee84f475f316fd49
- git.kernel.org/stable/c/9acee29a38b4d4b70f1f583e5ef9a245db4db710
- git.kernel.org/stable/c/9beec711a17245b853d64488fd5b739031612340
- git.kernel.org/stable/c/a3dd12b64ae8373a41a216a0b621df224210860a
- git.kernel.org/stable/c/accdac6b71d5a2b84040c3d2234f53a60edc398e
- git.kernel.org/stable/c/c958e86e9cc1b48cac004a6e245154dfba8e163b
- git.kernel.org/stable/c/d2bd30c710475b2e29288827d2c91f9e6e2b91d7
- git.kernel.org/stable/c/dfde84cc6c589f2a9f820f12426d97365670b731
- lists.debian.org/debian-lts-announce/2024/06/msg00017.html
- lists.debian.org/debian-lts-announce/2024/06/msg00020.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.