lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Sat, 29 Aug 2020 19:04:36 +0800
From:   Shuo A Liu <>
To:     Greg Kroah-Hartman <>
Cc:     <>, "H . Peter Anvin" <>,
        "Thomas Gleixner" <>,
        Ingo Molnar <>,
        "Borislav Petkov" <>,
        Sean Christopherson <>,
        Yu Wang <>,
        Reinette Chatre <>, <>,
        Zhi Wang <>,
        Zhenyu Wang <>
Subject: Re: [PATCH 06/17] virt: acrn: Introduce VM management interfaces

Hi Greg,

On Fri 28.Aug'20 at 12:27:38 +0200, Greg Kroah-Hartman wrote:
>On Tue, Aug 25, 2020 at 10:45:06AM +0800, wrote:
>> +	default:
>> +		pr_warn("Unknown IOCTL 0x%x!\n", cmd);
>> +		ret = -EINVAL;
>Wrong error value here, right?

Right, it should be -ENOIOCTLCMD.

However, i found many instances in kernel drivers return -EINVAL for no
ioctl command support. :)

>And you just made a simple way to cause a DoS on the kernel log :(

Oh, let me remove the warn log.


Powered by blists - more mailing lists