🇰🇷 한글 설명
Linux 커널의 IPMI 이벤트 전달 과정에서 사용자 참조 횟수(refcount)가 언더플로되는 취약점이 발견되었습니다. 이벤트 전달 실패 시 롤백 과정에서 참조 횟수를 중복으로 감소시켜, 이미 해제된 사용자 객체를 참조하거나 시스템 오류를 유발할 수 있습니다.
💡 쉬운 설명
컴퓨터가 작업을 정리하는 과정에서 실수로 이미 삭제된 정보를 다시 삭제하려고 시도하는 오류입니다. 이로 인해 시스템이 불안정해지거나 예상치 못한 오류가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ipmi: Fix user refcount underflow in event delivery
ipmi_alloc_recv_msg(user) takes the temporary user reference owned by the
receive message, and ipmi_free_recv_msg() drops it again. If event delivery
fails after allocating receive messages for earlier users,
handle_read_event_rsp() rolls those messages back with
ipmi_free_recv_msg().
That rollback path still drops user->refcount explicitly after freeing each
message. The extra put can free a user that remains linked on intf->users,
so later event delivery may dereference a freed user or trip refcount_t's
addition-on-zero warning when ipmi_alloc_recv_msg() tries to acquire
another reference.
Remove the stale explicit put and the now-dead user assignment. Keep the
list_del() and ipmi_free_recv_msg() calls; they are the required rollback
operations.
📍 영향받는 시스템
IPMI 기능을 사용하는 Linux 커널 버전
⚔️ 공격 벡터
특정 조건에서 IPMI 이벤트 전달 실패를 유도하여 참조 횟수 오류를 발생시킴
🛡️ 대응 방법
해당 취약점이 수정된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 패치된 버전인지 배포판 보안 공지를 통해 확인