🇰🇷 한글 설명
리눅스 커널의 Microchip PCI1xxxx 드라이버에서 gp_aux_bus_probe() 함수 오류 처리 중 메모리가 중복 해제되는 Double Free 취약점이 발견되었습니다. auxiliary_device_add()가 오류를 반환할 때 이미 해제된 메모리를 다시 해제하려고 시도하여 시스템 불안정성을 유발할 수 있습니다.
💡 쉬운 설명
컴퓨터가 사용이 끝난 메모리를 정리하는 과정에서 실수로 두 번 정리하려고 시도하는 오류입니다. 이로 인해 시스템이 갑자기 멈추거나 보안 문제가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
misc: microchip: pci1xxxx: fix double free in the error handling of gp_aux_bus_probe()
When auxiliary_device_add() returns error and then calls
auxiliary_device_uninit(), callback function
gp_auxiliary_device_release() calls ida_free() and
kfree(aux_device_wrapper) to free memory. We should't
call them again in the error handling path.
Fix this by skipping the redundant cleanup functions.
📍 영향받는 시스템
Microchip PCI1xxxx 드라이버를 사용하는 리눅스 커널 버전
⚔️ 공격 벡터
특정 하드웨어 초기화 과정에서 오류를 유도하여 메모리 해제 로직을 트리거함
🛡️ 대응 방법
해당 취약점이 수정된 최신 리눅스 커널 버전으로 업데이트
🔧 검증 코드
현재 실행 중인 커널 버전을 확인하여 수정된 패치가 적용된 버전인지 확인