🔍 CVE-2024-47675

7.8
CVSS Score
HIGH
2024-10-21
2026-08-04 11:20
✅ 완료

🇰🇷 한글 설명

Linux 커널의 bpf_uprobe_multi_link_attach() 함수에서 Use-After-Free 취약점이 발견되었습니다. bpf_link_prime() 호출 실패 시 bpf_uprobe를 등록 해제하지 않고 메모리를 해제하여, uprobe 소비자 목록에 남아있는 상태로 메모리가 해제되는 문제가 발생합니다.

💡 쉬운 설명

프로그램이 사용 중인 메모리 영역을 실수로 먼저 삭제해버리는 오류가 있습니다. 이로 인해 시스템이 불안정해지거나 해커가 시스템 권한을 탈취할 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: bpf: Fix use-after-free in bpf_uprobe_multi_link_attach() If bpf_link_prime() fails, bpf_uprobe_multi_link_attach() goes to the error_free label and frees the array of bpf_uprobe's without calling bpf_uprobe_unregister(). This leaks bpf_uprobe->uprobe and worse, this frees bpf_uprobe->consumer without removing it from the uprobe->consumers list.

📍 영향받는 시스템

bpf_uprobe 기능을 사용하는 Linux 커널 버전

⚔️ 공격 벡터

특수하게 조작된 BPF 프로그램을 통해 커널 메모리 오류를 유도하여 권한 상승 시도

🛡️ 대응 방법

해당 취약점이 수정된 최신 Linux 커널 버전으로 업데이트

🔧 검증 코드

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

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