🇰🇷 한글 설명
Linux 커널의 afs 파일 시스템에서 net->cells_dyn_ino 수정 시 잠금(locking) 메커니즘이 누락된 취약점이 발견되었습니다. 이를 해결하기 위해 net->cells_lock을 독점적으로 사용하도록 수정되었으며, RCU 정리 컨텍스트에서의 잠금 문제를 피하기 위해 셀 제거 로직이 afs_destroy_cell_work()로 이동되었습니다.
💡 쉬운 설명
컴퓨터의 핵심 운영체제인 리눅스에서 데이터를 관리할 때, 여러 작업이 동시에 같은 부분을 건드려 데이터가 꼬일 수 있는 문제가 있었습니다. 이로 인해 시스템이 불안정해지거나 오류가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
afs: Fix lack of locking around modifications of net->cells_dyn_ino
Fix the lack of locking around modifications of net->cells_dyn_ino by
taking net->cells_lock exclusively. This also requires to cell to be
removed from net->cells_dyn_ino in afs_destroy_cell_work() rather than in
afs_cell_destroy() as the latter runs in RCU cleanup context and sleeping
locks cannot be taken there.
📍 영향받는 시스템
Linux Kernel (afs 파일 시스템을 사용하는 버전)
⚔️ 공격 벡터
로컬 시스템에서 특정 파일 시스템 작업을 유도하여 레이스 컨디션(Race Condition) 유발
🛡️ 대응 방법
해당 패치가 적용된 최신 리눅스 커널 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이상인지 확인