mbox series

[SRU,Bionic,PULL] Bionic upstream stable patchset for fuse 2019-04-12

Message ID 20190412162543.GA3708@xps-13
State New
Headers show
Series [SRU,Bionic,PULL] Bionic upstream stable patchset for fuse 2019-04-12 | expand

Pull-request

git://git.launchpad.net/~arighi/+git/bionic-linux fuse-fixes

Message

Andrea Righi April 12, 2019, 4:25 p.m. UTC
This pull request includes the following stable patches for the FUSE
filesystem, since we have received bug reports about FUSE causing
problems with the Bionic kernel (e.g., LP: #1823972):

Bionic update: upstream stable patchset for fuse 2019-04-12
(ported from v4.15 .. v5.0)
BugLink: http://bugs.launchpad.net/bugs/1824553

The following changes since commit 5f1ee1100f874b50e5f53d8e772a447acdffe1af:

  openvswitch: fix flow actions reallocation (2019-04-08 17:22:37 +0200)

are available in the Git repository at:

  git://git.launchpad.net/~arighi/+git/bionic-linux fuse-fixes

for you to fetch changes up to 15e8d37ca0ee1367908467e894c1b0154319de39:

  fuse: decrement NR_WRITEBACK_TEMP on the right page (2019-04-12 18:10:09 +0200)

----------------------------------------------------------------
Andrey Ryabinin (1):
      fuse: Don't access pipe->buffers without pipe_lock()

Chad Austin (1):
      fuse: continue to send FUSE_RELEASEDIR when FUSE_OPEN returns ENOSYS

Jann Horn (1):
      fuse: call pipe_buf_release() under pipe lock

Kirill Tkhai (2):
      fuse: Fix use-after-free in fuse_dev_do_read()
      fuse: Fix use-after-free in fuse_dev_do_write()

Lukas Czerner (1):
      fuse: fix use-after-free in fuse_direct_IO()

Miklos Szeredi (10):
      fuse: fix double request_end()
      fuse: fix unlocked access to processing queue
      fuse: umount should wait for all requests
      fuse: Fix oops at process_init_reply()
      fuse: set FR_SENT while locked
      fuse: fix blocked_waitq wakeup
      fuse: fix leaked notify reply
      fuse: fix possibly missed wake-up after abort
      fuse: handle zero sized retrieve correctly
      fuse: decrement NR_WRITEBACK_TEMP on the right page

 fs/fuse/dev.c    | 78 +++++++++++++++++++++++++++++++++++++++++++++-----------
 fs/fuse/dir.c    |  2 +-
 fs/fuse/file.c   | 27 +++++++++++---------
 fs/fuse/fuse_i.h |  3 ++-
 fs/fuse/inode.c  | 23 ++++++++---------
 5 files changed, 92 insertions(+), 41 deletions(-)

Comments

Stefan Bader April 17, 2019, 5:23 p.m. UTC | #1
On 12.04.19 18:25, Andrea Righi wrote:
> This pull request includes the following stable patches for the FUSE
> filesystem, since we have received bug reports about FUSE causing
> problems with the Bionic kernel (e.g., LP: #1823972):
> 
> Bionic update: upstream stable patchset for fuse 2019-04-12
> (ported from v4.15 .. v5.0)
> BugLink: http://bugs.launchpad.net/bugs/1824553
> 
> The following changes since commit 5f1ee1100f874b50e5f53d8e772a447acdffe1af:
> 
>   openvswitch: fix flow actions reallocation (2019-04-08 17:22:37 +0200)
> 
> are available in the Git repository at:
> 
>   git://git.launchpad.net/~arighi/+git/bionic-linux fuse-fixes
> 
> for you to fetch changes up to 15e8d37ca0ee1367908467e894c1b0154319de39:
> 
>   fuse: decrement NR_WRITEBACK_TEMP on the right page (2019-04-12 18:10:09 +0200)
> 
> ----------------------------------------------------------------
> Andrey Ryabinin (1):
>       fuse: Don't access pipe->buffers without pipe_lock()
> 
> Chad Austin (1):
>       fuse: continue to send FUSE_RELEASEDIR when FUSE_OPEN returns ENOSYS
> 
> Jann Horn (1):
>       fuse: call pipe_buf_release() under pipe lock
> 
> Kirill Tkhai (2):
>       fuse: Fix use-after-free in fuse_dev_do_read()
>       fuse: Fix use-after-free in fuse_dev_do_write()
> 
> Lukas Czerner (1):
>       fuse: fix use-after-free in fuse_direct_IO()
> 
> Miklos Szeredi (10):
>       fuse: fix double request_end()
>       fuse: fix unlocked access to processing queue
>       fuse: umount should wait for all requests
>       fuse: Fix oops at process_init_reply()
>       fuse: set FR_SENT while locked
>       fuse: fix blocked_waitq wakeup
>       fuse: fix leaked notify reply
>       fuse: fix possibly missed wake-up after abort
>       fuse: handle zero sized retrieve correctly
>       fuse: decrement NR_WRITEBACK_TEMP on the right page
> 
>  fs/fuse/dev.c    | 78 +++++++++++++++++++++++++++++++++++++++++++++-----------
>  fs/fuse/dir.c    |  2 +-
>  fs/fuse/file.c   | 27 +++++++++++---------
>  fs/fuse/fuse_i.h |  3 ++-
>  fs/fuse/inode.c  | 23 ++++++++---------
>  5 files changed, 92 insertions(+), 41 deletions(-)
> 
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Kleber Sacilotto de Souza April 23, 2019, 9:52 a.m. UTC | #2
On 4/12/19 6:25 PM, Andrea Righi wrote:
> This pull request includes the following stable patches for the FUSE
> filesystem, since we have received bug reports about FUSE causing
> problems with the Bionic kernel (e.g., LP: #1823972):
> 
> Bionic update: upstream stable patchset for fuse 2019-04-12
> (ported from v4.15 .. v5.0)
> BugLink: http://bugs.launchpad.net/bugs/1824553
> 
> The following changes since commit 5f1ee1100f874b50e5f53d8e772a447acdffe1af:
> 
>   openvswitch: fix flow actions reallocation (2019-04-08 17:22:37 +0200)
> 
> are available in the Git repository at:
> 
>   git://git.launchpad.net/~arighi/+git/bionic-linux fuse-fixes
> 
> for you to fetch changes up to 15e8d37ca0ee1367908467e894c1b0154319de39:
> 
>   fuse: decrement NR_WRITEBACK_TEMP on the right page (2019-04-12 18:10:09 +0200)
> 
> ----------------------------------------------------------------
> Andrey Ryabinin (1):
>       fuse: Don't access pipe->buffers without pipe_lock()
> 
> Chad Austin (1):
>       fuse: continue to send FUSE_RELEASEDIR when FUSE_OPEN returns ENOSYS
> 
> Jann Horn (1):
>       fuse: call pipe_buf_release() under pipe lock
> 
> Kirill Tkhai (2):
>       fuse: Fix use-after-free in fuse_dev_do_read()
>       fuse: Fix use-after-free in fuse_dev_do_write()
> 
> Lukas Czerner (1):
>       fuse: fix use-after-free in fuse_direct_IO()
> 
> Miklos Szeredi (10):
>       fuse: fix double request_end()
>       fuse: fix unlocked access to processing queue
>       fuse: umount should wait for all requests
>       fuse: Fix oops at process_init_reply()
>       fuse: set FR_SENT while locked
>       fuse: fix blocked_waitq wakeup
>       fuse: fix leaked notify reply
>       fuse: fix possibly missed wake-up after abort
>       fuse: handle zero sized retrieve correctly
>       fuse: decrement NR_WRITEBACK_TEMP on the right page
> 
>  fs/fuse/dev.c    | 78 +++++++++++++++++++++++++++++++++++++++++++++-----------
>  fs/fuse/dir.c    |  2 +-
>  fs/fuse/file.c   | 27 +++++++++++---------
>  fs/fuse/fuse_i.h |  3 ++-
>  fs/fuse/inode.c  | 23 ++++++++---------
>  5 files changed, 92 insertions(+), 41 deletions(-)
> 

Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Kleber Sacilotto de Souza April 23, 2019, 3:52 p.m. UTC | #3
On 4/12/19 6:25 PM, Andrea Righi wrote:
> This pull request includes the following stable patches for the FUSE
> filesystem, since we have received bug reports about FUSE causing
> problems with the Bionic kernel (e.g., LP: #1823972):
> 
> Bionic update: upstream stable patchset for fuse 2019-04-12
> (ported from v4.15 .. v5.0)
> BugLink: http://bugs.launchpad.net/bugs/1824553
> 
> The following changes since commit 5f1ee1100f874b50e5f53d8e772a447acdffe1af:
> 
>   openvswitch: fix flow actions reallocation (2019-04-08 17:22:37 +0200)
> 
> are available in the Git repository at:
> 
>   git://git.launchpad.net/~arighi/+git/bionic-linux fuse-fixes
> 
> for you to fetch changes up to 15e8d37ca0ee1367908467e894c1b0154319de39:
> 
>   fuse: decrement NR_WRITEBACK_TEMP on the right page (2019-04-12 18:10:09 +0200)
> 
> ----------------------------------------------------------------
> Andrey Ryabinin (1):
>       fuse: Don't access pipe->buffers without pipe_lock()
> 
> Chad Austin (1):
>       fuse: continue to send FUSE_RELEASEDIR when FUSE_OPEN returns ENOSYS
> 
> Jann Horn (1):
>       fuse: call pipe_buf_release() under pipe lock
> 
> Kirill Tkhai (2):
>       fuse: Fix use-after-free in fuse_dev_do_read()
>       fuse: Fix use-after-free in fuse_dev_do_write()
> 
> Lukas Czerner (1):
>       fuse: fix use-after-free in fuse_direct_IO()
> 
> Miklos Szeredi (10):
>       fuse: fix double request_end()
>       fuse: fix unlocked access to processing queue
>       fuse: umount should wait for all requests
>       fuse: Fix oops at process_init_reply()
>       fuse: set FR_SENT while locked
>       fuse: fix blocked_waitq wakeup
>       fuse: fix leaked notify reply
>       fuse: fix possibly missed wake-up after abort
>       fuse: handle zero sized retrieve correctly
>       fuse: decrement NR_WRITEBACK_TEMP on the right page
> 
>  fs/fuse/dev.c    | 78 +++++++++++++++++++++++++++++++++++++++++++++-----------
>  fs/fuse/dir.c    |  2 +-
>  fs/fuse/file.c   | 27 +++++++++++---------
>  fs/fuse/fuse_i.h |  3 ++-
>  fs/fuse/inode.c  | 23 ++++++++---------
>  5 files changed, 92 insertions(+), 41 deletions(-)
> 

Applied to bionic/master-next branch.

Thanks,
Kleber