🔍 CVE-2022-49137

5.5
CVSS Score
MEDIUM
2025-02-26
2026-08-13 00:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 amdgpu 드라이버 내 amdgpu_cs_fence_to_handle_ioctl 함수에서 오류 발생 시 dma_fence 객체의 참조 횟수(refcount)를 감소시키지 않는 문제가 발견되었습니다. 이로 인해 참조 횟수 누수가 발생할 수 있으며, 이는 시스템 자원 고갈로 이어질 수 있습니다.

💡 쉬운 설명

그래픽 카드 드라이버가 작업을 처리하다가 오류가 나면 사용하던 메모리 관리 번호를 제대로 돌려주지 않는 버그입니다. 이 문제가 반복되면 컴퓨터의 메모리 자원이 계속 낭비되어 시스템 성능이 떨어질 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: drm/amd/amdgpu/amdgpu_cs: fix refcount leak of a dma_fence obj This issue takes place in an error path in amdgpu_cs_fence_to_handle_ioctl(). When `info->in.what` falls into default case, the function simply returns -EINVAL, forgetting to decrement the reference count of a dma_fence obj, which is bumped earlier by amdgpu_cs_get_fence(). This may result in reference count leaks. Fix it by decreasing the refcount of specific object before returning the error code.

📍 영향받는 시스템

Linux kernel (amdgpu driver 포함 버전)

⚔️ 공격 벡터

로컬 공격자가 특정 ioctl 호출을 통해 오류 경로를 유도하여 자원 누수를 유발할 수 있음

🛡️ 대응 방법

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:N/A:H

💻 영향받는 소프트웨어

Linux Kernel