Hello,
syzbot found the following issue on:
HEAD commit: b641242202ed Linux 4.14.290
git tree: linux-4.14.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=11999fc3080000
kernel config:
https://syzkaller.appspot.com/x/.config?x=d2165c966db95316
dashboard link:
https://syzkaller.appspot.com/bug?extid=be6d607e79291c8bad6a
compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)
Unfortunately, I don't have any reproducer for this issue yet.
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+be6d60...@syzkaller.appspotmail.com
kstrdup_const+0x35/0x60 mm/util.c:78
alloc_vfsmnt+0xe0/0x7f0 fs/namespace.c:214
vfs_kern_mount.part.0+0x27/0x470 fs/namespace.c:1039
vfs_kern_mount fs/namespace.c:1036 [inline]
do_new_mount fs/namespace.c:2572 [inline]
do_mount+0xe65/0x2a30 fs/namespace.c:2905
------------[ cut here ]------------
WARNING: CPU: 0 PID: 4211 at fs/super.c:1163 kill_block_super+0xbe/0xe0 fs/super.c:1163
Kernel panic - not syncing: panic_on_warn set ...
SYSC_mount fs/namespace.c:3121 [inline]
SyS_mount+0xa8/0x120 fs/namespace.c:3098
do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7f25b5a2b7aa
RSP: 002b:00007f25b439ef88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00000000200018c0 RCX: 00007f25b5a2b7aa
RDX: 00000000200011c0 RSI: 00000000200013c0 RDI: 00007f25b439efe0
RBP: 00007f25b439f020 R08: 00007f25b439f020 R09: 00000000200011c0
R10: 0000000000000000 R11: 0000000000000202 R12: 00000000200011c0
R13: 00000000200013c0 R14: 00007f25b439efe0 R15: 0000000020001980
CPU: 0 PID: 4211 Comm: syz-executor.1 Not tainted 4.14.290-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x1b2/0x281 lib/dump_stack.c:58
panic+0x1f9/0x42d kernel/panic.c:183
__warn.cold+0x20/0x44 kernel/panic.c:547
report_bug+0x208/0x250 lib/bug.c:183
fixup_bug arch/x86/kernel/traps.c:177 [inline]
fixup_bug arch/x86/kernel/traps.c:172 [inline]
do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295
invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:964
RIP: 0010:kill_block_super+0xbe/0xe0 fs/super.c:1163
RSP: 0018:ffff88808ea3fb88 EFLAGS: 00010246
RAX: 0000000000040000 RBX: 0000000000000000 RCX: ffffc90007215000
RDX: 0000000000040000 RSI: ffffffff81875ece RDI: ffff8880b1da6b70
RBP: ffff88809fa46800 R08: ffffffff8b9d6660 R09: 0000000000000001
R10: 0000000000000000 R11: ffff8880999a6040 R12: ffff8880b1da66c0
R13: ffffffff891e2cf0 R14: ffffffff88f45760 R15: dffffc0000000000
romfs_kill_sb fs/romfs/super.c:606 [inline]
romfs_kill_sb+0x71/0xa0 fs/romfs/super.c:596
deactivate_locked_super+0x6c/0xd0 fs/super.c:319
sget_userns+0x9c4/0xc10 fs/super.c:537
sget+0xd1/0x110 fs/super.c:572
mount_bdev+0xcd/0x360 fs/super.c:1107
romfs_mount fs/romfs/super.c:587 [inline]
romfs_mount+0x6a/0x70 fs/romfs/super.c:576
mount_fs+0x92/0x2a0 fs/super.c:1237
vfs_kern_mount.part.0+0x5b/0x470 fs/namespace.c:1046
vfs_kern_mount fs/namespace.c:1036 [inline]
do_new_mount fs/namespace.c:2572 [inline]
do_mount+0xe65/0x2a30 fs/namespace.c:2905
SYSC_mount fs/namespace.c:3121 [inline]
SyS_mount+0xa8/0x120 fs/namespace.c:3098
do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7f5c08b6d7aa
RSP: 002b:00007f5c074e0f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00000000200018c0 RCX: 00007f5c08b6d7aa
RDX: 00000000200011c0 RSI: 00000000200013c0 RDI: 00007f5c074e0fe0
RBP: 00007f5c074e1020 R08: 00007f5c074e1020 R09: 00000000200011c0
R10: 0000000000000000 R11: 0000000000000202 R12: 00000000200011c0
R13: 00000000200013c0 R14: 00007f5c074e0fe0 R15: 0000000020001980
Kernel Offset: disabled
Rebooting in 86400 seconds..
---
This report is generated by a bot. It may contain errors.
See
https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at
syzk...@googlegroups.com.
syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.