Re: [PATCH] autofs - fix slab out of bounds read in getname_kernel()

2018-07-05 Thread Ian Kent
On Thu, 2018-07-05 at 16:58 -0700, Andrew Morton wrote: > On Tue, 03 Jul 2018 14:45:15 +0800 Ian Kent wrote: > > > Initial patch contributed by Tomas Bortoli. > > > > The autofs subsystem does not check that the "path" parameter is > > present for all cases where it is required when it is passed

Re: [PATCH] autofs - fix slab out of bounds read in getname_kernel()

2018-07-05 Thread Andrew Morton
On Tue, 03 Jul 2018 14:45:15 +0800 Ian Kent wrote: > Initial patch contributed by Tomas Bortoli. > > The autofs subsystem does not check that the "path" parameter is > present for all cases where it is required when it is passed in > via the "param" struct. > > In particular it isn't checked fo

[PATCH] autofs - fix slab out of bounds read in getname_kernel()

2018-07-02 Thread Ian Kent
Initial patch contributed by Tomas Bortoli. The autofs subsystem does not check that the "path" parameter is present for all cases where it is required when it is passed in via the "param" struct. In particular it isn't checked for the AUTOFS_DEV_IOCTL_OPENMOUNT_CMD ioctl command. To solve it, m