🇰🇷 한글 설명
Linux 커널의 netfs 구성 요소에서 요청 처리 중 참조 횟수(reference count)를 중복으로 감소시키는 취약점이 발견되었습니다. 요청이 일시 중지 루프 중에 종료될 경우, 상태 플래그를 잘못 판단하여 이미 정리된 자원을 다시 해제하려고 시도함으로써 시스템 불안정성을 초래할 수 있습니다.
💡 쉬운 설명
컴퓨터가 데이터를 처리하는 과정에서 이미 사용이 끝난 메모리 자원을 실수로 두 번 삭제하려고 시도하는 오류입니다. 이로 인해 시스템이 갑자기 멈추거나 예상치 못한 오류가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
netfs: Fix double put of request
If a netfs request finishes during the pause loop, it will have the ref
that belongs to the IN_PROGRESS flag removed at that point - however, if it
then goes to the final wait loop, that will *also* put the ref because it
sees that the IN_PROGRESS flag is clear and incorrectly assumes that this
happened when it called the collector.
In fact, since IN_PROGRESS is clear, we shouldn't call the collector again
since it's done all the cleanup, such as calling ->ki_complete().
Fix this by making netfs_collect_in_app() just return, indicating that
we're done if IN_PROGRESS is removed.
📍 영향받는 시스템
Linux Kernel (netfs 구성 요소가 포함된 버전)
⚔️ 공격 벡터
특정 네트워크 파일 시스템 요청을 유도하여 커널의 참조 횟수 오류를 일으키는 방식
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.