syzbot


WARNING: kobject bug in corrupted

Status: closed as dup on 2018/04/10 08:56
Subsystems: gfs2
[Documentation on labels]
Reported-by: syzbot+dd8fe49d0d1423aa5295@syzkaller.appspotmail.com
First crash: 2453d, last: 2441d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
WARNING: kobject bug in sysfs_warn_dup gfs2 isofs C 1 2458d 2458d
Discussions (1)
Title Replies (including bot) Last reply
WARNING: kobject bug in corrupted 1 (2) 2018/04/10 08:56

Sample crash report:
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1b9/0x294 lib/dump_stack.c:113
kobject_add_internal failed for _dev_qat_adf_ctl with -EEXIST, don't try to register things with the same name in the same directory.
 sysfs_warn_dup.cold.3+0x1c/0x2b fs/sysfs/dir.c:30
WARNING: CPU: 1 PID: 4501 at lib/kobject.c:238 kobject_add_internal+0x8e0/0xba0 lib/kobject.c:236
 sysfs_create_dir_ns+0x184/0x1d0 fs/sysfs/dir.c:58
Kernel panic - not syncing: panic_on_warn set ...

 create_dir lib/kobject.c:69 [inline]
 kobject_add_internal+0x353/0xba0 lib/kobject.c:228
 kobject_add_varg lib/kobject.c:364 [inline]
 kobject_init_and_add+0xed/0x130 lib/kobject.c:435
 gfs2_sys_fs_add+0x1ff/0x500 fs/gfs2/sys.c:652
 fill_super+0x8c9/0x1a40 fs/gfs2/ops_fstype.c:1118
 gfs2_mount+0x5e6/0x712 fs/gfs2/ops_fstype.c:1321
 mount_fs+0xae/0x328 fs/super.c:1267
 vfs_kern_mount.part.34+0xd4/0x4d0 fs/namespace.c:1037
 vfs_kern_mount fs/namespace.c:1027 [inline]
 do_new_mount fs/namespace.c:2518 [inline]
 do_mount+0x564/0x3070 fs/namespace.c:2848
 ksys_mount+0x12d/0x140 fs/namespace.c:3064
 __do_sys_mount fs/namespace.c:3078 [inline]
 __se_sys_mount fs/namespace.c:3075 [inline]
 __x64_sys_mount+0xbe/0x150 fs/namespace.c:3075
 do_syscall_64+0x1b1/0x800 arch/x86/entry/common.c:287
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4430da
RSP: 002b:00007ffe2783c408 EFLAGS: 00000297 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000004430da
RDX: 0000000020000200 RSI: 0000000020000240 RDI: 00007ffe2783c420
RBP: 00000000006cb018 R08: 0000000020000540 R09: 000000000000000a
R10: 0000000000000000 R11: 0000000000000297 R12: 6e5f6b636f6c3d6f
R13: 746f72706b636f6c R14: 0030656c69662f2e R15: 0000000000000004
CPU: 1 PID: 4501 Comm: syzkaller826727 Not tainted 4.17.0-rc1+ #11
------------[ cut here ]------------
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1b9/0x294 lib/dump_stack.c:113
kobject_add_internal failed for _dev_qat_adf_ctl with -EEXIST, don't try to register things with the same name in the same directory.
 panic+0x22f/0x4de kernel/panic.c:184
WARNING: CPU: 0 PID: 4497 at lib/kobject.c:238 kobject_add_internal+0x8e0/0xba0 lib/kobject.c:236
Modules linked in:
CPU: 0 PID: 4497 Comm: syzkaller826727 Not tainted 4.17.0-rc1+ #11
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:kobject_add_internal+0x8e0/0xba0 lib/kobject.c:236
 __warn.cold.8+0x163/0x1b3 kernel/panic.c:536
RSP: 0018:ffff8801b41df4a0 EFLAGS: 00010282
RAX: 0000000000000085 RBX: ffff8801ad769210 RCX: ffffffff8160a82d
RDX: 0000000000000000 RSI: ffffffff8160f4e1 RDI: ffff8801b41df000
 report_bug+0x252/0x2d0 lib/bug.c:186
RBP: ffff8801b41df598 R08: ffff8801d9592200 R09: 0000000000000006
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 do_error_trap+0x1de/0x490 arch/x86/kernel/traps.c:296
R10: ffff8801d9592200 R11: 0000000000000000 R12: 00000000ffffffef
R13: ffff8801d3e6d748 R14: 1ffff1003683be9e R15: ffff8801d3e6d700
FS:  00000000021c9880(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000006254b8 CR3: 00000001adb91000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:315
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:992
RIP: 0010:kobject_add_internal+0x8e0/0xba0 lib/kobject.c:236
RSP: 0018:ffff8801ad7ef4a0 EFLAGS: 00010282
RAX: 0000000000000085 RBX: ffff8801d9b9d1d0 RCX: ffffffff8160a82d
RDX: 0000000000000000 RSI: ffffffff8160f4e1 RDI: ffff8801ad7ef000
RBP: ffff8801ad7ef598 R08: ffff8801d9b7e300 R09: 0000000000000006
R10: ffff8801d9b7e300 R11: 0000000000000000 R12: 00000000ffffffef
 kobject_add_varg lib/kobject.c:364 [inline]
 kobject_init_and_add+0xed/0x130 lib/kobject.c:435
R13: ffff8801d3e6d748 R14: 1ffff10035afde9e R15: ffff8801d3e6d700
 gfs2_sys_fs_add+0x1ff/0x500 fs/gfs2/sys.c:652
 kobject_add_varg lib/kobject.c:364 [inline]
 kobject_init_and_add+0xed/0x130 lib/kobject.c:435
 fill_super+0x8c9/0x1a40 fs/gfs2/ops_fstype.c:1118
 gfs2_sys_fs_add+0x1ff/0x500 fs/gfs2/sys.c:652
 fill_super+0x8c9/0x1a40 fs/gfs2/ops_fstype.c:1118
 gfs2_mount+0x5e6/0x712 fs/gfs2/ops_fstype.c:1321
 mount_fs+0xae/0x328 fs/super.c:1267
 vfs_kern_mount.part.34+0xd4/0x4d0 fs/namespace.c:1037
 vfs_kern_mount fs/namespace.c:1027 [inline]
 do_new_mount fs/namespace.c:2518 [inline]
 do_mount+0x564/0x3070 fs/namespace.c:2848
 gfs2_mount+0x5e6/0x712 fs/gfs2/ops_fstype.c:1321
 mount_fs+0xae/0x328 fs/super.c:1267
 vfs_kern_mount.part.34+0xd4/0x4d0 fs/namespace.c:1037
 vfs_kern_mount fs/namespace.c:1027 [inline]
 do_new_mount fs/namespace.c:2518 [inline]
 do_mount+0x564/0x3070 fs/namespace.c:2848
 ksys_mount+0x12d/0x140 fs/namespace.c:3064
 __do_sys_mount fs/namespace.c:3078 [inline]
 __se_sys_mount fs/namespace.c:3075 [inline]
 __x64_sys_mount+0xbe/0x150 fs/namespace.c:3075
 do_syscall_64+0x1b1/0x800 arch/x86/entry/common.c:287
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4430da
 ksys_mount+0x12d/0x140 fs/namespace.c:3064
RSP: 002b:00007ffe2783c408 EFLAGS: 00000297
 __do_sys_mount fs/namespace.c:3078 [inline]
 __se_sys_mount fs/namespace.c:3075 [inline]
 __x64_sys_mount+0xbe/0x150 fs/namespace.c:3075
 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000004430da
RDX: 0000000020000200 RSI: 0000000020000240 RDI: 00007ffe2783c420
RBP: 00000000006cb018 R08: 0000000020000540 R09: 000000000000000a
 do_syscall_64+0x1b1/0x800 arch/x86/entry/common.c:287
R10: 0000000000000000 R11: 0000000000000297 R12: 6e5f6b636f6c3d6f
R13: 746f72706b636f6c R14: 0030656c69662f2e R15: 0000000000000004
Code: 
00 
00 
00 
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
00 fc 
RIP: 0033:0x4430da
ff 
RSP: 002b:00007ffe2783c408 EFLAGS: 00000297
df 
 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000004430da
48 
RDX: 0000000020000200 RSI: 0000000020000240 RDI: 00007ffe2783c420
RBP: 00000000006cb018 R08: 0000000020000540 R09: 000000000000000a
c1 ea 
R10: 0000000000000000 R11: 0000000000000297 R12: 6e5f6b636f6c3d6f
03 
R13: 746f72706b636f6c R14: 0030656c69662f2e R15: 0000000000000004
80 3c 02 00 0f 85 88 02 00 00 48 8b 13 48 c7 c6 80 0f 64 88 48 c7 c7 e0 0c 64 88 e8 00 55 dd f9 <0f> 0b e9 47 fb ff ff 4c 89 e7 e8 21 7e 4d fa e9 e2 f7 ff ff 4c 
irq event stamp: 3274904
hardirqs last  enabled at (3274903): [<ffffffff878009d5>] restore_regs_and_return_to_kernel+0x0/0x2b
hardirqs last disabled at (3274904): [<ffffffff87801166>] error_entry+0x76/0xd0 arch/x86/entry/entry_64.S:1262
softirqs last  enabled at (1705336): [<ffffffff87a00778>] __do_softirq+0x778/0xaf5 kernel/softirq.c:311
softirqs last disabled at (1705277): [<ffffffff81475041>] invoke_softirq kernel/softirq.c:365 [inline]
softirqs last disabled at (1705277): [<ffffffff81475041>] irq_exit+0x1d1/0x200 kernel/softirq.c:405
---[ end trace 17e83321150d67fb ]---
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/04/22 03:29 upstream 5e7c7806111a d23fcf6c .config console log report syz C ci-upstream-kasan-gce-root
2018/04/14 09:05 upstream 1bad9ce155a7 7a67784c .config console log report syz C ci-upstream-kasan-gce-root
2018/04/10 02:05 upstream fd40ffc72e2f b9f65507 .config console log report syz C ci-upstream-kasan-gce-root
* Struck through repros no longer work on HEAD.