Files
linux/fs
Miklos Szeredi 07d54b8dc5 fuse: fix page dereference after free
commit d78092e493 upstream.

After unlock_request() pages from the ap->pages[] array may be put (e.g. by
aborting the connection) and the pages can be freed.

Prevent use after free by grabbing a reference to the page before calling
unlock_request().

The original patch was created by Pradeep P V K.

Reported-by: Pradeep P V K <ppvk@codeaurora.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-11-01 12:45:41 +01:00
..
2020-08-19 08:27:03 +02:00
2020-10-29 10:08:02 +01:00
2020-09-09 19:14:10 +02:00
2020-10-29 10:08:20 +01:00
2020-08-26 11:49:06 +02:00
2020-09-03 11:29:31 +02:00
2020-05-14 16:44:25 +02:00
2020-05-14 16:44:24 +02:00
2020-05-14 16:44:24 +02:00