lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251007130622.144762-1-eperezma@redhat.com>
Date: Tue,  7 Oct 2025 15:06:20 +0200
From: Eugenio Pérez <eperezma@...hat.com>
To: mst@...hat.com
Cc: Yongji Xie <xieyongji@...edance.com>,
	virtualization@...ts.linux.dev,
	linux-kernel@...r.kernel.org,
	Eugenio Pérez <eperezma@...hat.com>,
	Maxime Coquelin <mcoqueli@...hat.com>,
	Xuan Zhuo <xuanzhuo@...ux.alibaba.com>,
	Dragos Tatulea DE <dtatulea@...dia.com>,
	jasowang@...hat.com
Subject: [RFC 0/2] Lift restriction about VDUSE net devices with CVQ

An userland device implemented through VDUSE could take rtnl forever if the
virtio-net driver is running on top of virtio_vdpa.  Let's break the device
if it does not return the buffer in a longer-than-assumible timeout.

A less agressive path can be taken to recover the device, like only resetting
the control virtqueue.  However, the state of the device after this action is
taken races, as the vq could be reset after the device writes the OK.  Leaving
TODO anyway.

Eugenio Pérez (2):
  virtio_net: timeout control virtqueue commands
  vduse: lift restriction about net devices with CVQ

 drivers/net/virtio_net.c           | 10 ++++++++++
 drivers/vdpa/vdpa_user/vduse_dev.c |  3 ---
 2 files changed, 10 insertions(+), 3 deletions(-)

-- 
2.51.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ