🔍 CVE-2026-90433

0.0
CVSS Score
UNKNOWN
2026-09-17
2026-10-21 13:20
✅ 완료

🇰🇷 한글 설명

Linux 커널의 oc-tiny SPI 드라이버에서 컨트롤러 할당 방식과 인터럽트 해제 순서가 일치하지 않아 발생하는 취약점입니다. 컨트롤러가 인터럽트 핸들러보다 먼저 해제될 수 있어, 지연된 인터럽트가 이미 해제된 메모리에 접근하여 시스템 오류를 유발할 수 있습니다.

💡 쉬운 설명

장치를 끌 때 프로그램이 메모리를 먼저 지워버린 후, 뒤늦게 들어온 신호가 이미 사라진 메모리를 건드려 시스템이 멈추거나 오류가 발생하는 문제입니다. 이를 해결하기 위해 신호를 먼저 안전하게 차단한 뒤 메모리를 지우도록 순서를 수정했습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: spi: oc-tiny: switch to managed controller allocation The controller is allocated with the non-managed spi_alloc_host() while the interrupt is registered with devm_request_irq(). During removal, spi_bitbang_stop() only unregisters the controller; the subsequent spi_controller_put() then frees the controller together with its embedded driver-private devdata, which is the IRQ handler's dev_id. The devm_request_irq() release action (free_irq()), which drains the handler, does not run until after .remove() returns. A late or latched interrupt can therefore reach tiny_spi_irq() and dereference already-freed memory (e.g. hw->base). Switch to devm_spi_alloc_host() so that the devres LIFO order releases the controller only after free_irq() has drained the handler, and drop the now-redundant spi_controller_put() from .remove(). The probe error path is simplified to direct returns. This issue was found by an in-house static analysis tool.

📍 영향받는 시스템

Linux kernel (oc-tiny SPI driver 사용 환경)

⚔️ 공격 벡터

하드웨어 인터럽트 신호를 이용한 Use-After-Free (UAF) 유발

🛡️ 대응 방법

커널 패치를 통해 spi_alloc_host()를 devm_spi_alloc_host()로 교체하여 자원 해제 순서를 보장해야 함

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인하십시오.

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel