{"id":"CVE-2026-80932","aliases":["CVE-2026-80932"],"related":[],"kind":"vulnerability","state":"published","title":"vsock/virtio: flush works in dependency order","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nvsock/virtio: flush works in dependency order\n\nvirtio_vsock_remove() stops the virtqueues and then flushes each work\nitem before freeing the enclosing virtio_vsock.  The current order does\nnot account for dependencies between those items: tx_work may queue\nsend_pkt_work, and send_pkt_work may queue rx_work.\n\nIn particular, send_pkt_work can set restart_rx and release tx_lock.\nThe remove path can then stop the queues and flush rx_work before\nsend_pkt_work queues it.  Although the later send_pkt_work flush waits\nfor that producer to finish, nothing waits for the newly queued rx_work,\nso kfree(vsock) can race with it.\n\nKASAN reported:\n\n  BUG: KASAN: slab-use-after-free in\n  virtio_transport_rx_work+0x487/0x4b0\n  Read of size 8 at addr ffff888114c2b008 by task kworker/1:1/47\n  Workqueue: virtio_vsock virtio_transport_rx_work\n  Call Trace:\n   virtio_transport_rx_work+0x487/0x4b0\n   process_one_work+0x688/0x1120\n   worker_thread+0x45b/0xd10\n  Allocated by task 1:\n   virtio_vsock_probe+0xef/0x6b0\n  Freed by task 84:\n   kfree+0x131/0x3c0\n   virtio_vsock_remove+0xd1/0x100\n\nFlush the works in producer-to-consumer order.  virtio_vsock_vqs_del()\nhas already disabled the queue callbacks and cleared the run flags, so\nafter tx_work and send_pkt_work are drained, no source remains that can\nqueue rx_work after its flush.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nvsock/virtio: flush works in dependency order\n\nvirtio_vsock_remove() stops the virtqueues and then flushes each work\nitem before freeing the enclosing virtio_vsock.  The current order does\nnot account for dependencies between those items: tx_work may queue\nsend_pkt_work, and send_pkt_work may queue rx_work.\n\nIn particular, send_pkt_work can set restart_rx and release tx_lock.\nThe remove path can then stop the queues and flush rx_work before\nsend_pkt_work queues it.  Although the later send_pkt_work flush waits\nfor that producer to finish, nothing waits for the newly queued rx_work,\nso kfree(vsock) can race with it.\n\nKASAN reported:\n\n  BUG: KASAN: slab-use-after-free in\n  virtio_transport_rx_work+0x487/0x4b0\n  Read of size 8 at addr ffff888114c2b008 by task kworker/1:1/47\n  Workqueue: virtio_vsock virtio_transport_rx_work\n  Call Trace:\n   virtio_transport_rx_work+0x487/0x4b0\n   process_one_work+0x688/0x1120\n   worker_thread+0x45b/0xd10\n  Allocated by task 1:\n   virtio_vsock_probe+0xef/0x6b0\n  Freed by task 84:\n   kfree+0x131/0x3c0\n   virtio_vsock_remove+0xd1/0x100\n\nFlush the works in producer-to-consumer order.  virtio_vsock_vqs_del()\nhas already disabled the queue callbacks and cleared the run flags, so\nafter tx_work and send_pkt_work are drained, no source remains that can\nqueue rx_work after its flush.","source":"cvelist"}],"published":"2026-09-11T19:42:07.012Z","modified":"2026-10-19T09:17:24.287Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.4,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.4,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"0ea9e1d3a9e3ef7d2a1462d3de6b95131dc7d872","fixed":"e059a14c1067bcc4f7b1947cd09f2baab98e340f","status":"affected"},{"type":"git","introduced":"0ea9e1d3a9e3ef7d2a1462d3de6b95131dc7d872","fixed":"531e2ac2dab1ab90a16427c4f9c86663633e9487","status":"affected"},{"type":"git","introduced":"0ea9e1d3a9e3ef7d2a1462d3de6b95131dc7d872","fixed":"f3313d952fc380cff53db9a28451a8807aa67b43","status":"affected"},{"type":"git","introduced":"0ea9e1d3a9e3ef7d2a1462d3de6b95131dc7d872","fixed":"b9cb4e8ba71c9fbd935d66baa71bbb0b87192c94","status":"affected"},{"type":"git","introduced":"0ea9e1d3a9e3ef7d2a1462d3de6b95131dc7d872","fixed":"2187a56f2fd1715d54daed6392809223c60544f3","status":"affected"},{"type":"git","introduced":"0ea9e1d3a9e3ef7d2a1462d3de6b95131dc7d872","fixed":"165a330a68b5f299d8735f0194c314cb2e571269","status":"affected"},{"type":"git","introduced":"0ea9e1d3a9e3ef7d2a1462d3de6b95131dc7d872","fixed":"da5e9f08714c19ba04e6863aca69d40f042f2e04","status":"affected"},{"type":"git","introduced":"0ea9e1d3a9e3ef7d2a1462d3de6b95131dc7d872","fixed":"728836ebca239810f164262b10211ef59182f811","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.8","status":"unaffected"},{"type":"semver","introduced":"5.10.270","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.109","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.50","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.4","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/e059a14c1067bcc4f7b1947cd09f2baab98e340f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/531e2ac2dab1ab90a16427c4f9c86663633e9487","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f3313d952fc380cff53db9a28451a8807aa67b43","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b9cb4e8ba71c9fbd935d66baa71bbb0b87192c94","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2187a56f2fd1715d54daed6392809223c60544f3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/165a330a68b5f299d8735f0194c314cb2e571269","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/da5e9f08714c19ba04e6863aca69d40f042f2e04","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/728836ebca239810f164262b10211ef59182f811","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T19:21:23.480Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-80932","url":"https://www.cve.org/CVERecord?id=CVE-2026-80932","licence":"CVE Terms of Use","modified":"2026-10-19T08:45:16.044Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-80932","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80932","licence":"Public domain","modified":"2026-10-19T09:17:24.287Z"}],"updatedAt":"2026-11-25T22:59:37.984Z","epss":{"score":0.00138,"percentile":0.03379,"date":"2026-12-01T12:00:22.000Z"}}