Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
proc: s_fs_info may be NULL when proc_kill_sb is called
syzbot found that proc_fill_super() fails before filling up sb->s_fs_info, deactivate_locked_super() will be called and sb->s_fs_info will be NULL. The proc_kill_sb() does not expect fs_info to be NULL which is wrong. Link: https://lore.kernel.org/lkml/[email protected] Reported-by: [email protected] Fixes: fa10fed ("proc: allow to mount many instances of proc in one pid namespace") Signed-off-by: Alexey Gladkov <[email protected]> Signed-off-by: Eric W. Biederman <[email protected]>
- Loading branch information