🇰🇷 한글 설명
Linux 커널의 FUSE 파일 시스템에서 요청 재전송 및 제거 과정 중 인터럽트 엔트리가 제대로 정리되지 않아 발생하는 취약점입니다. 이로 인해 메모리 해제 후 사용(Use-After-Free) 오류가 발생하여 시스템 충돌이나 사용자 공간으로의 데이터 유출이 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터가 이미 사용이 끝난 메모리 주소를 실수로 다시 참조하면서 발생하는 오류입니다. 이 오류를 이용하면 해커가 시스템을 멈추게 하거나 중요한 정보를 몰래 빼낼 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
fuse: clear intr_entry in fuse_resend and fuse_remove_pending_req
When fuse_resend() moves a request from fpq->processing back to
fiq->pending, it sets FR_PENDING and clears FR_SENT but does not
remove the requests intr_entry from fiq->interrupts. If the
request had FR_INTERRUPTED set from a prior signal, intr_entry
remains dangling on fiq->interrupts. When the requesting task
then receives a fatal signal, fuse_remove_pending_req() sees
FR_PENDING=1, removes the request from fiq->pending and frees it
via the refcount path, also without cleaning intr_entry. The
stale intr_entry causes use-after-free when fuse_read_interrupt()
iterates fiq->interrupts:
- list_del_init(&req->intr_entry) -> UAF write on freed slab
- req->in.h.unique -> UAF read, data leaked to userspace
Remove intr_entry from fiq->interrupts in fuse_resend() for
interrupted requests before they are placed back on fiq->pending.
Add a WARN_ON if the intr_entry is not empty on request destruction.
📍 영향받는 시스템
Linux Kernel (FUSE 모듈을 사용하는 모든 시스템)
⚔️ 공격 벡터
특정 신호를 받은 FUSE 요청을 조작하여 메모리 해제 후 재참조를 유도하는 방식
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.