🇰🇷 한글 설명
Linux 커널의 iris 미디어 드라이버에서 iris_release_internal_buffers() 함수 호출 시 발생하는 Use-After-Free 취약점입니다. 특정 커밋의 변경 사항으로 인해 버퍼가 해제된 후에도 해당 메모리에 접근을 시도하는 회귀 결함이 발생했습니다.
💡 쉬운 설명
컴퓨터가 이미 사용이 끝나서 버려진 메모리 공간을 다시 사용하려고 시도할 때 발생하는 오류입니다. 이로 인해 시스템이 멈추거나 해커가 시스템 권한을 탈취할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
media: iris: Fix use-after-free in iris_release_internal_buffers()
The recent change in commit 1dabf00ee206 ("media: iris: gen1: Destroy
internal buffers after FW releases") introduced a regression where
session_release_buf() may free the buffer. The caller,
iris_release_internal_buffers(), continued to access `buffer` after the
call, leading to a potential use-after-free.
Fix this by setting BUF_ATTR_PENDING_RELEASE before calling
session_release_buf(), and reverting the flag if the call fails. This
ensures no dereference occurs after potential freeing.
📍 영향받는 시스템
Linux kernel (media: iris driver 포함 버전)
⚔️ 공격 벡터
특정 미디어 세션 해제 과정을 유도하여 메모리 오류를 일으키는 로컬 공격
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.