🇰🇷 한글 설명
Linux 커널의 sunrpc 구성 요소에서 xprt_create_args 구조체가 초기화되지 않은 상태로 스택에 할당되는 취약점이 발견되었습니다. 이로 인해 srcaddr, bc_xps, flags와 같은 주요 필드에 쓰레기 값이 포함될 수 있으며, 이는 커널 패닉, 정보 유출 또는 예측 불가능한 동작을 유발할 수 있습니다.
💡 쉬운 설명
컴퓨터의 핵심 운영체제인 리눅스에서 데이터를 담는 바구니를 만들 때, 안을 깨끗이 비우지 않고 사용한 것이 문제입니다. 이 때문에 엉뚱한 정보가 흘러나가거나 시스템이 갑자기 멈추는 오류가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
sunrpc: fix uninitialized xprt_create_args structure
The xprt_create_args structure is allocated on the stack without
initialization in rpc_sysfs_xprt_switch_add_xprt_store(). While some
fields are manually populated, critical fields like srcaddr, bc_xps,
and flags contain uninitialized stack garbage.
This can lead to:
1. Kernel panic when xs_setup_xprt() dereferences garbage srcaddr
2. Information leak if srcaddr points to sensitive stack data
3. Unpredictable behavior if flags has random bits set
The fix is to zero-initialize the structure to ensure all unused
fields are NULL/0, preventing the transport setup code from acting
on garbage data.
📍 영향받는 시스템
sunrpc 모듈을 사용하는 Linux 커널 버전
⚔️ 공격 벡터
로컬 공격자가 sysfs를 통해 특정 RPC 설정을 조작하여 스택의 쓰레기 값을 유도함
🛡️ 대응 방법
해당 취약점이 수정된 최신 리눅스 커널 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전을 확인하여 해당 취약점이 패치된 버전인지 보안 공지(Changelog)와 대조하여 확인