🇰🇷 한글 설명
리눅스 커널의 net/packet 구성 요소에서 packet_set_ring()과 packet_notifier() 함수 간의 레이스 컨디션 취약점이 발견되었습니다. bind_lock이 해제된 사이 다른 스레드가 NETDEV_UP 이벤트를 처리하면서 발생하며, 이를 방지하기 위해 소켓 연결을 일시적으로 해제하는 수정이 적용되었습니다.
💡 쉬운 설명
컴퓨터의 네트워크 처리 과정에서 두 가지 작업이 동시에 일어나며 순서가 꼬이는 문제가 발생했습니다. 이로 인해 네트워크 설정이 불안정해지거나 예상치 못한 오류가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net/packet: fix a race in packet_set_ring() and packet_notifier()
When packet_set_ring() releases po->bind_lock, another thread can
run packet_notifier() and process an NETDEV_UP event.
This race and the fix are both similar to that of commit 15fe076edea7
("net/packet: fix a race in packet_bind() and packet_notifier()").
There too the packet_notifier NETDEV_UP event managed to run while a
po->bind_lock critical section had to be temporarily released. And
the fix was similarly to temporarily set po->num to zero to keep
the socket unhooked until the lock is retaken.
The po->bind_lock in packet_set_ring and packet_notifier precede the
introduction of git history.
📍 영향받는 시스템
레이스 컨디션이 존재하는 특정 버전의 Linux Kernel (net/packet 모듈 사용 시)
⚔️ 공격 벡터
네트워크 인터페이스의 상태 변화(NETDEV_UP)를 유도하여 커널 내 레이스 컨디션을 트리거함
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.