🔍 CVE-2022-49163

7.1
CVSS Score
HIGH
2025-02-26
2026-08-04 10:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 imx-jpeg 미디어 드라이버에서 JPEG 파싱 오류 발생 시 배열 범위를 벗어난 메모리에 접근하는 취약점이 발견되었습니다. 잘못된 슬롯 번호로 인해 구조체 데이터가 손상되면 모듈 제거 시 PM 도메인이 분리되지 않아, 이후 모듈 재삽입 시 커널 패닉이 발생할 수 있습니다.

💡 쉬운 설명

이미지 파일을 처리하는 과정에서 프로그램이 허용된 메모리 범위를 넘어서는 잘못된 위치를 건드리는 문제입니다. 이로 인해 시스템이 멈추거나 재시작 시 오류가 발생하여 컴퓨터가 정상적으로 작동하지 않을 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: media: imx-jpeg: fix a bug of accessing array out of bounds When error occurs in parsing jpeg, the slot isn't acquired yet, it may be the default value MXC_MAX_SLOTS. If the driver access the slot using the incorrect slot number, it will access array out of bounds. The result is the driver will change num_domains, which follows slot_data in struct mxc_jpeg_dev. Then the driver won't detach the pm domain at rmmod, which will lead to kernel panic when trying to insmod again.

📍 영향받는 시스템

imx-jpeg 드라이버를 사용하는 Linux 커널 기반 시스템

⚔️ 공격 벡터

조작된 JPEG 파일을 통해 드라이버의 파싱 로직을 유도하여 메모리 오류 발생

🛡️ 대응 방법

imx-jpeg 드라이버의 배열 범위 검사 로직이 수정된 최신 Linux 커널로 업데이트

🔧 검증 코드

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

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel