crash in fs/anon_inodes.c
Posted: Sat Mar 29, 2014 4:51 pm
It looks like the following change broke for me:
If I back out this part of the patch, my system boots up fine without a panic.
commit 07944030e3c21211bb0c663084340c7929d0a90c
Author: Jan Kara <jack@suse.cz>
Date: Tue Mar 25 21:37:09 2014 +0100
Upstream commit: d6f2589ad561aa5fa39f347eca6942668b7560a1
fs: Avoid userspace mounting anon_inodefs filesystem
anon_inodefs filesystem is a kernel internal filesystem userspace
shouldn't mess with. Remove registration of it so userspace cannot
even try to mount it (which would fail anyway because the filesystem is
MS_NOUSER).
[<00128b78>] ? strlcpy+0x18/0x7b
[<00130eaf>] __list_add+0x11/0x24
[<0007660a>] sget+0x256/0x274
[<00075e60>] ? get_anon_bdev+0xa0/0xa0
[<0008fffb>] mount_pseudo+0x20/0x122
[<000a4f6b>] anon_inodefs_mount+0x21/0x23
[<00076f46>] mount_fs+0x16/0xb9
[<0008b38b>] ? alloc_vfsmnt+0x72/0x111
[<0008b4e7>] vfs_kern_mount+0x3c/0x83
[<00400000>] ? 0x3fffff
[<0100cf7e>] ? eventpoll_init+0xb5/0xb5
[<0008b541>] kern_mount_data+0x13/0x15
[<0100cf91>] anon_inode_init+0x13/0xcc
[<0100c5bc>] ? init_pipe_fs+0x20/0x3d
[<000020d1>] do_one_initcall+0xd1/0x11f
[<01000717>] ? start_kernel+0x28a/0x28a
[<00125bdc>] ? radix_tree_lookup+0xa/0xc
[<00043538>] ? irq_to_desc+0xf/0x11
[<01000717>] ? start_kernel+0x28a/0x28a
[<0100079c>] kernel_init+0x85/0x118
[<0030b342>] kernel_thread_helper+0x6/0xd
If I back out this part of the patch, my system boots up fine without a panic.