🇰🇷 한글 설명
Linux 커널의 BFQ(Budget Fair Queuing) 블록 계층에서 Use-After-Free(UAF) 취약점이 발견되었습니다. 특정 커밋의 변경 사항이 잘못된 방식으로 처리되어 메모리 관리 오류를 유발하며 시스템 충돌을 일으킬 수 있습니다.
💡 쉬운 설명
컴퓨터의 데이터를 관리하는 핵심 프로그램(커널)에서 이미 사용이 끝난 메모리 공간을 다시 사용하려고 시도하는 오류가 발생했습니다. 이로 인해 시스템이 갑자기 멈추거나 꺼지는 현상이 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
Revert "Revert "block, bfq: honor already-setup queue merges""
A crash [1] happened to be triggered in conjunction with commit
2d52c58b9c9b ("block, bfq: honor already-setup queue merges"). The
latter was then reverted by commit ebc69e897e17 ("Revert "block, bfq:
honor already-setup queue merges""). Yet, the reverted commit was not
the one introducing the bug. In fact, it actually triggered a UAF
introduced by a different commit, and now fixed by commit d29bd41428cf
("block, bfq: reset last_bfqq_created on group change").
So, there is no point in keeping commit 2d52c58b9c9b ("block, bfq:
honor already-setup queue merges") out. This commit restores it.
[1] https://bugzilla.kernel.org/show_bug.cgi?id=214503
📍 영향받는 시스템
BFQ 스케줄러를 사용하는 Linux 커널 버전 (특정 커밋 포함 버전)
⚔️ 공격 벡터
로컬 공격자가 특수하게 조작된 I/O 요청을 통해 메모리 오류를 유발하여 시스템 권한 탈취 또는 서비스 거부(DoS) 공격 수행
🛡️ 대응 방법
BFQ 관련 수정 사항(commit d29bd41428cf 등)이 반영된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전을 확인하여 취약점이 해결된 최신 패치 버전인지 확인합니다.