🔍 CVE-2021-47232

9.8
CVSS Score
CRITICAL
2024-05-21
2026-08-04 10:16
✅ 완료

🇰🇷 한글 설명

Linux 커널의 CAN(Controller Area Network) J1939 프로토콜 구현에서 Use-after-Free 취약점이 발견되었습니다. 세션 skb 큐에서 skb를 가져올 때 참조 횟수(ref count)를 증가시키지 않아, 동시성 문제로 인해 이미 해제된 메모리에 접근할 수 있는 문제가 있습니다.

💡 쉬운 설명

컴퓨터가 이미 사용이 끝나서 버린 메모리 공간을 실수로 다시 사용하려고 할 때 발생하는 오류입니다. 이로 인해 시스템이 갑자기 멈추거나 해커가 시스템 권한을 탈취할 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: can: j1939: fix Use-after-Free, hold skb ref while in use This patch fixes a Use-after-Free found by the syzbot. The problem is that a skb is taken from the per-session skb queue, without incrementing the ref count. This leads to a Use-after-Free if the skb is taken concurrently from the session queue due to a CTS.

📍 영향받는 시스템

Linux Kernel (CAN J1939 프로토콜을 사용하는 시스템)

⚔️ 공격 벡터

특정 네트워크 조건(CTS)을 이용한 동시성 제어를 통한 메모리 오염 공격

🛡️ 대응 방법

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

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel