🇰🇷 한글 설명
리눅스 커널의 cachefiles 구성 요소에서 poll 루틴이 xarray를 반복할 때 누락된 잠금(lock) 보호 기능이 발견되었습니다. RCU read lock만으로는 데이터 구조의 안정성을 보장할 수 없어, 적절한 spinlock을 추가하여 문제를 해결했습니다.
💡 쉬운 설명
컴퓨터의 데이터를 읽는 과정에서 데이터가 갑자기 바뀌거나 사라지는 것을 막아주는 안전장치가 부족했습니다. 이로 인해 시스템이 불안정해지거나 오류가 발생할 수 있는 결함입니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
cachefiles: add missing lock protection when polling
Add missing lock protection in poll routine when iterating xarray,
otherwise:
Even with RCU read lock held, only the slot of the radix tree is
ensured to be pinned there, while the data structure (e.g. struct
cachefiles_req) stored in the slot has no such guarantee. The poll
routine will iterate the radix tree and dereference cachefiles_req
accordingly. Thus RCU read lock is not adequate in this case and
spinlock is needed here.
📍 영향받는 시스템
Linux Kernel (cachefiles 모듈을 사용하는 시스템)
⚔️ 공격 벡터
로컬 시스템에서 특정 조건의 I/O 요청을 통해 메모리 경합(Race Condition) 유도
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인