🇰🇷 한글 설명
Linux 커널의 FUSE 구성 요소에서 abort_on_kill 경로가 FR_FINISHED 상태를 기다리지 않고 반환되어 발생하는 Use-After-Free 취약점입니다. fuse_dev_do_write()가 동일한 요청을 처리하는 동안 요청 인자가 해제되어 메모리 오류를 유발할 수 있습니다.
💡 쉬운 설명
컴퓨터의 파일 시스템을 관리하는 프로그램이 작업이 끝나기도 전에 메모리를 미리 지워버리는 오류입니다. 이로 인해 시스템이 충돌하거나 보안 문제가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
fuse: wait for FR_FINISHED on abort_on_kill to prevent use-after-free
The abort_on_kill path in request_wait_answer() calls fuse_abort_conn()
and returns without waiting for FR_FINISHED. If fuse_dev_do_write() is
concurrently processing the same request (FR_LOCKED set), the caller
frees req->args while it is still being accessed, causing a
use-after-free.
Fix this by jumping to the existing wait_event(FR_FINISHED) instead of
returning early. The wait will not hang because fuse_abort_conn()
ensures all requests are ended.
📍 영향받는 시스템
Linux kernel (FUSE module 사용 시스템)
⚔️ 공격 벡터
특수하게 조작된 FUSE 요청을 통해 커널 메모리 해제 시점과 접근 시점의 불일치를 유도
🛡️ 대응 방법
FUSE 관련 패치가 적용된 최신 Linux 커널 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인