[PATCH 60/60] staging: lustre: libcfs: fix minimum size check for libcfs ioctl

James Simmons jsimmons at infradead.org
Tue Jan 31 00:48:29 UTC 2017


> On Mon, Jan 30, 2017 at 01:51:56PM +0300, Dan Carpenter wrote:
> > The lstcon_ioctl_entry() function doesn't have enough size checking.
> 
> Actually, the lstcon_ioctl_entry() would have been fine before we apply
> this [patch 60/60]...  As near as I can tell, no in kernel code is
> negatively affected by the bug this patch fixes.

There is one, the ioctl IOC_LIBCFS_GET_LNET_STATS was affected by this
bug. That is how it was founded.


More information about the devel mailing list