On Mon, Jun 01, 2026 at 01:42:34PM -0700, Nicolin Chen wrote:
> When the kzalloc_obj() fails in iommufd_veventq_deliver_fetch(), it returns
> NULL, falsely advertising to userspace that the queue is empty.
> 
> Propagate the -ENOMEM properly to the caller.
> 
> Fixes: e36ba5ab808e ("iommufd: Add IOMMUFD_OBJ_VEVENTQ and 
> IOMMUFD_CMD_VEVENTQ_ALLOC")
> Cc: [email protected]
> Signed-off-by: Nicolin Chen <[email protected]>

Reviewed-by: Pranjal Shrivastava <[email protected]>

Thanks,
Praan

Reply via email to