🇰🇷 한글 설명
Linux 커널의 net: sched: act_ife 구성 요소에서 구조체 초기화 미흡으로 인한 정보 유출 취약점이 발견되었습니다. tcf_ife_dump 함수 내에서 구조체의 패딩 바이트가 초기화되지 않은 상태로 사용자 공간으로 복사되어 커널 메모리 정보가 노출될 수 있습니다.
💡 쉬운 설명
컴퓨터의 핵심 운영체제인 리눅스에서 메모리의 일부 데이터가 의도치 않게 외부로 새어 나갈 수 있는 결함이 발견되었습니다. 이로 인해 시스템 내부의 민감한 정보가 공격자에게 노출될 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net: sched: act_ife: initialize struct tc_ife to fix KMSAN kernel-infoleak
Fix a KMSAN kernel-infoleak detected by the syzbot .
[net?] KMSAN: kernel-infoleak in __skb_datagram_iter
In tcf_ife_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.
This change silences the KMSAN report and prevents potential information
leaks from the kernel memory.
This fix has been tested and validated by syzbot. This patch closes the
bug reported at the following syzkaller link and ensures no infoleak.
📍 영향받는 시스템
Linux kernel (act_ife 모듈을 사용하는 시스템)
⚔️ 공격 벡터
특정 네트워크 스케줄링 기능을 통해 커널 메모리의 미초기화된 패딩 데이터를 Netlink 메시지로 유도하여 탈취
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 tc_ife 구조체 초기화 로직을 적용해야 함
🔧 검증 코드
현재 실행 중인 커널 버전을 확인하여 해당 취약점이 수정된 패치 버전인지 확인합니다.