lkml.org 
[lkml]   [2022]   [Dec]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3] fuse: In fuse_flush only wait if someone wants the return code
On Thu, Dec 08, 2022 at 10:49:30AM -0700, Tycho Andersen wrote:
> On Thu, Dec 08, 2022 at 03:26:19PM +0100, Miklos Szeredi wrote:
> > On Mon, 28 Nov 2022 at 16:01, Tycho Andersen <tycho@tycho.pizza> wrote:
> > >
> > > Hi Milkos,
> > >
> > > On Mon, Nov 14, 2022 at 09:02:09AM -0700, Tycho Andersen wrote:
> > > > v3: use schedule_work() to avoid other sleeps in inode_write_now() and
> > > > fuse_sync_writes(). Fix a UAF of the stack-based inarg.
> > >
> > > Thoughts on this version?
> >
> > Skipping attr invalidation on success is wrong.
>
> Agreed, that looks like my mistake.
>
> > How about the attached (untested) patch?
>
> It passes my reproducer with no warnings or anything. Feel free to
> add:
>
> Tested-by: Tycho Andersen <tycho@tycho.pizza>
>
> if you want to commit it.

Ping, thoughts on landing this?

Thanks,

Tycho

\
 
 \ /
  Last update: 2023-03-26 23:15    [W:0.157 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site