🔍 CVE-2024-56651

8.8
CVSS Score
HIGH
2024-12-27
2026-08-04 11:22
✅ 완료

🇰🇷 한글 설명

Linux 커널의 hi311x CAN 드라이버에서 발생한 Use-After-Free 취약점입니다. netif_rx() 호출 이후 CAN 프레임에 에러 정보를 추가하는 과정에서 이미 해제되었거나 재사용 중인 skb(socket buffer)에 접근할 수 있는 문제가 확인되었습니다.

💡 쉬운 설명

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

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: can: hi311x: hi3110_can_ist(): fix potential use-after-free The commit a22bd630cfff ("can: hi311x: do not report txerr and rxerr during bus-off") removed the reporting of rxerr and txerr even in case of correct operation (i. e. not bus-off). The error count information added to the CAN frame after netif_rx() is a potential use after free, since there is no guarantee that the skb is in the same state. It might be freed or reused. Fix the issue by postponing the netif_rx() call in case of txerr and rxerr reporting.

📍 영향받는 시스템

hi311x CAN 드라이버를 사용하는 Linux 커널 버전

⚔️ 공격 벡터

특정 CAN 통신 에러 상황을 유도하여 메모리 관리 오류를 일으키는 방식

🛡️ 대응 방법

커널 패치(commit a22bd630cfff)가 적용된 최신 버전의 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