🇰🇷 한글 설명
리눅스 커널의 BPF(Berkeley Packet Filter) 구성 요소에서 bpf_link_free() 함수 호출 시 발생할 수 있는 Use-After-Free 취약점입니다. 특정 조건에서 이미 해제된 메모리 객체를 다시 참조하여 시스템 불안정성이나 권한 상승을 초래할 수 있습니다.
💡 쉬운 설명
컴퓨터의 핵심 운영체제인 리눅스에서 이미 사용이 끝난 메모리 공간을 실수로 다시 사용하려고 할 때 발생하는 오류입니다. 이 오류를 이용하면 해커가 시스템의 제어권을 뺏을 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
bpf: Fix a potential use-after-free in bpf_link_free()
After commit 1a80dbcb2dba, bpf_link can be freed by
link->ops->dealloc_deferred, but the code still tests and uses
link->ops->dealloc afterward, which leads to a use-after-free as
reported by syzbot. Actually, one of them should be sufficient, so
just call one of them instead of both. Also add a WARN_ON() in case
of any problematic implementation.
📍 영향받는 시스템
bpf_link 관련 취약점이 포함된 특정 버전의 Linux Kernel
⚔️ 공격 벡터
로컬 공격자가 특수하게 조작된 BPF 프로그램을 실행하여 메모리 오류를 유도함
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트함
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인합니다.