Skip to content
Commit 0633da48 authored by Ian Kent's avatar Ian Kent Committed by Linus Torvalds
Browse files

autofs: fix autofs_sbi() does not check super block type

autofs_sbi() does not check the superblock magic number to verify it has
been given an autofs super block.

Link: http://lkml.kernel.org/r/153475422934.17131.7563724552005298277.stgit@pluto.themaw.net


Reported-by: default avatar <syzbot+87c3c541582e56943277@syzkaller.appspotmail.com>
Signed-off-by: default avatarIan Kent <raven@themaw.net>
Reviewed-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 778a3395
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment