🇰🇷 한글 설명
Linux 커널의 macvlan 모듈 내 macvlan_forward_source() 함수에서 발생할 수 있는 Use-After-Free(UAF) 취약점이 해결되었습니다. macvlan_hash_del_source() 호출 시 RCU 보호를 위해 vlan 포인터를 적절히 초기화하도록 수정되었습니다.
💡 쉬운 설명
네트워크 연결을 관리하는 과정에서 이미 삭제된 메모리 영역을 다시 참조하여 시스템 오류나 보안 문제가 발생할 수 있는 결함입니다. 이 결함은 메모리 관리 방식을 개선함으로써 해결되었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
macvlan: fix possible UAF in macvlan_forward_source()
Add RCU protection on (struct macvlan_source_entry)->vlan.
Whenever macvlan_hash_del_source() is called, we must clear
entry->vlan pointer before RCU grace period starts.
This allows macvlan_forward_source() to skip over
entries queued for freeing.
Note that macvlan_dev are already RCU protected, as they
are embedded in a standard netdev (netdev_priv(ndev)).
https: //lore.kernel.org/netdev/
[email protected]/T/#u
📍 영향받는 시스템
macvlan 모듈을 사용하는 Linux 커널 버전
⚔️ 공격 벡터
특수하게 조작된 네트워크 패킷을 통해 메모리 해제 후 재사용을 유도하는 방식
🛡️ 대응 방법
해당 취약점이 수정된 최신 버전의 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 패치가 적용된 보안 업데이트 버전인지 확인