🇰🇷 한글 설명
Linux 커널의 imx-jpeg 미디어 드라이버에서 버퍼 크기 정렬 문제로 인해 메모리 경계 외 참조(Out-of-bounds)가 발생할 수 있는 취약점입니다. 인코더와 디코더의 버퍼 크기를 이미지 해상도에 맞춰 상향 정렬함으로써 메모리 오류를 방지하고 해상도 제한을 해제했습니다.
💡 쉬운 설명
이미지 크기가 맞지 않을 때 컴퓨터 메모리의 잘못된 영역을 건드려 시스템 오류를 일으킬 수 있는 문제입니다. 이를 수정하여 어떤 크기의 이미지라도 안전하게 처리할 수 있도록 개선되었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
media: imx-jpeg: Align upwards buffer size
The hardware can support any image size WxH,
with arbitrary W (image width) and H (image height) dimensions.
Align upwards buffer size for both encoder and decoder.
and leave the picture resolution unchanged.
For decoder, the risk of memory out of bounds can be avoided.
For both encoder and decoder, the driver will lift the limitation of
resolution alignment.
For example, the decoder can support jpeg whose resolution is 227x149
the encoder can support nv12 1080P, won't change it to 1920x1072.
📍 영향받는 시스템
Linux kernel (imx-jpeg driver component)
⚔️ 공격 벡터
특수하게 제작된 해상도를 가진 JPEG 이미지를 처리하도록 유도하여 메모리 경계 외 참조 유발
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인