🔍 CVE-2026-97986

0.0
CVSS Score
UNKNOWN
2026-09-25
2026-10-19 10:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 virtio_input 구성 요소에서 입력 장치를 등록 해제하기 전에 콜백을 중단하지 않는 취약점이 발견되었습니다. 이로 인해 장치가 제거되는 과정에서 이미 통과된 콜백이 유효하지 않은 장치 자원에 접근하여 버퍼를 재큐잉하거나 큐를 호출하는 문제가 발생할 수 있습니다.

💡 쉬운 설명

컴퓨터의 가상 입력 장치가 꺼질 때, 장치가 완전히 사라지기 전에 남아있는 작업들이 잘못된 메모리 영역을 건드려 시스템 오류를 일으킬 수 있는 문제입니다. 장치가 꺼지는 순서를 올바르게 조정하여 이러한 충돌을 방지해야 합니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: virtio_input: stop callbacks before unregistering input device virtinput_remove() unregisters the input device before resetting the virtio device. virtinput_recv_events() drops vi->lock around input_event(), so clearing vi->ready does not stop a callback that passed the entry check. It can still use vi->idev, requeue buffers and kick the queue. Reset first, as virtinput_freeze() already does. With the preceding core change, reset waits for callbacks before input_unregister_device() can free vi->idev. Recheck vi->ready after taking the lock again: keep draining completed events so an input packet is not truncated, but stop requeueing buffers and kicking the queue. With evdev attached, input_unregister_handle() currently waits for an RCU grace period, which also waits out IRQ callbacks. This masks the lifetime bug on PCI and MMIO, but does not protect sleepable callbacks on other transports.

📍 영향받는 시스템

Linux kernel (virtio_input 모듈을 사용하는 환경)

⚔️ 공격 벡터

로컬 공격자가 특정 가상화 환경에서 입력 장치의 등록 해제 과정을 유도하여 커널 메모리 오류를 발생시킬 수 있음

🛡️ 대응 방법

virtio_input의 콜백 중단 로직이 수정된 최신 Linux 커널 버전으로 업데이트

🔧 검증 코드

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

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel