🇰🇷 한글 설명
Linux 커널의 bcmgenet 드라이버에서 네트워크 인터페이스를 다시 활성화할 때 설정된 하드웨어 필터 규칙이 유실되는 취약점입니다. 기존에는 인터페이스를 열 때마다 규칙 목록을 초기화하여 사용자가 설정한 ethtool 규칙이 삭제되었습니다. 이를 해결하기 위해 프로브 단계에서 목록을 초기화하고 인터페이스 오픈 시 규칙을 복구하도록 수정되었습니다.
💡 쉬운 설명
네트워크 카드를 껐다 켤 때마다 사용자가 설정해둔 네트워크 규칙들이 자동으로 사라지는 문제입니다. 이로 인해 네트워크 보안이나 트래픽 제어 설정이 의도치 않게 초기화될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net: bcmgenet: restore the hardware filters on open
bcmgenet_hfb_init() runs INIT_LIST_HEAD() on priv->rxnfc_list, which drops
every rule off the list, and bcmgenet_open() calls it on each ifup. Every
rule the user configured is silently lost:
# ethtool -N eth0 flow-type ether dst $MAC action 0
Added rule with ID 0
# ethtool -n eth0 | grep -c Filter:
1
# ip link set eth0 down && ip link set eth0 up
# ethtool -n eth0 | grep -c Filter:
0
Initialise the lists once at probe and restore the rules on open, as
bcmgenet_resume() already does.
📍 영향받는 시스템
bcmgenet 드라이버를 사용하는 Linux 커널 기반 시스템
⚔️ 공격 벡터
직접적인 공격보다는 시스템 재시작 또는 네트워크 인터페이스 재설정 시 설정 유실로 인한 서비스 가용성 저하
🛡️ 대응 방법
bcmgenet 패치가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인