mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 05:04:02 +02:00
The compat handler handles VDUSE_IOTLB_GET_FD and VDUSE_VQ_GET_INFO, but
then calls the native handler. Their different command sizes make native
dispatch return -ENOIOCTLCMD.
For GET_FD, this overwrites receive_fd()'s return value after the
descriptor is installed, leaking one fd per call. Return handled compat
results directly and use native dispatch only for other commands.
Fixes:
|
||
|---|---|---|
| .. | ||
| alibaba | ||
| ifcvf | ||
| mlx5 | ||
| octeon_ep | ||
| pds | ||
| solidrun | ||
| vdpa_sim | ||
| vdpa_user | ||
| virtio_pci | ||
| Kconfig | ||
| Makefile | ||
| vdpa.c | ||