{"id":"CVE-2026-97995","published":"2026-09-25T11:17:27.750","lastModified":"2026-09-25T11:17:27.750","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nvirtio_console: do not free control-out buffers on remove\n\n__send_control_msg() publishes &portdev->cpkt as the control-out\nvirtqueue cookie. remove_vqs() walks every virtqueue and passes leftover\ncookies to free_buf(), which treats them as struct port_buffer and\nreads sgpages.\n\nIf a control message is still on c_ovq when the device is unbound,\nfree_buf() reads past the ports_device object.\n\nKASAN reported slab-out-of-bounds in free_buf():\n\n\tfree_buf\n\tremove_vqs\n\tvirtcons_remove\n\tunbind_store\n\nThe object was the ports_device allocated in virtcons_probe().\n\nDrain c_ovq without freeing. The packet lives in portdev and is released\nwith it.","cvssScore":null,"cvssSeverity":null,"cvssVector":null,"cwes":[],"vendors":[],"products":[],"references":[{"url":"https://git.kernel.org/stable/c/177ee901aa2bab02e7f1f8edbb814fd5e386ed62","tags":[]},{"url":"https://git.kernel.org/stable/c/894f98e73983f37354214a89a3a7fd35bf9e3072","tags":[]},{"url":"https://git.kernel.org/stable/c/a80c33488e0bbe642ed803b13a4ac8078a70b507","tags":[]},{"url":"https://git.kernel.org/stable/c/f620c40ea6862feed84deb105568b21ec53a7830","tags":[]}],"exploitRefs":[],"hasPoc":false,"ai":null}