🇰🇷 한글 설명
리눅스 커널의 net: sched: cls_api 구성 요소에서 tc_chain_fill_node 함수가 tcm_info 필드를 초기화하지 않아 정보 유출이 발생할 수 있는 취약점입니다. 할당된 커널 힙 메모리가 0으로 초기화되지 않아 4바이트의 데이터가 사용자 공간으로 유출될 수 있습니다.
💡 쉬운 설명
컴퓨터의 핵심 운영체제인 리눅스에서 메모리의 일부 정보가 의도치 않게 외부로 새어나갈 수 있는 결함이 발견되었습니다. 이로 인해 시스템 내부의 민감한 데이터가 공격자에게 노출될 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net: sched: cls_api: fix tc_chain_fill_node to initialize tcm_info to zero to prevent an info-leak
When building netlink messages, tc_chain_fill_node() never initializes
the tcm_info field of struct tcmsg. Since the allocation is not zeroed,
kernel heap memory is leaked to userspace through this 4-byte field.
The fix simply zeroes tcm_info alongside the other fields that are
already initialized.
📍 영향받는 시스템
Linux Kernel (net: sched: cls_api 관련 모듈 사용 시스템)
⚔️ 공격 벡터
Netlink 메시지를 생성하는 과정에서 초기화되지 않은 커널 힙 메모리 데이터를 읽어내는 방식
🛡️ 대응 방법
tc_chain_fill_node 함수 내에서 tcm_info 필드를 0으로 초기화하는 커널 패치 적용
🔧 검증 코드
출력된 커널 버전을 확인하여 해당 취약점이 해결된 최신 보안 패치 버전인지 확인합니다.