syzbot


WARNING in sysfs_create_dir_ns (2)

Status: auto-closed as invalid on 2022/05/03 02:53
Reported-by: syzbot+32d355dc81c40e6081ae@syzkaller.appspotmail.com
First crash: 204d, last: 175d
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 WARNING in sysfs_create_dir_ns 11 404d 828d 0/1 auto-closed as invalid on 2021/09/16 03:50

Sample crash report:
 vfs_ioctl fs/ioctl.c:46 [inline]
 file_ioctl fs/ioctl.c:500 [inline]
 do_vfs_ioctl+0x75a/0xff0 fs/ioctl.c:684
------------[ cut here ]------------
WARNING: CPU: 0 PID: 17226 at fs/sysfs/dir.c:30 sysfs_warn_dup.cold+0x17/0x26 fs/sysfs/dir.c:30
Kernel panic - not syncing: panic_on_warn set ...

 SYSC_ioctl fs/ioctl.c:701 [inline]
 SyS_ioctl+0x7f/0xb0 fs/ioctl.c:692
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7f8be3587e99
RSP: 002b:00007f8be1edc168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f8be369b030 RCX: 00007f8be3587e99
RDX: 00000000200000c0 RSI: 0000000000008914 RDI: 0000000000000003
RBP: 00007f8be1edc1d0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffe3a87260f R14: 00007f8be1edc300 R15: 0000000000022000
CPU: 0 PID: 17226 Comm: syz-executor.5 Not tainted 4.14.260-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
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:sysfs_warn_dup.cold+0x17/0x26 fs/sysfs/dir.c:30
RSP: 0018:ffff8880b4ccf728 EFLAGS: 00010282
RAX: 000000000000003a RBX: ffff88803f910750 RCX: 0000000000000000
RDX: 0000000000034faa RSI: ffffffff81442c40 RDI: ffffed1016999edb
RBP: ffff88809e308400 R08: 000000000000003a R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff888238838700
R13: ffff8880b2cad100 R14: ffff88803f910758 R15: ffff88803e0b84d8
 sysfs_create_dir_ns+0x16f/0x1d0 fs/sysfs/dir.c:59
 create_dir lib/kobject.c:71 [inline]
 kobject_add_internal+0x28b/0x930 lib/kobject.c:229
 kobject_add_varg lib/kobject.c:364 [inline]
 kobject_init_and_add+0xde/0x120 lib/kobject.c:436
 gfs2_sys_fs_add+0x184/0x3f0 fs/gfs2/sys.c:652
 fill_super+0x118b/0x2310 fs/gfs2/ops_fstype.c:1122
 gfs2_mount+0x439/0x510 fs/gfs2/ops_fstype.c:1335
 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/0x2a10 fs/namespace.c:2902
 SYSC_mount fs/namespace.c:3118 [inline]
 SyS_mount+0xa8/0x120 fs/namespace.c:3095
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7fb1503ae3ca
RSP: 002b:00007fb14ed21f88 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00000000200005c0 RCX: 00007fb1503ae3ca
RDX: 0000000020000040 RSI: 0000000020000080 RDI: 00007fb14ed21fe0
RBP: 00007fb14ed22020 R08: 00007fb14ed22020 R09: 0000000020000040
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000020000040
R13: 0000000020000080 R14: 00007fb14ed21fe0 R15: 0000000020000680
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (2):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-linux-4-14 2022/01/03 02:52 linux-4.14.y a6ca7c65b137 e1768e9c .config log report info WARNING in sysfs_create_dir_ns
ci2-linux-4-14 2021/12/04 11:52 linux-4.14.y 66722c42ec91 a617004c .config log report info WARNING in sysfs_create_dir_ns