mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
fuse: handle zero sized retrieve correctly
commit97e1532ef8upstream. 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") Signed-off-by: Miklos Szeredi <mszeredi@redhat.com> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
parent
90451cdfd9
commit
2e1f7654f1
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue