🇰🇷 한글 설명
Linux 커널의 netdev 모듈 내 netdev_nl_bind_rx_doit() 함수에서 이중 해제(double-free) 취약점이 발견되었습니다. genlmsg_reply() 함수가 skb를 항상 소비함에도 불구하고 에러 경로에서 nlmsg_free(rsp)를 추가로 호출하여 메모리 오류가 발생할 수 있었습니다.
💡 쉬운 설명
컴퓨터의 핵심 운영체제인 리눅스에서 메모리를 관리하는 과정 중 실수로 같은 메모리를 두 번 지우려고 시도하는 오류가 있었습니다. 이 오류를 이용하면 시스템이 멈추거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
netdev: fix double-free in netdev_nl_bind_rx_doit()
Sashiko flags that genlmsg_reply() always consumes the skb.
The error path calls nlmsg_free(rsp) so we can't jump directly
to it. Let's not unbind, just propagate the error to the user.
This is the typical way of handling genlmsg_reply() failures.
They shouldn't happen unless user does something silly like
calling the kernel with an already-full rcvbuf.
📍 영향받는 시스템
Linux Kernel (netdev 모듈 사용 버전)
⚔️ 공격 벡터
네트워크 제어 메시지(Generic Netlink)를 조작하여 커널의 에러 처리 경로를 유도하는 방식
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.