🇰🇷 한글 설명
Linux 커널의 MCTP 네트워크 모듈 mctp_dump_addrinfo 함수에서, struct ifaddrmsg가 전달되지 않은 경우 초기화되지 않은 메모리의 ifa_index 값을 비교하는 문제가 수정되었습니다. 이로 인해 초기화되지 않은 메모리 값이 인터페이스 필터링에 사용되어 정보 노출 및 비정상 동작이 발생할 수 있었습니다.
💡 쉬운 설명
네트워크 주소를 조회할 때 컴퓨터가 쓰레기 값을 참고하던 잘못이 있었습니다. 이를 고쳐서 올바른 값만 사용하도록 바뀌었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net: mctp: Don't access ifa_index when missing
In mctp_dump_addrinfo, ifa_index can be used to filter interfaces, but
only when the struct ifaddrmsg is provided. Otherwise it will be
comparing to uninitialised memory - reproducible in the syzkaller case from
dhcpd, or busybox "ip addr show".
The kernel MCTP implementation has always filtered by ifa_index, so
existing userspace programs expecting to dump MCTP addresses must
already be passing a valid ifa_index value (either 0 or a real index).
BUG: KMSAN: uninit-value in mctp_dump_addrinfo+0x208/0xac0 net/mctp/device.c:128
mctp_dump_addrinfo+0x208/0xac0 net/mctp/device.c:128
rtnl_dump_all+0x3ec/0x5b0 net/core/rtnetlink.c:4380
rtnl_dumpit+0xd5/0x2f0 net/core/rtnetlink.c:6824
netlink_dump+0x97b/0x1690 net/netlink/af_netlink.c:2309
📍 영향받는 시스템
MCTP 기능이 포함된 Linux 커널 (수정 커밋 이전 버전, 주로 6.x 계열 일부 배포판)
⚔️ 공격 벡터
로컬 사용자가 netlink 덤프 요청을 통해 초기화되지 않은 커널 메모리 값을 유발하여 정보 노출 또는 비정상 동작을 시도
🛡️ 대응 방법
배포판 제공 최신 커널 업데이트를 적용하고 재부팅
🔧 검증 코드
출력된 커널 버전이 배포판의 CVE-2025-38006 수정 패치가 포함된 버전 이상인지 배포사 보안 공지와 비교하여 확인하며, 해당 버전 이상이면 수정된 것입니다.