🔍 CVE-2026-98245

0.0
CVSS Score
UNKNOWN
2026-10-06
2026-10-21 13:21
✅ 완료

🇰🇷 한글 설명

Linux 커널의 btrfs 파일 시스템에서 mark_block_group_to_copy() 함수가 커밋 루트를 반복 탐색할 때 세마포어를 획득하지 않아 발생하는 취약점입니다. 동시 트랜잭션 커밋 과정에서 커밋 루트가 교체되거나 해제될 경우, 익스텐트 버퍼에 접근할 때 Use-After-Free(UAF) 오류가 발생할 수 있습니다.

💡 쉬운 설명

파일 시스템이 데이터를 정리하는 도중에 다른 작업이 데이터를 갑자기 지워버려 시스템이 충돌하거나 오류가 발생하는 문제입니다. 이로 인해 시스템이 불안정해지거나 보안 문제가 생길 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: btrfs: take commit root semaphore when iterating in mark_block_group_to_copy() mark_block_group_to_copy() iterates over the commit root with skip_locking=true. A concurrent transaction commit can swap and free the commit root during iteration, causing use-after-free when accessing extent buffers. Fix it by using path->need_commit_sem to protect the commit root search.

📍 영향받는 시스템

btrfs 파일 시스템을 사용하는 Linux 커널 버전

⚔️ 공격 벡터

로컬 사용자가 특정 파일 시스템 작업(트랜잭션 커밋)을 유도하여 메모리 오류를 일으킴

🛡️ 대응 방법

커밋 루트 검색 시 path->need_commit_sem를 사용하여 보호하도록 커널을 업데이트하십시오.

🔧 검증 코드

현재 실행 중인 커널 버전을 확인하여 해당 취약점이 수정된 최신 패치 버전인지 확인하십시오.

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel