🇰🇷 한글 설명
리눅스 커널의 pch_can 드라이버에서 netif_receive_skb 함수 호출 이후 skb 메모리를 참조할 때 발생하는 Use-After-Free 취약점입니다. skb 메모리를 공유하는 can_frame 구조체가 함수 호출 직후에 참조되어 메모리 오류를 유발할 수 있습니다.
💡 쉬운 설명
컴퓨터가 이미 사용이 끝난 메모리 공간을 다시 사용하려고 시도할 때 발생하는 오류입니다. 이로 인해 시스템이 갑자기 멈추거나 해커가 시스템 권한을 탈취할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
can: pch_can: pch_can_rx_normal: fix use after free
After calling netif_receive_skb(skb), dereferencing skb is unsafe.
Especially, the can_frame cf which aliases skb memory is dereferenced
just after the call netif_receive_skb(skb).
Reordering the lines solves the issue.
📍 영향받는 시스템
pch_can 드라이버를 사용하는 리눅스 커널 버전
⚔️ 공격 벡터
특수하게 조작된 CAN 프레임을 전송하여 메모리 오류를 유발하는 방식
🛡️ 대응 방법
취약점이 수정된 최신 리눅스 커널로 업데이트
🔧 검증 코드
현재 실행 중인 커널 버전을 확인하여 수정된 버전 이상인지 대조