Skip to contentSkip to conversation

Patch "fuse: fix uninitialized flags in pipe_buffer" has been added to the 4.9-stable tree

PATCH [email protected] 1 participant 1 message Feb 20, 2017

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

fuse: fix uninitialized flags in pipe_buffer

to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
fuse-fix-uninitialized-flags-in-pipe_buffer.patch
and it can be found in the queue-4.9 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 84588a93d097bace24b9233930f82511d4f34210 Mon Sep 17 00:00:00 2001

From: Miklos Szeredi <[email protected]>
Date: Thu, 16 Feb 2017 15:08:20 +0100
Subject: fuse: fix uninitialized flags in pipe_buffer

From: Miklos Szeredi <[email protected]>

commit 84588a93d097bace24b9233930f82511d4f34210 upstream.

Fixes d82718e348fe ("fuse_dev_splice_read(): switch to add_to_pipe()")
---
 fs/fuse/dev.c |    1 +
 1 file changed, 1 insertion(+)
fs/fuse/dev.c +1 -0
@@ -1376,6 +1376,7 @@ static ssize_t fuse_dev_splice_read(stru
 		 * code can Oops if the buffer persists after module unload.
 		 */
 		bufs[page_nr].ops = &nosteal_pipe_buf_ops;
+		bufs[page_nr].flags = 0;
 		ret = add_to_pipe(pipe, &bufs[page_nr++]);
 		if (unlikely(ret < 0))
 			break;

Patches currently in stable-queue which might be from [email protected] are

queue-4.9/vfs-fix-uninitialized-flags-in-splice_to_pipe.patch queue-4.9/fuse-fix-uninitialized-flags-in-pipe_buffer.patch queue-4.9/fuse-fix-use-after-free-issue-in-fuse_dev_do_read.patch