🔍 CVE-2026-68442

7.8
CVSS Score
HIGH
2026-08-12
2026-10-19 22:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 btrfs 파일 시스템에서 extent map 분할 시 EXTENT_FLAG_LOGGING 플래그가 잘못 상속되는 취약점이 발견되었습니다. 이로 인해 플래그가 적절히 해제되지 않아 메모리 해제 후 사용(Use-After-Free) 오류가 발생하며 시스템 불안정을 초래할 수 있습니다.

💡 쉬운 설명

파일 시스템의 데이터를 관리하는 과정에서 잘못된 정보가 전달되어, 이미 사용이 끝난 메모리 영역을 다시 사용하려고 시도하는 오류입니다. 이 오류가 발생하면 시스템이 갑자기 멈추거나 보안 문제가 생길 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: btrfs: don't propagate EXTENT_FLAG_LOGGING to split extent maps When btrfs_drop_extent_map_range() splits an extent map, the new split maps inherit the original map's flags through a local 'flags' variable. Commit f86f7a75e2fb ("btrfs: use the flags of an extent map to identify the compression type") changed the EXTENT_FLAG_LOGGING clearing to operate on em->flags instead of that local 'flags' copy, so a split of an extent map that is currently being logged wrongly inherits EXTENT_FLAG_LOGGING. The flag is then never cleared on the split, and when it is freed while still on the inode's modified_extents list (for example by the extent map shrinker) it trips the WARN_ON(!list_empty(&em->list)) in btrfs_free_extent_map() and leads to a use-after-free. Clear EXTENT_FLAG_LOGGING from the local 'flags' copy used for the splits and only clear EXTENT_FLAG_PINNED from em->flags, restoring the behaviour prior to f86f7a75e2fb.

📍 영향받는 시스템

Linux kernel (btrfs 파일 시스템을 사용하는 버전)

⚔️ 공격 벡터

로컬 공격자가 특수하게 조작된 btrfs 파일 시스템 작업을 수행하여 메모리 오류 유도

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트

🔧 검증 코드

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

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Linux Kernel