🇰🇷 한글 설명
Linux 커널의 drm/xe/configfs 구성 요소에서 메모리 누수 취약점이 발견되었습니다. ctx_restore_mid_bb 메모리가 할당된 후 장치 제거 시 적절히 해제되지 않아 발생하는 문제입니다.
💡 쉬운 설명
컴퓨터가 작업을 마친 뒤 사용했던 메모리를 제대로 돌려주지 않고 계속 붙잡고 있는 현상입니다. 이 문제가 반복되면 시스템의 메모리가 부족해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/xe/configfs: Free ctx_restore_mid_bb in release
ctx_restore_mid_bb memory is allocated in wa_bb_store(), but
xe_config_device_release() only frees ctx_restore_post_bb.
Free ctx_restore_mid_bb[0].cs as well to avoid leaking the allocation
when the configfs device is removed.
(cherry picked from commit a235e7d0098337c3f2d1e8f3610c719a589e115f)
📍 영향받는 시스템
Linux kernel (drm/xe/configfs 모듈을 사용하는 시스템)
⚔️ 공격 벡터
로컬 공격자가 configfs 장치를 반복적으로 생성하고 제거하여 메모리 고갈 유도
🛡️ 대응 방법
커널 패치(commit a235e7d0098337c3f2d1e8f3610c719a589e115f)를 적용하여 최신 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인