🇰🇷 한글 설명
Linux 커널의 fhandle 기능에서 마운트 네임스페이스 체크 로직의 결함으로 인해 발생합니다. 분리된 마운트(detached mount)가 해제되는 과정에서 NULL 포인터를 참조하게 되어 커널 패닉(Kernel Panic)을 유발할 수 있습니다.
💡 쉬운 설명
컴퓨터의 핵심 운영체제인 리눅스에서 특정 파일 접근 방식의 오류로 인해 시스템이 갑자기 멈추거나 꺼질 수 있는 문제입니다. 연결이 끊긴 파일 경로를 잘못 참조하면서 발생하는 오류입니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
fhandle: reject detached mounts in capable_wrt_mount()
The recent fhandle RCU fix moved the mount namespace capability check
into capable_wrt_mount(), so a non-NULL mnt_namespace survives the
ns_capable() dereference. The helper still assumes the later
READ_ONCE(mount->mnt_ns) must be non-NULL because may_decode_fh()
checked is_mounted() first.
That assumption is not stable. A detached mount from
open_tree(..., OPEN_TREE_CLONE) can be dissolved on fput while
open_by_handle_at() is between those checks, and umount_tree() can
clear mount->mnt_ns. If the helper observes NULL, it dereferences
mnt_ns->user_ns and panics.
Return false when the RCU read observes a detached mount. This keeps
the relaxed permission path conservative: a mount no longer attached
to a namespace cannot authorize open_by_handle_at() access.
📍 영향받는 시스템
Linux Kernel (fhandle 관련 기능이 포함된 버전)
⚔️ 공격 벡터
특정 조건에서 마운트된 파일 핸들을 이용해 의도적으로 분리된 마운트 상태를 유도하여 커널 패닉 유발
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전을 확인하여 해당 취약점이 해결된 최신 패치 버전인지 확인