🔍 CVE-2021-47668

8.8
CVSS Score
HIGH
2025-04-17
2026-08-04 10:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 CAN(Controller Area Network) 드라이버에서 발생한 Use-After-Free 취약점입니다. netif_rx_ni() 함수 호출 이후에 이미 해제되었을 수 있는 skb 메모리 영역의 can_frame 데이터를 참조하여 발생합니다.

💡 쉬운 설명

컴퓨터가 이미 사용이 끝나서 버린 메모리 공간을 다시 읽으려고 시도할 때 발생하는 오류입니다. 이로 인해 시스템이 갑자기 멈추거나 보안 문제가 생길 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: can: dev: can_restart: fix use after free bug After calling netif_rx_ni(skb), dereferencing skb is unsafe. Especially, the can_frame cf which aliases skb memory is accessed after the netif_rx_ni() in: stats->rx_bytes += cf->len; Reordering the lines solves the issue.

📍 영향받는 시스템

CAN 네트워크 인터페이스를 사용하는 Linux 커널 버전

⚔️ 공격 벡터

특수하게 조작된 CAN 프레임을 전송하여 커널 메모리 오류 유도

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Linux Kernel