On Sun, Feb 04, 2024 at 02:17:30AM +0000, Al Viro wrote: > That stuff can be accessed by ->d_hash()/->d_compare(); as it is, we have > a hard-to-hit UAF if rcu pathwalk manages to get into ->d_hash() on a filesystem > that is in process of getting shut down. > > Besides, having nls and upcase table cleanup moved from ->put_super() towards > the place where sbi is freed makes for simpler failure exits. > > Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx> > --- Acked-by: Christian Brauner <brauner@xxxxxxxxxx>