🇰🇷 한글 설명
Linux 커널의 IPMI 드라이버에서 등록 실패 시 sysfs 파일이 완전히 제거되지 않는 취약점이 발견되었습니다. ipmi_add_smi() 함수가 maintenance_mode 파일 생성에 실패할 경우, nr_msgs 파일이 삭제되지 않고 남아 있어 메모리 해제된 인터페이스에 속성이 남게 됩니다. 이 패치를 통해 등록 실패 시 모든 sysfs 파일을 올바르게 제거하도록 수정되었습니다.
💡 쉬운 설명
컴퓨터의 관리 기능을 담당하는 부품이 제대로 작동하지 않을 때, 흔적이 남아서 시스템에 혼란을 줄 수 있는 문제입니다. 이 흔적을 깨끗이 지우지 않으면 시스템 오류나 보안 문제가 생길 수 있어 이를 수정하는 업데이트입니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ipmi: Remove all sysfs files on registration failure
ipmi_add_smi() creates the nr_users and nr_msgs files before trying to
create the maintenance_mode file. If that last creation fails, the error
path removes only nr_users before dropping the final reference to the
interface.
Remove nr_msgs as well so no sysfs attribute embedded in the freed
interface remains registered.
📍 영향받는 시스템
Linux Kernel (IPMI driver 관련 버전)
⚔️ 공격 벡터
로컬 시스템에서 IPMI 인터페이스 등록 실패를 유도하여 잔류하는 sysfs 속성을 이용한 공격
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이상인지 확인하십시오.