🇰🇷 한글 설명
Linux 커널의 tegra210-quad SPI 드라이버에서 타임아웃 처리 시 발생하는 취약점입니다. CPU 부하가 높을 때 인터럽트 스레드가 실행되기 전 타임아웃이 발생하면, curr_xfer 필드가 유효하지 않은 메모리를 가리키는 상태로 남게 됩니다.
💡 쉬운 설명
컴퓨터의 부품 간 통신 중 오류가 발생했을 때, 시스템이 잘못된 메모리 주소를 참조하여 문제가 생길 수 있는 결함입니다. 이로 인해 시스템이 불안정해지거나 예기치 않은 동작을 할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
spi: tegra210-quad: Fix timeout handling
When the CPU that the QSPI interrupt handler runs on (typically CPU 0)
is excessively busy, it can lead to rare cases of the IRQ thread not
running before the transfer timeout is reached.
While handling the timeouts, any pending transfers are cleaned up and
the message that they correspond to is marked as failed, which leaves
the curr_xfer field pointing at stale memory.
To avoid this, clear curr_xfer to NULL upon timeout and check for this
condition when the IRQ thread is finally run.
While at it, also make sure to clear interrupts on failure so that new
interrupts can be run.
A better, more involved, fix would move the interrupt clearing into a
hard IRQ handler. Ideally we would also want to signal that the IRQ
thread no longer needs to be run after the timeout is hit to avoid the
extra check for a valid transfer.
📍 영향받는 시스템
Linux kernel (tegra210-quad SPI driver 사용 시스템)
⚔️ 공격 벡터
로컬 공격자가 시스템 부하를 유도하여 특정 타이밍에 메모리 오류를 유발할 수 있음
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
현재 실행 중인 커널 버전을 확인하여 해당 취약점이 수정된 버전인지 확인합니다.