🇰🇷 한글 설명
Linux 커널의 fs/resctrl 구성 요소에서 pseudo-locked 그룹의 RMID가 중복 해제되는 취약점이 발견되었습니다. unmount 과정에서 모든 그룹의 RMID를 무조건 해제함에 따라, 이미 해제된 RMID가 rmid_free_lru 리스트에 다시 추가되어 double-free 오류를 유발합니다.
💡 쉬운 설명
시스템이 리소스를 정리하는 과정에서 이미 삭제한 번호표를 실수로 한 번 더 삭제하려고 시도하는 오류입니다. 이로 인해 시스템의 메모리 관리 체계에 혼란이 생겨 오류가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
fs/resctrl: Fix double-add of pseudo-locked region's RMID to free list
A pseudo-locked group's RMID is freed when it is created. On unmount
rmdir_all_sub() unconditionally frees all RMID of all groups, resulting
in a double-free of the pseudo-locked group's RMID. The consequence of this
is that the original free results in the pseudo-locked group's RMID being
added to the rmid_free_lru linked list and the second free then attempts
to add the same RMID entry to the rmid_free_lru again.
Do not double-free a pseudo-locked group's RMID.
📍 영향받는 시스템
Linux kernel (resctrl 파일 시스템을 사용하는 버전)
⚔️ 공격 벡터
로컬 권한을 가진 사용자가 resctrl 파일 시스템을 마운트 및 언마운트하는 조작을 통해 발생 가능
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.