🔍 CVE-2021-47224

7.8
CVSS Score
HIGH
2024-05-21
2026-08-04 10:16
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 net: ll_temac 드라이버에서 skb(socket buffer)를 해제하는 과정 중 발생하는 취약점입니다. 멀티 TX BD 패킷 처리 시 첫 번째 BD가 완료된 것으로 간주되어 skb가 조기에 해제됨으로써, 아직 사용 중인 나머지 데이터 조각들에 대해 Use-After-Free(UAF) 문제가 발생할 수 있습니다.

💡 쉬운 설명

데이터를 전송하는 과정에서 아직 사용 중인 메모리를 너무 빨리 지워버리는 오류가 있습니다. 이로 인해 시스템이 잘못된 메모리 영역에 접근하게 되어 보안 문제가 생기거나 시스템이 멈출 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: net: ll_temac: Make sure to free skb when it is completely used With the skb pointer piggy-backed on the TX BD, we have a simple and efficient way to free the skb buffer when the frame has been transmitted. But in order to avoid freeing the skb while there are still fragments from the skb in use, we need to piggy-back on the TX BD of the skb, not the first. Without this, we are doing use-after-free on the DMA side, when the first BD of a multi TX BD packet is seen as completed in xmit_done, and the remaining BDs are still being processed.

📍 영향받는 시스템

Linux kernel (ll_temac driver 사용 환경)

⚔️ 공격 벡터

특정 네트워크 트래픽 패턴을 유도하여 DMA 처리 과정에서 Use-After-Free를 유발

🛡️ 대응 방법

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

🔧 검증 코드

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

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel