Re: [PATCH 06/17] virt: acrn: Introduce VM management interfaces
From: Greg Kroah-Hartman
Date: Fri Aug 28 2020 - 06:27:33 EST
On Tue, Aug 25, 2020 at 10:45:06AM +0800, shuo.a.liu@xxxxxxxxx wrote:
> + default:
> + pr_warn("Unknown IOCTL 0x%x!\n", cmd);
> + ret = -EINVAL;
Wrong error value here, right?
And you just made a simple way to cause a DoS on the kernel log :(
thanks,
greg k-h