diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2018-09-28 16:43:22 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-21 09:24:06 +0100 |
commit | 78da72ee42d82cfd001e863510eeb270bdd08143 (patch) | |
tree | fa6aaf03824202b2cfc15f859ea9aca2bb482e06 /fs/overlayfs | |
parent | f6f21a2b70c6023c0b6ba103da62e214e02179bd (diff) |
fuse: set FR_SENT while locked
commit 4c316f2f3ff315cb48efb7435621e5bfb81df96d upstream.
Otherwise fuse_dev_do_write() could come in and finish off the request, and
the set_bit(FR_SENT, ...) could trigger the WARN_ON(test_bit(FR_SENT, ...))
in request_end().
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Reported-by: syzbot+ef054c4d3f64cd7f7cec@syzkaller.appspotmai
Fixes: 46c34a348b0a ("fuse: no fc->lock for pqueue parts")
Cc: <stable@vger.kernel.org> # v4.2
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/overlayfs')
0 files changed, 0 insertions, 0 deletions