🇰🇷 한글 설명
Linux 커널의 mtd slram 드라이버에서 장치 등록 과정 중 초기화가 완료되지 않은 항목이 전역 리스트에 남는 취약점이 발견되었습니다. 이로 인해 할당 실패 시 잘못된 상태를 참조하거나 해제하여 시스템 오류를 유발할 수 있습니다.
💡 쉬운 설명
새로운 장치를 등록하다가 중간에 오류가 발생했을 때, 덜 만들어진 장치 정보가 시스템 목록에 그대로 남아있는 문제입니다. 이 잘못된 정보를 나중에 시스템이 읽으려고 하면 컴퓨터가 멈추거나 오류가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
mtd: slram: remove failed entries from the device list
register_device() links a new slram_mtdlist entry before allocating all
of the state needed by the entry. If a later allocation, memremap(), or
mtd_device_register() fails, the partially initialized entry remains on
the global list. A later cleanup can then dereference or free invalid
state from that failed entry.
Unwind the partially initialized entry and clear the list tail on each
failure path after the entry has been linked.
📍 영향받는 시스템
Linux kernel (mtd: slram 관련 모듈 사용 시스템)
⚔️ 공격 벡터
메모리 할당 실패를 유도하여 잘못된 장치 리스트를 생성시킨 후 시스템 오류 유발
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.