🇰🇷 한글 설명
리눅스 커널의 __legitimize_mnt() 함수에서 MNT_SYNC_UMOUNT 체크가 mount_lock 보호 아래에서 수행되지 않아 발생하는 취약점입니다. 이로 인해 umount(2) 호출 후 참조 카운트가 잘못 처리되어 mntput()이 중복 실행될 위험이 있습니다.
💡 쉬운 설명
컴퓨터가 파일을 정리하는 과정에서 순서가 꼬여 메모리 관리 오류가 발생하는 문제입니다. 이 오류를 이용하면 시스템이 불안정해지거나 보안이 뚫릴 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
__legitimize_mnt(): check for MNT_SYNC_UMOUNT should be under mount_lock
... or we risk stealing final mntput from sync umount - raising mnt_count
after umount(2) has verified that victim is not busy, but before it
has set MNT_SYNC_UMOUNT; in that case __legitimize_mnt() doesn't see
that it's safe to quietly undo mnt_count increment and leaves dropping
the reference to caller, where it'll be a full-blown mntput().
Check under mount_lock is needed; leaving the current one done before
taking that makes no sense - it's nowhere near common enough to bother
with.
📍 영향받는 시스템
Linux Kernel (MNT_SYNC_UMOUNT 관련 로직이 포함된 버전)
⚔️ 공격 벡터
특정 조건에서 umount(2) 시스템 호출을 정밀하게 조작하여 참조 카운트 불일치를 유도하는 로컬 공격
🛡️ 대응 방법
MNT_SYNC_UMOUNT 체크 로직이 mount_lock 하에 포함된 최신 리눅스 커널로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인하십시오.