🇰🇷 한글 설명
Linux 커널의 rapidio/tsi721 드라이버에서 tsi721_db_dpc() 함수 실행 중 잘못된 역참조가 발생할 수 있는 취약점입니다. 반복문 내에서 'found' 변수가 적절히 초기화되지 않아, 검색 대상이 없는 경우 유효하지 않은 메모리 주소를 가리키게 됩니다.
💡 쉬운 설명
컴퓨터가 특정 정보를 찾을 때, 찾지 못했음에도 불구하고 잘못된 위치를 확인하려고 시도하여 오류가 발생하는 문제입니다. 이로 인해 시스템이 갑자기 멈추거나 비정상적으로 동작할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
rapidio/tsi721: prevent a bad dereference in tsi721_db_dpc()
With a list_for_each() loop, if we don't find the item we are looking for
in the list, then the loop exits with the iterator, which is "dbell" in
this loop, pointing to invalid memory.
This code uses the "found" variable to determine if we have found the
doorbell we are looking for or not. However, the problem that the "found"
variable needs to be set to false at the start of each iteration,
otherwise after the first correct doorbell, then everything is marked as
found.
Reset the "found" to false at the start of the iteration and move the
variable inside the loop.
📍 영향받는 시스템
Linux kernel (rapidio/tsi721 드라이버를 사용하는 시스템)
⚔️ 공격 벡터
특정 하드웨어 인터럽트 또는 드라이버 호출을 통한 메모리 잘못된 접근 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.