Skip to content
Commit 97e1532e authored by Miklos Szeredi's avatar Miklos Szeredi
Browse files

fuse: handle zero sized retrieve correctly



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

Reported-by: default avatar <syzbot+c1e36d30ee3416289cc0@syzkaller.appspotmail.com>
Tested-by: default avatar <syzbot+c1e36d30ee3416289cc0@syzkaller.appspotmail.com>
Fixes: b2430d75 ("fuse: add per-page descriptor <offset, length> to fuse_req")
Cc: <stable@vger.kernel.org> # v3.9
Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
parent bfeffd15
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment