🇰🇷 한글 설명
Linux 커널의 Btrfs 파일 시스템에서 verity 항목 정리 중 공간 부족 문제가 발생할 수 있는 취약점입니다. qgroup 제한이나 디스크 공간 부족 시 rollback_verity() 과정에서 메타데이터 예약에 실패하면 파일 시스템이 읽기 전용으로 전환되거나 마운트가 실패할 수 있습니다.
💡 쉬운 설명
파일 시스템의 특정 기능을 정리하는 과정에서 저장 공간이 부족하면 시스템 전체가 읽기 전용으로 변하거나 아예 켜지지 않을 수 있는 문제입니다. 이번 패치를 통해 공간이 부족하더라도 안전하게 정리 작업을 완료할 수 있도록 개선되었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
btrfs: handle lack of space when cleaning up verity items
When enable_verity() hits the qgroup limit, rollback_verity() needs its
own metadata reservation. When the qgroup limit or lack of space refuses
the rollback, the whole filesystem is forced read-only even though the
qgroup limit was for one subvolume only. Also orphan cleanup at the next
mount fails the same way, so the leftover items are never removed: with
-EDQUOT the subvolume stays unreachable, and with -ENOSPC on a full
filesystem the next read-write mount fails.
Start transactions with btrfs_start_transaction_fallback_global_rsv() in
btrfs_orphan_cleanup(), drop_verity_items() and rollback_verity(). Those
calls only delete items and free the space in the end, so they may use
the global reserve and skip the qgroup limit, which avoids -ENOSPC and
-EDQUOT.
📍 영향받는 시스템
Linux kernel (Btrfs 파일 시스템을 사용하는 시스템)
⚔️ 공격 벡터
로컬 사용자가 qgroup 제한을 유도하거나 디스크 공간을 가득 채워 파일 시스템 오류를 유발할 수 있음
🛡️ 대응 방법
Btrfs 관련 수정 사항이 포함된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인
💻 영향받는 소프트웨어
NVIDIA Cloud Gaming Guest Driver for Linux