🇰🇷 한글 설명
Linux 커널의 drm/sysfb: ofdrm 구성 요소에서 프레임버퍼 크기 계산 시 정수 오버플로가 발생할 수 있는 취약점이 발견되었습니다. linebytes와 height 값이 매우 클 경우 곱셈 결과가 정수 최대값을 초과하여 정의되지 않은 동작을 유발할 수 있습니다.
💡 쉬운 설명
화면을 그리기 위한 크기를 계산하는 과정에서 숫자가 너무 커져 계산 오류가 발생하는 문제입니다. 이 오류로 인해 시스템이 예상치 못한 방식으로 작동하거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/sysfb: ofdrm: Fix integer overflow in fb_size calculation
The framebuffer size calculation `fb_size = linebytes * height` can
overflow when both values are large (e.g., 46341 * 46341 > INT_MAX).
Since linebytes and height are both int types, the multiplication is
performed as int * int, which results in undefined behavior on overflow.
Use check_mul_overflow() to detect and prevent this overflow, consistent
with the approach used in simpledrm.c and corebootdrm.c.
📍 영향받는 시스템
Linux kernel (drm/sysfb: ofdrm 관련 모듈 사용 시스템)
⚔️ 공격 벡터
조작된 디스플레이 설정 값을 통해 정수 오버플로를 유발하는 방식
🛡️ 대응 방법
check_mul_overflow() 함수가 적용된 최신 Linux 커널 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인