🇰🇷 한글 설명
Linux 커널의 ipw2100 드라이버에서 ipw2100_pci_init_one() 함수 실행 중 오류가 발생할 경우 할당된 메모리가 해제되지 않는 메모리 누수 취약점이 발견되었습니다. 이를 해결하기 위해 오류 경로에서 메모리를 적절히 해제하도록 로직을 수정하였습니다.
💡 쉬운 설명
컴퓨터 부품을 작동시키는 과정에서 오류가 생겼을 때, 사용했던 메모리를 제대로 돌려주지 않고 계속 붙잡고 있는 문제가 있었습니다. 이 문제가 반복되면 시스템의 메모리가 부족해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
wifi: ipw2100: fix potential memory leak in ipw2100_pci_init_one()
The memory allocated in the ipw2100_alloc_device() function is not freed
in some of the error paths in ipw2100_pci_init_one(). Fix that by
converting the direct return into a goto to the error path return.
The error path when pci_enable_device() fails cannot jump to fail, since
at this point priv is not set, so perform error handling inline.
📍 영향받는 시스템
ipw2100 드라이버를 사용하는 Linux 커널 버전
⚔️ 공격 벡터
로컬 공격자가 특정 하드웨어 초기화 오류를 유도하여 시스템 메모리 고갈을 일으킬 수 있음
🛡️ 대응 방법
ipw2100 메모리 누수 패치가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이상인지 확인