🔍 CVE-2026-89724

7.8
CVSS Score
HIGH
2026-09-11
2026-10-19 09:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 media: vicodec 드라이버 내 FWHT 인코더에서 경계 외 쓰기(Out-of-bounds write) 취약점이 발견되었습니다. 4개의 컴포넌트를 가진 픽셀 형식이 비압축 경로를 사용할 때 할당된 버퍼보다 더 많은 데이터를 기록하여 커널 힙 메모리를 손상시킬 수 있습니다.

💡 쉬운 설명

동영상 데이터를 처리하는 과정에서 메모리 공간을 실제 데이터보다 작게 잡아두어, 넘치는 데이터가 주변 메모리를 덮어쓰는 문제입니다. 이로 인해 시스템이 불안정해지거나 해커가 시스템 권한을 탈취할 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: media: vicodec: fix out-of-bounds write in FWHT encoder vidioc_s_fmt_vid_out() sizes the encoder CAPTURE buffer from the compressed descriptor pixfmt_fwht, whose sizeimage_mult is 3: coded_w * coded_h * 3 + sizeof(struct fwht_cframe_hdr). fwht_encode_frame() encodes one plane per component, and an incompressible plane takes the FWHT_FRAME_UNENCODED path in encode_plane(), copying the plane verbatim. For a 4-component pixel format all four planes are full resolution (width_div == height_div == 1), so a frame that forces every plane through the unencoded fallback writes sizeof(struct fwht_cframe_hdr) + 4 * coded_w * coded_h bytes, overrunning the plane by coded_w * coded_h, which can result in corruption of adjacent kernel heap memory. Bump pixfmt_fwht.sizeimage_mult from 3 to 4, matching the largest components_num among the supported raw formats, so the capture buffer is always large enough for the unencoded fallback.

📍 영향받는 시스템

Linux kernel (media: vicodec driver 포함 버전)

⚔️ 공격 벡터

특수하게 조작된 4-컴포넌트 픽셀 형식을 사용하는 비디오 프레임을 인코더로 전달하여 발생

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 pixfmt_fwht.sizeimage_mult 값을 4로 수정

🔧 검증 코드

현재 실행 중인 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 확인

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Linux Kernel