# CVE-2026-99301: virtio_net: atomically disable rx mode work

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-02)
- Published: 2026-11-16T09:59:27.162Z
- Modified: 2026-11-16T10:17:03.987Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

virtio_net: atomically disable rx mode work

virtio-net uses a boolean to gate rx_mode_work during device teardown.
The flag is changed under RTNL, but ndo_set_rx_mode checks it under the
address-list lock. A callback can therefore pass the check and enqueue work
after teardown has flushed it. The work is also enabled before late
probe operations that can fail, allowing probe unwind to free the netdev
with work still queued.

KASAN reports the worker using a virtqueue that probe unwind already freed:

  BUG: KASAN: slab-use-after-free in virtqueue_add_split
  Workqueue: events virtnet_rx_mode_work
  Call Trace:
   virtqueue_add_split (drivers/virtio/virtio_ring.c:706)
   virtqueue_add_sgs (drivers/virtio/virtio_ring.c:2839)
   virtnet_send_command_reply (drivers/net/virtio_net.c:3565)
   virtnet_rx_mode_work (drivers/net/virtio_net.c:3833)
   process_one_work (kernel/workqueue.c:3322)
   worker_thread (kernel/workqueue.c:3405)
  Freed by task 119:
   kfree (mm/slub.c:6625)
   vp_del_vq.isra.0 (drivers/virtio/virtio_pci_common.c:259)
   vp_del_vqs (drivers/virtio/virtio_pci_common.c:285)
   virtnet_probe (drivers/net/virtio_net.c:7129)

Use the workqueue disable mechanism to atomically reject new queue attempts
and drain running work. Keep work disabled until probe succeeds or restore
has reattached the netdev, then enable it and replay receive-mode state for
a running interface. Disable it before resource teardown in freeze and
remove.

(As written by CVE List.)

## Affected

- Linux Linux: from b9f7425239a09903629f71f719654983481b00aa before 04d1e4fc965c8a4378093174e908800f400b7485; from b9f7425239a09903629f71f719654983481b00aa before c05c367e7a99521cd654b56042757979968b5644; from b9f7425239a09903629f71f719654983481b00aa before 3f4c7168ee28e582314249d86833bd515b945196; from b9f7425239a09903629f71f719654983481b00aa before 1234707482053f1d1ac7c5756207d2c29057974c; 6.9 (not affected: before 6.9; from 6.12.117 up to 6.12.*; from 6.18.63 up to 6.18.*; from 7.3.2 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/04d1e4fc965c8a4378093174e908800f400b7485>
- <https://git.kernel.org/stable/c/c05c367e7a99521cd654b56042757979968b5644>
- <https://git.kernel.org/stable/c/3f4c7168ee28e582314249d86833bd515b945196>
- <https://git.kernel.org/stable/c/1234707482053f1d1ac7c5756207d2c29057974c>

## Sources

- CVE List: [CVE-2026-99301](https://www.cve.org/CVERecord?id=CVE-2026-99301), CVE Terms of Use, modified 2026-11-16
- NVD: [CVE-2026-99301](https://nvd.nist.gov/vuln/detail/CVE-2026-99301), Public domain, modified 2026-11-16

---

Page: https://cve.day/CVE-2026-99301 · Whole record: https://cve.day/CVE-2026-99301.json · Rebuilt by cve.day 2026-11-25T22:59:50.851Z
