🇰🇷 한글 설명
리눅스 커널의 net: sched: act_connmark 구성 요소에서 구조체 초기화 미흡으로 인한 커널 메모리 누수 취약점이 발견되었습니다. tcf_connmark_dump() 함수 내에서 구조체의 패딩 바이트가 초기화되지 않은 상태로 사용자 공간으로 복사되어 정보가 유출될 수 있습니다.
💡 쉬운 설명
컴퓨터 메모리의 일부 데이터가 제대로 지워지지 않은 채 외부로 전달되는 보안 결함입니다. 이로 인해 시스템 내부의 민감한 정보가 의도치 않게 노출될 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net: sched: act_connmark: initialize struct tc_ife to fix kernel leak
In tcf_connmark_dump(), the variable 'opt' was partially initialized using a
designatied initializer. While the padding bytes are reamined
uninitialized. nla_put() copies the entire structure into a
netlink message, these uninitialized bytes leaked to userspace.
Initialize the structure with memset before assigning its fields
to ensure all members and padding are cleared prior to beign copied.
📍 영향받는 시스템
act_connmark 모듈을 사용하는 리눅스 커널 버전
⚔️ 공격 벡터
로컬 사용자가 netlink 메시지를 통해 커널 메모리의 미초기화 데이터를 읽어내는 방식
🛡️ 대응 방법
해당 취약점이 수정된 최신 리눅스 커널 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 패치된 최신 보안 업데이트 버전인지 확인