UPSTREAM: exfat: move freeing sbi, upcase table and dropping nls into
rcu-delayed helper 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. Acked-by:Christian Brauner <brauner@kernel.org> Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk> (cherry picked from commit a13d1a4d) Bug: 362138008 Change-Id: I5b17783ea05a475067ba960b41ae9fb67e7ddf54 Signed-off-by:
dongliang.cui <dongliang.cui@unisoc.com>
Loading
Please sign in to comment