🇰🇷 한글 설명
Linux 커널의 iomap 구성 요소에서 원자적 DIO(Direct I/O) 크기 불일치 시 페이지를 제대로 해제하지 못하는 취약점이 발견되었습니다. bio_iov_iter_get_pages() 또는 바운스 헬퍼가 성공했음에도 짧은 bio가 생성될 경우, 오류 경로에서 이미 할당된 페이지들을 해제하지 않고 참조만 드롭하여 메모리 누수가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터의 메모리를 빌려 쓰고 나서 제대로 돌려주지 않는 실수가 발생하여 메모리가 조금씩 낭비되는 문제입니다. 이 문제가 반복되면 시스템의 메모리가 부족해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
iomap: release pages on atomic dio size mismatch
If bio_iov_iter_get_pages() or the bounce helper succeeds but builds a
short bio, the REQ_ATOMIC size check rejects it before submission. The
old error path only dropped the bio reference, leaving any pages already
attached to the bio unreleased.
Release or unbounce the pages before falling through to out_put_bio on
this error path.
This bug was reported by sashiko:
https://sashiko.dev/#/patchset/20260608073134.95964-1-changfengnan%40bytedance.com
📍 영향받는 시스템
Linux Kernel (iomap 관련 모듈을 사용하는 시스템)
⚔️ 공격 벡터
직접적인 공격보다는 특정 I/O 작업 패턴을 통해 메모리 누수를 유발하는 방식
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.