🔍 CVE-2025-71296

5.5
CVSS Score
MEDIUM
2026-05-08
2026-11-05 22:17
✅ 완료

🇰🇷 한글 설명

Linux 커널 DRM shmem 헬퍼의 purge 작업에서 GEM 객체 예약 잠금이 적절히 관리되지 않아 커널 경고가 발생하는 취약점입니다. Kunit 테스트가 드라이버 코드를 호출할 때 동시성 문제가 발생하여 메모리 일관성이 보장되지 않을 수 있습니다.

💡 쉬운 설명

그래픽 메모리 관리 코드에서 동시 접근 제어가 누락되어 메모리 손상이나 커널 경고가 발생할 수 있습니다. 여러 작업이 동시에 GPU 메모리를 정리할 때 충돌이 일어납니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: drm/tests: shmem: Hold reservation lock around purge Acquire and release the GEM object's reservation lock around calls to the object's purge operation. The tests use drm_gem_shmem_purge_locked(), which led to errors such as show below. [ 58.709128] WARNING: CPU: 1 PID: 1354 at drivers/gpu/drm/drm_gem_shmem_helper.c:515 drm_gem_shmem_purge_locked+0x51c/0x740 Only export the new helper drm_gem_shmem_purge() for Kunit tests. This is not an interface for regular drivers.

📍 영향받는 시스템

Linux 커널 (GPU 드라이버 및 DRM shmem 기능이 활성화된 시스템)

⚔️ 공격 벡터

로컬 사용자가 GPU 메모리 정리 작업을 반복 실행하여 커널 경고 또는 DoS 유발 가능

🛡️ 대응 방법

Linux 커널을 CVE-2025-71296 패치가 포함된 버전으로 업그레이드

🔧 검증 코드

dmesg 로그에 drm_gem_shmem_purge_locked 경고가 있으면 취약한 커널, 없으면 패치됨을 의미합니다.

Shell / Script
dmesg | grep -i 'drm_gem_shmem_purge_locked' && echo 'Vulnerable' || echo 'Patched or not triggered'

📊 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