🇰🇷 한글 설명
리눅스 커널의 netfs 구성 요소에서 iterator 준비 과정이 실패할 경우, 미리 배치된 readahead folio의 참조를 해제하지 못하는 취약점이 발견되었습니다. 이로 인해 메모리 참조 카운트가 제대로 감소하지 않아 메모리 누수가 발생할 수 있습니다.
💡 쉬운 설명
데이터를 미리 읽어오는 과정에서 오류가 발생했을 때, 사용 중이던 메모리 자원을 제대로 돌려주지 않고 남겨두는 버그입니다. 이 문제가 지속되면 시스템의 메모리가 조금씩 낭비될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
netfs: release readahead folios on iterator preparation failure
netfs_prepare_read_iterator() batches readahead folios in put_batch so that
the folio references can be dropped after the I/O iterator has been
prepared.
If rolling_buffer_load_from_ra() fails after earlier folios have been
batched, the function returns immediately and leaves those references held.
Release the batch before returning the error.
📍 영향받는 시스템
Linux kernel (netfs 구성 요소가 포함된 버전)
⚔️ 공격 벡터
로컬 공격자가 특정 I/O 작업 실패를 유도하여 메모리 누수를 일으킬 수 있음
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.