🇰🇷 한글 설명
Linux 커널의 phonet 네트워크 드라이버에서 RCU grace period를 고려하지 않고 메모리를 즉시 해제하여 발생하는 Use-After-Free 취약점입니다. 리스트에서 장치를 제거한 후에도 RCU 리더가 해당 객체를 참조할 수 있어 슬랩 메모리 오류를 유발할 수 있습니다.
💡 쉬운 설명
컴퓨터가 사용 중인 데이터를 너무 빨리 지워버려서, 다른 프로그램이 그 데이터를 쓰려고 할 때 오류가 발생하는 문제입니다. 이로 인해 시스템이 멈추거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net: phonet: free phonet_device after RCU grace period
phonet_device_destroy() removes a phonet_device from the per-net device
list with list_del_rcu(), but frees it immediately. RCU readers walking
the same list can still hold a pointer to the object after it has been
removed, leading to a slab-use-after-free.
Use kfree_rcu(), matching the lifetime rule already used by
phonet_address_del() for the same object type.
📍 영향받는 시스템
Linux kernel (phonet driver 포함 버전)
⚔️ 공격 벡터
로컬 공격자가 특정 네트워크 장치 조작을 통해 메모리 오류를 유발하여 권한 상승 또는 시스템 중단을 시도할 수 있음
🛡️ 대응 방법
phonet_device_destroy() 함수를 kfree_rcu()를 사용하도록 수정된 최신 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 패치된 최신 보안 업데이트 버전인지 확인