🇰🇷 한글 설명
리눅스 커널의 nexthop 구성 요소에서 remove_nh_grp_entry() 함수 호출 시 extack 변수가 초기화되지 않는 취약점이 발견되었습니다. 이로 인해 할당 실패 시 초기화되지 않은 스택 포인터를 참조하게 되어 시스템 불안정성을 초래할 수 있습니다.
💡 쉬운 설명
컴퓨터의 핵심 운영체제인 리눅스에서 특정 정보를 처리할 때, 준비되지 않은 메모리 공간을 잘못 건드리는 오류가 있습니다. 이 오류로 인해 시스템이 갑자기 멈추거나 예상치 못한 동작을 할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
nexthop: Initialize extack in remove_nh_grp_entry()
remove_nh_grp_entry() prints the extack message when a listener fails
to replace the reduced nexthop group. However, extack is not
initialized and listeners are not required to set a message when
returning an error. Neither netdevsim nor mlxsw do so when an
allocation fails, resulting in the dereference of an uninitialized
stack pointer.
Fix by zero-initializing extack, as was done in commit 6347c5314cee
("nexthop: initialize extack in nh_res_bucket_migrate()").
📍 영향받는 시스템
Linux Kernel (nexthop 관련 모듈 사용 시스템)
⚔️ 공격 벡터
로컬 공격자가 네트워크 구성 변경을 유도하여 초기화되지 않은 스택 포인터를 참조하게 함으로써 시스템 오류 유발
🛡️ 대응 방법
커널 패치를 적용하여 extack 변수를 0으로 초기화하는 업데이트를 수행하십시오.
🔧 검증 코드
현재 실행 중인 커널 버전을 확인하여 해당 취약점이 수정된 패치 버전인지 확인하십시오.