🇰🇷 한글 설명
리눅스 커널의 drm/fb-helper 구성 요소에서 화면 버퍼 크기를 초과하여 메모리에 접근하는 경계 외 접근(Out-of-bounds access) 취약점이 발견되었습니다. fbdev의 지연 I/O 손상 처리 과정에서 페이지 단위 계산 오류로 인해 존재하지 않는 스캔라인을 추적하게 되어 발생합니다.
💡 쉬운 설명
화면을 업데이트할 때 실제 화면 크기보다 더 넓은 메모리 영역을 건드리는 오류가 있습니다. 이로 인해 시스템이 불안정해지거나 잘못된 메모리 영역에 접근할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/fb-helper: Fix out-of-bounds access
Clip memory range to screen-buffer size to avoid out-of-bounds access
in fbdev deferred I/O's damage handling.
Fbdev's deferred I/O can only track pages. From the range of pages, the
damage handler computes the clipping rectangle for the display update.
If the fbdev screen buffer ends near the beginning of a page, that page
could contain more scanlines. The damage handler would then track these
non-existing scanlines as dirty and provoke an out-of-bounds access
during the screen update. Hence, clip the maximum memory range to the
size of the screen buffer.
While at it, rename the variables min/max to min_off/max_off in
drm_fb_helper_deferred_io(). This avoids confusion with the macros of
the same name.
📍 영향받는 시스템
Linux Kernel (drm/fb-helper 관련 모듈 사용 시스템)
⚔️ 공격 벡터
로컬 공격자가 특정 디스플레이 드라이버 환경에서 조작된 화면 업데이트 요청을 통해 발생 가능
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.