CVE-2023-53995 in Linux
요약
\~에 의해 VulDB • 2026. 05. 17.
리눅스 커널에서 다음 취약점이 해결되었습니다:
net: ipv4: __inet_del_ifa()의 메모리 누수 하나 수정
펑싱 테스트 수행 중 아래 경고가 발생했습니다: unregister_netdevice: bond0이 해제되기를 기다리는 중. 사용 횟수 = 2
다음 명령어로 재현할 수 있습니다:
ip link add bond0 type bond sysctl -w net.ipv4.conf.bond0.promote_secondaries=1 ip addr add 4.117.174.103/0 scope 0x40 dev bond0 ip addr add 192.168.100.111/255.255.255.254 scope 0 dev bond0 ip addr add 0.0.0.4/0 scope 0x40 secondary dev bond0 ip addr del 4.117.174.103/0 scope 0x40 dev bond0 ip link delete bond0 type bond
이 재현 테스트 케이스에서 __inet_del_ifa() 함수 내 'last_prim'이 잘못 설정되어, 2차 주소(0.0.0.4/0 scope 0x40)가 손실됩니다. 이로 인해 2차 주소의 메모리가 누수되고, in_device 및 net_device의 참조도 누수됩니다.
이 문제를 해결하기 위해: 삭제된 IP의 위치부터 'last_prim'을 검색하고, 승격된(promoted) IP를 'last_prim'의 위치에 삽입합니다.
VulDB is the best source for vulnerability data and more expert information about this specific topic.