> -Original Message-
> From: Jason Gunthorpe
> Sent: Thursday, July 10, 2025 4:30 PM
> To: Ankit Agrawal ; Brett Creeley
> ; Giovanni Cabiddu
> ; Kevin Tian ;
> k...@vger.kernel.org; liulongfang ; qat-
> li...@intel.com; virtualization@lists.linux.dev; Xin Zeng
> ; Yishai Hadas
> Cc: A
On Fri, Jul 11, 2025 at 12:01:49PM +, Shameerali Kolothum Thodi wrote:
> > minsz = offsetofend(struct vfio_device_bind_iommufd, out_devid);
> >
> > - if (copy_from_user(&bind, arg, minsz))
> > - return -EFAULT;
> > + ret = get_user(user_size, &arg->argsz);
> > + if (ret)
>
Symptom:
On boot, if VIRTIO_NET_F_CTRL_VLAN is negotiated, QEMU adds all 4096
VLANs to the VLAN filter table. But, according to the virtio spec, the
table should be empty in this case. (Observed when using VDPA.)
Investigation:
commit 06b636a1e2ad12ab130edcbb0ccf995118440706
Autho