🇰🇷 한글 설명
Linux 커널의 dm-pcache 구성 요소에서 발생한 취약점으로, 저장된 테일 위치 오프셋이 세그먼트 데이터 크기를 초과할 수 있습니다. CAP_SYS_ADMIN 권한을 가진 사용자가 조작된 장치를 제공할 경우, 세그먼트 데이터 범위를 벗어난 메모리 영역을 읽을 수 있는 문제가 있습니다.
💡 쉬운 설명
시스템 관리자 권한을 가진 사용자가 특수하게 조작된 장치를 연결하면, 허용된 데이터 범위를 넘어 시스템의 다른 메모리 내용을 몰래 읽어낼 수 있는 결함입니다. 이는 데이터 보안을 위협할 수 있는 메모리 읽기 오류입니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
dm-pcache: bound the persisted tail-position offset
cache_pos_decode() takes the persisted key_tail and dirty_tail seg_off from
the cache device and addresses within the segment with it. A seg_off at or
past the segment data_size, controllable by whoever supplies the device
(CAP_SYS_ADMIN), reads past the segment data.
Reject a decoded seg_off that is not below the segment data_size.
📍 영향받는 시스템
Linux kernel (dm-pcache 모듈 사용 환경)
⚔️ 공격 벡터
CAP_SYS_ADMIN 권한을 가진 공격자가 조작된 seg_off 값을 가진 캐시 장치를 시스템에 공급
🛡️ 대응 방법
dm-pcache의 seg_off가 데이터 크기보다 큰 경우를 거부하도록 수정된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인