🔍 CVE-2026-98662

0.0
CVSS Score
UNKNOWN
2026-10-18
2026-10-21 13:21
✅ 완료

🇰🇷 한글 설명

Linux 커널의 iio: light: gp2ap020a00f 드라이버에서 인터럽트 핸들러가 이미 큐에 등록한 작업을 해제되지 않은 상태로 남겨두어 발생하는 Use-After-Free 취약점입니다. 장치 제거 시 irq_work를 동기화하지 않아 이미 해제된 메모리 영역에 접근할 수 있습니다.

💡 쉬운 설명

기기가 꺼질 때 처리해야 할 작업이 남아있는데, 시스템이 이를 무시하고 메모리를 먼저 비워버려 발생하는 오류입니다. 이로 인해 시스템이 갑자기 멈추거나 보안 문제가 생길 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: iio: light: gp2ap020a00f: drain irq_work after free_irq The threaded IRQ handler queues data->work through irq_work_queue() so the trigger is polled from a per-CPU context. free_irq() does not flush an irq_work the handler already queued, so after gp2ap020a00f_remove() returns that work may still run and call iio_trigger_poll() on data->trig, which the devm cleanup has already freed, causing a use-after-free. Add irq_work_sync(&data->work) after free_irq() in remove() and in the probe error path, mirroring commit 78601726d4a5 ("iio: trigger: sysfs: fix use-after-free on remove"). Found by an in-house static analysis tool, confirmed by manual review.

📍 영향받는 시스템

gp2ap020a00f 드라이버를 사용하는 Linux 커널 기반 시스템

⚔️ 공격 벡터

로컬 공격자가 장치 드라이버의 제거 프로세스를 유도하여 메모리 오류를 발생시킴

🛡️ 대응 방법

커널 패치를 적용하여 free_irq() 호출 후 irq_work_sync()를 수행하도록 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 수정된 패치 버전인지 확인

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel