On Fri, 14 Jun 2024 14:42:20 +0100 Matthew Wilcox wrote: > On Fri, Jun 14, 2024 at 09:18:56PM +0800, Hillf Danton wrote: > > Flush lru cache to avoid folio->mapping uaf in case of inode teardown. > > What? inodes are supposed to have all their folios removed before > being freed. Part of removing a folio sets the folio->mapping to NULL. > Where is the report? > Subject: Re: [syzbot] [nilfs?] [mm?] KASAN: slab-use-after-free Read in lru_add_fn https://lore.kernel.org/lkml/000000000000cae276061aa12d5e@xxxxxxxxxx/