android_kernel_samsung_msm8976/fs/fuse
Miklos Szeredi fa85e3b21d fuse: handle zero sized retrieve correctly
commit 97e1532ef81acb31c30f9e75bf00306c33a77812 upstream.

Dereferencing req->page_descs[0] will Oops if req->max_pages is zero.

Reported-by: syzbot+c1e36d30ee3416289cc0@syzkaller.appspotmail.com
Tested-by: syzbot+c1e36d30ee3416289cc0@syzkaller.appspotmail.com
Fixes: b2430d7567 ("fuse: add per-page descriptor <offset, length> to fuse_req")
Cc: <stable@vger.kernel.org> # v3.9
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-07-27 22:06:05 +02:00
..
Kconfig
Makefile fuse: Add support for shortcircuited read/write for files 2016-02-04 13:23:34 +05:30
control.c fuse: fix control dir setup and teardown 2019-07-27 21:52:47 +02:00
cuse.c fuse: flush requests on umount 2019-07-27 21:53:08 +02:00
dev.c fuse: handle zero sized retrieve correctly 2019-07-27 22:06:05 +02:00
dir.c fuse: Add support for d_canonical_path 2018-02-06 13:12:18 +01:00
file.c fuse: Add missed unlock_page() to fuse_readpages_fill() 2019-07-27 21:51:24 +02:00
fuse_i.h fuse: flush requests on umount 2019-07-27 21:53:08 +02:00
fuse_shortcircuit.h fuse: Add support for shortcircuited read/write for files 2016-02-04 13:23:34 +05:30
inode.c fuse: Fix oops at process_init_reply() 2019-07-27 21:53:08 +02:00
shortcircuit.c fs:fuse: Ensure update of fuse inode attributes in shortcircuit 2016-02-04 13:23:34 +05:30