kcve.ai취약점 정보 · 내 자산 확인

CVE-2026-97995 virtio_console: do not free control-out buffers on remove

설명

In the Linux kernel, the following vulnerability has been resolved: virtio_console: do not free control-out buffers on remove __send_control_msg() publishes &portdev->cpkt as the control-out virtqueue cookie. remove_vqs() walks every virtqueue and passes leftover cookies to free_buf(), which treats them as struct port_buffer and reads sgpages. If a control message is still on c_ovq when the device is unbound, free_buf() reads past the ports_device object. KASAN reported slab-out-of-bounds in free_buf(): free_buf remove_vqs virtcons_remove unbind_store The object was the ports_device allocated in virtcons_probe(). Drain c_ovq without freeing. The packet lives in portdev and is released with it.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 3.16.60 이상 3.17 미만
    • 3.18.108 이상 3.19 미만
    • 4.1.52 이상 4.2 미만
    • 4.4.131 이상 4.5 미만
    • 4.9.98 이상 4.10 미만
    • 4.14.39 이상 4.15 미만
    • 4.16.7 이상 4.17 미만
    • 4.17

    해결 버전

    • 3.17 이상
    • 3.19 이상
    • 4.2 이상
    • 4.5 이상
    • 4.10 이상
    • 4.15 이상
    • 4.17 이상
    • 4.17 미만
    외 7개 구간 펼치기
    • 5.10.271 이상
    • 5.15.222 이상
    • 6.1.189 이상
    • 6.6.158 이상
    • 6.12.111 이상
    • 6.18.53 이상
    • 7.2.7 이상

참고 자료 8건

‹ 목록

점검 지원 범위 문의

도입 문의