diff options
| author | Alexey Gladkov <[email protected]> | 2020-06-10 18:35:49 +0000 |
|---|---|---|
| committer | Eric W. Biederman <[email protected]> | 2020-06-10 19:54:54 +0000 |
| commit | 058f2e4da79b23afb56ce3d03d907d6cdd36f2b8 (patch) | |
| tree | 585a18087f3ac99efdd6400ae9d09392df4732f5 /drivers/pci/controller/pci-host-common.c | |
| parent | proc: proc_pid_ns takes super_block as an argument (diff) | |
| download | kernel-058f2e4da79b23afb56ce3d03d907d6cdd36f2b8.tar.gz kernel-058f2e4da79b23afb56ce3d03d907d6cdd36f2b8.zip | |
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: fa10fed30f25 ("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]>
Diffstat (limited to 'drivers/pci/controller/pci-host-common.c')
0 files changed, 0 insertions, 0 deletions
