🔍 CVE-2026-90261

0.0
CVSS Score
UNKNOWN
2026-09-17
2026-10-19 09:19
✅ 완료

🇰🇷 한글 설명

Linux 커널의 Btrfs 파일 시스템에서 Zoned 영역 사용 시 btree_writepages() 함수가 메타데이터를 기록하는 과정에서 데드락을 방지하기 위해 트랜잭션을 중단하고 파일 시스템을 읽기 전용으로 전환하는 취약점입니다. btree_writepages() 시작 시점에 활성 메타데이터 및 시스템 블록 그룹을 미리 플러시하여 미전송 IO로 인한 충돌을 방지하도록 수정되었습니다.

💡 쉬운 설명

특정 저장 장치 방식(Zoned)을 사용하는 리눅스 시스템에서 파일 데이터를 저장할 때, 데이터 기록 순서가 꼬여 시스템이 멈추거나 파일 시스템이 읽기 전용으로 변하는 문제가 발생할 수 있습니다. 이를 해결하기 위해 데이터를 기록하기 전 미리 정리 작업을 수행하도록 개선되었습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: btrfs: zoned: flush active metadata block group at btree_writepages() start btree_writepages() writes the btree inode's dirty metadata in ascending logical address order. On a zoned filesystem only one metadata and one system block group is active for writing at a time, and check_bg_is_active() (via btrfs_check_meta_write_pointer()) pivots the active block group as writeback moves from one block group to the next. If the active block group sits at a higher logical address than another block group that also holds dirty metadata, the ascending walk reaches the lower one first and, to write it, has to finish the active block group and activate the lower one. It cannot finish a block group that still has unsent IO, and during WB_SYNC_ALL && !for_sync (commit) writeback it deliberately refuses to wait for that IO under fs_info->zoned_meta_io_lock, as that can deadlock. The pivot thus cannot issue the submission itself either, so it gives up: btrfs_check_meta_write_pointer() returns -EAGAIN, which btrfs_write_and_wait_transaction() treats as fatal and aborts the transaction, forcing the filesystem read-only. This happens intermittently under metadata-heavy relocation (e.g. fstests btrfs/187). Flush the active metadata and system block groups at the start of btree_writepages(), under the fs_info->zoned_meta_io_lock it already holds, so they have no unsent IO left and the later pivot can finish them and make forward progress.

📍 영향받는 시스템

Linux kernel (Btrfs filesystem with Zoned device support)

⚔️ 공격 벡터

Local (Metadata-heavy write operations can trigger the filesystem to go read-only)

🛡️ 대응 방법

Linux kernel을 최신 패치가 적용된 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel