Re: [PATCH] fuse: fix use-after-free in fuse_direct_IO()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Nov 9, 2018 at 2:51 PM, Lukas Czerner <lczerner@xxxxxxxxxx> wrote:
> In async IO blocking case the additional reference to the io is taken for
> it to survive fuse_aio_complete(). In non blocking case this additional
> reference is not needed, however we still reference io to figure out
> whether to wait for completion or not. This is wrong and will lead to
> use-after-free. Fix it by storing blocking information in separate
> variable.
>
> This was spotted by KASAN when running generic/208 fstest.

Thanks, applied.

Miklos



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux