🔍 CVE-2022-49963

7.8
CVSS Score
HIGH
2025-06-18
2026-10-15 22:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 i915 DRM 드라이버 내 TTM 구성 요소에서 CCS(Copy Command Stream) 처리 오류가 발견되었습니다. 대용량 객체를 처리할 때 정수 오버플로가 발생하거나 페이지 복사 메커니즘이 제대로 작동하지 않아 시스템 버그를 유발할 수 있습니다.

💡 쉬운 설명

그래픽 카드가 큰 데이터를 처리할 때 계산 오류가 발생하여 시스템이 멈추거나 비정상적으로 작동할 수 있는 문제입니다. 특정 크기 이상의 데이터를 다룰 때 컴퓨터의 그래픽 관리 기능에 문제가 생깁니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: drm/i915/ttm: fix CCS handling Crucible + recent Mesa seems to sometimes hit: GEM_BUG_ON(num_ccs_blks > NUM_CCS_BLKS_PER_XFER) And it looks like we can also trigger this with gem_lmem_swapping, if we modify the test to use slightly larger object sizes. Looking closer it looks like we have the following issues in migrate_copy(): - We are using plain integer in various places, which we can easily overflow with a large object. - We pass the entire object size (when the src is lmem) into emit_pte() and then try to copy it, which doesn't work, since we only have a few fixed sized windows in which to map the pages and perform the copy. With an object > 8M we therefore aren't properly copying the pages. And then with an object > 64M we trigger the GEM_BUG_ON(num_ccs_blks > NUM_CCS_BLKS_PER_XFER). So it looks like our copy handling for any object > 8M (which is our CHUNK_SZ) is currently broken on DG2. Testcase: igt@gem_lmem_swapping (cherry picked from commit 8676145eb2f53a9940ff70910caf0125bd8a4bc2)

📍 영향받는 시스템

Linux kernel (i915/ttm driver components, specifically affecting DG2 architecture)

⚔️ 공격 벡터

특정 크기 이상의 그래픽 메모리 객체를 생성하거나 조작하여 커널 내 정수 오버플로 및 GEM_BUG_ON 유발

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전(commit 8676145e 이상 포함 버전)으로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인

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