🇰🇷 한글 설명
Linux 커널의 tegra210-quad SPI 드라이버에서 인터럽트 핸들러와 데이터 전송 루프 간의 레이스 컨디션 취약점이 발견되었습니다. curr_xfer 필드를 보호하는 스핀락이 누락되어, 인터럽트 핸들러가 불완전하게 업데이트된 값을 읽을 경우 NULL 포인터 역참조 또는 Use-After-Free가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터 부품에 데이터를 보내는 과정에서 데이터가 채 정리되기도 전에 다른 작업이 끼어들어 오류가 발생하는 문제입니다. 이로 인해 시스템이 갑자기 멈추거나 보안상 위험한 상태가 될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
spi: tegra210-quad: Protect curr_xfer in tegra_qspi_combined_seq_xfer
The curr_xfer field is read by the IRQ handler without holding the lock
to check if a transfer is in progress. When clearing curr_xfer in the
combined sequence transfer loop, protect it with the spinlock to prevent
a race with the interrupt handler.
Protect the curr_xfer clearing at the exit path of
tegra_qspi_combined_seq_xfer() with the spinlock to prevent a race
with the interrupt handler that reads this field.
Without this protection, the IRQ handler could read a partially updated
curr_xfer value, leading to NULL pointer dereference or use-after-free.
📍 영향받는 시스템
Linux kernel (tegra210-quad SPI driver 사용 시스템)
⚔️ 공격 벡터
로컬 공격자가 특정 타이밍에 SPI 전송을 유도하여 커널 메모리 오류 유발
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.