In the Linux kernel, the following vulnerability has been resolved: vduse: return compat ioctl results directly 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.
https://git.kernel.org/stable/c/48a4ee65e677559776349128e6a81a6041986c99
https://git.kernel.org/stable/c/135ac58097fa5fc707bf392c5cececf59e4080c0