🇰🇷 한글 설명
Linux 커널의 spi-zynqmp-gqspi 드라이버에서 zynqmp_qspi_exec_op 함수 처리 중 Use-After-Free 취약점이 발견되었습니다. op->addr를 처리할 때 이미 해제된 'tmpbuf' 버퍼를 참조하여 KASAN 경고를 발생시킵니다.
💡 쉬운 설명
컴퓨터 메모리에서 이미 사용이 끝나서 버려진 공간을 다시 사용하려고 할 때 발생하는 오류입니다. 이로 인해 시스템이 멈추거나 보안 공격에 악용될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
spi: spi-zynqmp-gqspi: fix use-after-free in zynqmp_qspi_exec_op
When handling op->addr, it is using the buffer "tmpbuf" which has been
freed. This will trigger a use-after-free KASAN warning. Let's use
temporary variables to store op->addr.val and op->cmd.opcode to fix
this issue.
📍 영향받는 시스템
Linux kernel (spi-zynqmp-gqspi 드라이버를 사용하는 ZynqMP 기반 시스템)
⚔️ 공격 벡터
특정 SPI 명령을 통해 메모리 해제 후 재사용을 유도하는 로컬 또는 원격 공격
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.