🇰🇷 한글 설명
리눅스 커널의 CAN(Controller Area Network) 드라이버인 peak_usb에서 Use-After-Free 취약점이 발견되었습니다. peak_usb_netif_rx_ni 함수 호출 이후 skb 메모리를 참조하는 과정에서 잘못된 메모리 접근이 발생하여 시스템 불안정이나 보안 문제를 일으킬 수 있습니다.
💡 쉬운 설명
컴퓨터가 이미 사용이 끝난 메모리 공간을 다시 사용하려고 시도할 때 발생하는 오류입니다. 이로 인해 시스템이 갑자기 멈추거나 해커가 시스템 권한을 탈취할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
can: peak_usb: fix use after free bugs
After calling peak_usb_netif_rx_ni(skb), dereferencing skb is unsafe.
Especially, the can_frame cf which aliases skb memory is accessed
after the peak_usb_netif_rx_ni().
Reordering the lines solves the issue.
📍 영향받는 시스템
peak_usb 드라이버를 사용하는 Linux 커널 기반 시스템
⚔️ 공격 벡터
특수하게 조작된 CAN 프레임을 전송하여 메모리 오류를 유도하는 방식
🛡️ 대응 방법
peak_usb 드라이버의 메모리 참조 순서가 수정된 최신 리눅스 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 패치된 최신 버전인지 확인