🇰🇷 한글 설명
Linux 커널의 ptrace 메커니즘에서 메모리 이미지가 없는 프로세스에 대해 dumpability 플래그를 부적절하게 검사하는 취약점. CAP_SYS_PTRACE 권한 검증이 제대로 이루어지지 않아 권한 없는 사용자가 커널 스레드 정보에 접근할 수 있음.
💡 쉬운 설명
Linux 커널이 누가 보호된 프로세스 정보에 접근할 수 있는지 확인하는 로직에 결함이 있어, 관리자 권한 없는 사용자도 접근할 수 없어야 하는 커널 프로세스 정보를 볼 수 있게 됨.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ptrace: slightly saner 'get_dumpable()' logic
The 'dumpability' of a task is fundamentally about the memory image of
the task - the concept comes from whether it can core dump or not - and
makes no sense when you don't have an associated mm.
And almost all users do in fact use it only for the case where the task
has a mm pointer.
But we have one odd special case: ptrace_may_access() uses 'dumpable' to
check various other things entirely independently of the MM (typically
explicitly using flags like PTRACE_MODE_READ_FSCREDS). Including for
threads that no longer have a VM (and maybe never did, like most kernel
threads).
It's not what this flag was designed for, but it is what it is.
The ptrace code does check that the uid/gid matches, so you do have to
be uid-0 to see kernel thread details, but this means that the
traditional "drop capabilities" model doesn't make any difference for
this all.
Make it all make a *bit* more sense by saying that if you don't have a
MM pointer, we'll use a cached "last dumpability" flag if the thread
ever had a MM (it will be zero for kernel threads since it is never
set), and require a proper CAP_SYS_PTRACE capability to override.
📍 영향받는 시스템
Linux kernel - ptrace_may_access() 함수가 있는 모든 주요 배포판 (RHEL, Ubuntu, Debian 등)
⚔️ 공격 벡터
로컬 공격자가 ptrace 시스템 콜을 통해 메모리가 없는 커널 스레드의 상태 정보 유출
🛡️ 대응 방법
Linux 커널을 최신 패치 버전으로 업데이트하여 get_dumpable() 로직의 CAP_SYS_PTRACE 권한 검증 강화 적용
🔧 검증 코드
현재 커널 버전을 확인하고, 보안 공지를 통해 해당 버전에 대한 패치 여부를 확인하세요. 일반적으로 LTS 커널 최신 버전에 패치가 포함되어 있습니다.
uname -r && cat /proc/version | grep -oE 'kernel version [^ ]+' || cat /proc/sys/kernel/osrelease
🇰🇷 KISA(한국인터넷진흥원) 보안 권고
이 CVE에 대한 한국 공식 권고 (1건)
Linux Kernel 보안 업데이트 권고
P4
📅 2026-05-29 · sec_notice
Linux Kernel에서 권한 관리 미흡(Improper Privilege Management) 취약점이 발견되었습니다. 해당 취약점에 영향을 받는 Linux Kernel 사용자는 최신 보안 패치가 적용된 버전으로 업데이트를 수행해야 합니다.