{"id":"CVE-2026-139698","summary":"virtio_pci_modern: move avq cleanup from reset to del_vqs","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nvirtio_pci_modern: move avq cleanup from reset to del_vqs\n\nvp_modern_avq_cleanup() detaches unused buffers from the admin\nvirtqueue. Calling it from vp_reset() is incorrect:\nvirtqueue_get_buf in the avq interrupt handler can race with\nvirtqueue_detach_unused_buf in cleanup, and get_buf after\ndetach is not documented as valid.\n\nThe root cause is that detaching buffers does not belong in\nreset at all - reset quiesces the device, while cleanup belongs\nwhere the virtqueue is about to be destroyed, from del_vqs.","modified":"2026-11-30T15:02:30.294299417Z","published":"2026-11-30T13:37:09.022Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139698.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2a12d96dd863cb23eadf07d8845e961580b5fcdf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/62a12571c144cc551ada72847c2b3c4c78fc14d1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/70e410a3a64bd8c5643763a9613a3c87e4c8b3b1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/91a626e5479464fb4fa6c5bd649568458c5c588f"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139698.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139698"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"4c3b54af907e709609d3d8beca92d65e2f0cfd83"},{"fixed":"62a12571c144cc551ada72847c2b3c4c78fc14d1"},{"fixed":"70e410a3a64bd8c5643763a9613a3c87e4c8b3b1"},{"fixed":"91a626e5479464fb4fa6c5bd649568458c5c588f"},{"fixed":"2a12d96dd863cb23eadf07d8845e961580b5fcdf"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139698.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.11.0"},{"fixed":"6.12.119"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.65"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139698.json"}}],"schema_version":"1.9.2"}