🔍 CVE-2026-53247

9.8
CVSS Score
CRITICAL
2026-06-25
2026-07-07 22:16
✅ 완료

🇰🇷 한글 설명

Linux 커널의 mtk_eth_soc 드라이버에서 metadata_dst 해제 시 RCU grace period를 무시하고 kfree()를 즉시 호출하여 발생하는 Use-After-Free 취약점입니다. 이로 인해 skb가 여전히 해당 포인터를 참조하고 있을 경우 메모리 오류가 발생할 수 있습니다. 이를 해결하기 위해 refcount를 적절히 처리하는 dst_release()를 사용하도록 수정되었습니다.

💡 쉬운 설명

네트워크 장치 드라이버가 사용 중인 메모리를 너무 빨리 삭제하여 발생하는 오류입니다. 데이터가 아직 처리 중인데 메모리를 비워버리면 시스템이 충돌하거나 해킹에 이용될 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: net: ethernet: mtk_eth_soc: Fix use-after-free in metadata dst teardown mtk_free_dev() calls metadata_dst_free() which frees the metadata_dst with kfree() immediately, bypassing the RCU grace period. In the RX path, skb_dst_set_noref() sets a non-refcounted pointer from the skb to the metadata_dst. This function requires RCU read-side protection and the dst must remain valid until all RCU readers complete. Since metadata_dst_free() calls kfree() directly, a use-after-free can occur if any skb still holds a noref pointer to the dst when the driver tears it down. Replace metadata_dst_free() with dst_release() which properly goes through the refcount path: when the refcount drops to zero, it schedules the actual free via call_rcu_hurry(), ensuring all RCU readers have completed before the memory is freed.

📍 영향받는 시스템

Linux kernel (mtk_eth_soc 드라이버를 사용하는 시스템)

⚔️ 공격 벡터

네트워크 패킷 처리 과정에서 특정 타이밍에 메모리 참조를 유도하여 시스템 권한 탈취 또는 서비스 거부(DoS) 유발

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 metadata_dst_free()가 dst_release()를 사용하도록 수정

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 패치된 버전인지 배포판 보안 공지를 통해 확인

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