🇰🇷 한글 설명
리눅스 커널의 netlink 서브시스템에서 genetlink 패밀리를 삭제할 때, 해당 패밀리를 사용하는 리스너가 남아있을 경우 안전하지 않은 루프가 발생할 수 있습니다. 이로 인해 커널 메모리 접근 오류가 발생하며 시스템이 충돌(Crash)할 수 있는 취약점입니다.
💡 쉬운 설명
리눅스 운영체제의 통신 기능 중 일부를 삭제할 때, 사용 중인 연결이 남아 있으면 시스템이 갑자기 멈추거나 꺼질 수 있는 문제입니다. 데이터 삭제 과정에서 순서가 꼬여 발생하는 오류입니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net: Fix an unsafe loop on the list
The kernel may crash when deleting a genetlink family if there are still
listeners for that family:
Oops: Kernel access of bad area, sig: 11 [#1]
...
NIP [c000000000c080bc] netlink_update_socket_mc+0x3c/0xc0
LR [c000000000c0f764] __netlink_clear_multicast_users+0x74/0xc0
Call Trace:
__netlink_clear_multicast_users+0x74/0xc0
genl_unregister_family+0xd4/0x2d0
Change the unsafe loop on the list to a safe one, because inside the
loop there is an element removal from this list.
📍 영향받는 시스템
Linux Kernel (genetlink 관련 모듈을 사용하는 버전)
⚔️ 공격 벡터
로컬 권한을 가진 공격자가 특정 netlink 패밀리를 해제하는 과정을 유도하여 커널 패닉 유발
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인