🇰🇷 한글 설명
Linux 커널의 drm/xe/oa 드라이버에서 xe_oa_stream_open_ioctl() 함수 호출 시 특정 조건에서 exec_queue 참조가 해제되지 않는 메모리 누수 취약점이 발견되었습니다. 이로 인해 exec_queue와 관련 파일의 프라이빗 상태가 메모리에 무기한 남아 시스템 자원을 소모할 수 있습니다.
💡 쉬운 설명
특정 작업을 수행할 때 컴퓨터가 사용한 메모리를 제대로 돌려주지 않고 계속 쌓아두는 버그가 있습니다. 이 문제가 반복되면 시스템의 메모리가 부족해져 컴퓨터가 느려지거나 멈출 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/xe/oa: Fix exec_queue leak on width check in stream open
In xe_oa_stream_open_ioctl(), when param.exec_q->width > 1 the
function returns -EOPNOTSUPP directly, skipping the existing
err_exec_q cleanup path. The exec_queue reference obtained by
xe_exec_queue_lookup() is leaked.
The exec queue holds a reference on the xe_file, which is only
dropped during queue teardown. The leaked lookup ref is not on
the file's exec_queue xarray, so file close cannot release it.
This keeps both the exec queue and the file private state pinned
indefinitely.
Jump to err_exec_q instead of returning directly so the reference
is released.
(cherry picked from commit 339fa0be9e4a5d69fa47e91f4a36574224fb478f)
📍 영향받는 시스템
Linux kernel (drm/xe/oa 드라이버를 사용하는 시스템)
⚔️ 공격 벡터
로컬 사용자가 특정 ioctl 호출을 반복하여 메모리 누수를 유도하는 방식
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.