🇰🇷 한글 설명
Linux 커널의 ice 드라이버에서 ice_sf_eth_activate() 함수의 에러 처리 경로에서 이중 메모리 해제(double free) 취약점이 발견되었습니다. 보조 장치 추가 실패 시 sf_dev가 이미 해제된 후 kfree를 다시 호출하여 시스템 불안정을 초래할 수 있습니다.
💡 쉬운 설명
프로그램이 오류가 발생했을 때 메모리를 두 번 삭제하려고 해서 시스템이 충돌하거나 해킹에 이용될 수 있는 문제입니다. 이는 시스템의 안정성을 해치며, 악의적인 사용자가 이를 통해 권한 상승을 시도할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ice: fix double free in ice_sf_eth_activate() error path
When auxiliary_device_add() fails, ice_sf_eth_activate() jumps to
aux_dev_uninit and calls auxiliary_device_uninit(&sf_dev->adev).
The device release callback ice_sf_dev_release() frees sf_dev, but
the current error path falls through to sf_dev_free and calls
kfree(sf_dev) again, causing a double free.
Keep kfree(sf_dev) for the auxiliary_device_init() failure path, but
avoid falling through to sf_dev_free after auxiliary_device_uninit().
📍 영향받는 시스템
Linux kernel (ice 드라이버 포함)
⚔️ 공격 벡터
로컬 또는 원격에서 보조 장치 초기화 실패를 유발하여 이중 해제 코드를 실행
🛡️ 대응 방법
Linux 커널을 최신 안정 버전으로 업데이트하여 ice 드라이버 패치 적용
🔧 검증 코드
출력된 커널 버전이 패치가 적용된 최신 버전인지 확인