drm/mediatek: Fix a null pointer crash in mtk_drm_crtc_finish_page_flip
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.
CVE 정보
EPSS
EPSS는 취약점이 악용될 가능성을 예측하는 점수 모델입니다.
EPSS 점수
EPSS 모델은 0과 1(0~100%) 사이의 확률 점수를 생성합니다. 점수가 높을수록 취약점이 악용될 가능성이 높습니다.
날짜
EPSS V0
EPSS V1
EPSS V2 (> 2022-02-04)
EPSS V3 (> 2025-03-07)
EPSS V4 (> 2025-03-17)
2024-04-19
–
–
–
0.04%
–
2024-06-02
–
–
–
0.04%
–
2024-08-11
–
–
–
0.04%
–
2024-11-24
–
–
–
0.04%
–
2025-01-19
–
–
–
0.04%
–
2025-02-23
–
–
–
0.04%
–
2025-02-23
–
–
–
0.04%
–
2025-03-18
–
–
–
–
0.08%
2025-03-30
–
–
–
–
0.08%
2025-04-15
–
–
–
–
0.04%
2025-05-26
–
–
–
–
0.01%
2025-11-18
–
–
–
–
0.08%
2025-11-21
–
–
–
–
0.01%
2025-11-25
–
–
–
–
0.01%
2025-12-01
–
–
–
–
0.01%
2025-12-04
–
–
–
–
0.01%
2025-12-06
–
–
–
–
0.01%
2025-12-07
–
–
–
–
0.01%
2025-12-09
–
–
–
–
0.01%
2025-12-14
–
–
–
–
0.01%
2025-12-16
–
–
–
–
0.01%
2026-01-06
–
–
–
–
0.01%
2026-03-01
–
–
–
–
0.01%
EPSS 백분위수
백분위수는 EPSS 점수에 따라 CVE의 순위를 매기는 데 사용됩니다. 예를 들어 EPSS 점수 기준 95번째 백분위수의 CVE는 다른 CVE의 95%보다 악용될 가능성이 높습니다.