syzbot


WARNING in kobject_add_internal

Status: closed as dup on 2018/04/11 14:58
Subsystems: gfs2
[Documentation on labels]
Reported-by: syzbot+e204ced820ef739d71ef5438f5e1976a874abc8d@syzkaller.appspotmail.com
First crash: 2680d, last: 2448d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
WARNING: kobject bug in device_add kernel C 563 2419d 2459d
Discussions (1)
Title Replies (including bot) Last reply
WARNING in kobject_add_internal 6 (7) 2018/04/12 10:04

Sample crash report:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1b9/0x294 lib/dump_stack.c:113
kobject_add_internal failed for _dev_cuse 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
 sysfs_create_dir_ns+0x184/0x1d0 fs/sysfs/dir.c:58
 create_dir lib/kobject.c:69 [inline]
 kobject_add_internal+0x353/0xba0 lib/kobject.c:228
WARNING: CPU: 0 PID: 4496 at lib/kobject.c:238 kobject_add_internal+0x8e0/0xba0 lib/kobject.c:236
Kernel panic - not syncing: panic_on_warn set ...

 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:1222
 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:2517 [inline]
 do_mount+0x564/0x3070 fs/namespace.c:2847
 ksys_mount+0x12d/0x140 fs/namespace.c:3063
 SYSC_mount fs/namespace.c:3077 [inline]
 SyS_mount+0x35/0x50 fs/namespace.c:3074
 do_syscall_64+0x29e/0x9d0 arch/x86/entry/common.c:287
 entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x44318a
RSP: 002b:00007ffdd2ebfa48 EFLAGS: 00000217 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000044318a
RDX: 0000000020000040 RSI: 0000000020000080 RDI: 00007ffdd2ebfa60
RBP: 00000000006cb018 R08: 0000000020001580 R09: 000000000000000a
R10: 0000000000200000 R11: 0000000000000217 R12: 6972773d61746164
R13: 63613d61746f7571 R14: 0030656c69662f2e R15: 0000000000000004
CPU: 0 PID: 4496 Comm: syzkaller551643 Not tainted 4.16.0+ #4
------------[ 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_cuse with -EEXIST, don't try to register things with the same name in the same directory.
 panic+0x22f/0x4de kernel/panic.c:183
WARNING: CPU: 1 PID: 4498 at lib/kobject.c:238 kobject_add_internal+0x8e0/0xba0 lib/kobject.c:236
Modules linked in:
CPU: 1 PID: 4498 Comm: syzkaller551643 Not tainted 4.16.0+ #4
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/0x1a3 kernel/panic.c:547
RSP: 0018:ffff8801cb927480 EFLAGS: 00010286
 report_bug+0x252/0x2d0 lib/bug.c:186
RAX: 000000000000007e RBX: ffff8801ac569210 RCX: ffffffff815edf6d
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 do_error_trap+0x1de/0x490 arch/x86/kernel/traps.c:296
RDX: 0000000000000000 RSI: ffffffff815f2c21 RDI: ffff8801cb926fe0
RBP: ffff8801cb927578 R08: ffff8801d9bc2000 R09: 0000000000000006
R10: ffff8801d9bc2000 R11: 0000000000000000 R12: 00000000ffffffef
R13: ffff8801d4131248 R14: 1ffff10039724e9a R15: ffff8801d4131200
FS:  00000000021d6880(0000) GS:ffff8801db100000(0000) knlGS:0000000000000000
 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:315
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:991
CR2: 0000000000ef2530 CR3: 00000001ac9ab000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
RIP: 0010:kobject_add_internal+0x8e0/0xba0 lib/kobject.c:236
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
RSP: 0018:ffff8801acaa7480 EFLAGS: 00010286
RAX: 000000000000007e RBX: ffff8801ac54d1d0 RCX: ffffffff815edf6d
RDX: 0000000000000000 RSI: ffffffff815f2c21 RDI: ffff8801acaa6fe0
RBP: ffff8801acaa7578 R08: ffff8801d9bb2700 R09: 0000000000000006
R10: ffff8801d9bb2700 R11: 0000000000000000 R12: 00000000ffffffef
R13: ffff8801d4131248 R14: 1ffff10035954e9a R15: ffff8801d4131200
 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
 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
 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:1222
 vfs_kern_mount.part.34+0xd4/0x4d0 fs/namespace.c:1037
 gfs2_mount+0x5e6/0x712 fs/gfs2/ops_fstype.c:1321
 vfs_kern_mount fs/namespace.c:1027 [inline]
 do_new_mount fs/namespace.c:2517 [inline]
 do_mount+0x564/0x3070 fs/namespace.c:2847
 mount_fs+0xae/0x328 fs/super.c:1222
 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:2517 [inline]
 do_mount+0x564/0x3070 fs/namespace.c:2847
 ksys_mount+0x12d/0x140 fs/namespace.c:3063
 SYSC_mount fs/namespace.c:3077 [inline]
 SyS_mount+0x35/0x50 fs/namespace.c:3074
 do_syscall_64+0x29e/0x9d0 arch/x86/entry/common.c:287
 ksys_mount+0x12d/0x140 fs/namespace.c:3063
 SYSC_mount fs/namespace.c:3077 [inline]
 SyS_mount+0x35/0x50 fs/namespace.c:3074
 do_syscall_64+0x29e/0x9d0 arch/x86/entry/common.c:287
 entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x44318a
RSP: 002b:00007ffdd2ebfa48 EFLAGS: 00000217
 ORIG_RAX: 00000000000000a5
 entry_SYSCALL_64_after_hwframe+0x42/0xb7
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000044318a
RIP: 0033:0x44318a
RDX: 0000000020000040 RSI: 0000000020000080 RDI: 00007ffdd2ebfa60
RSP: 002b:00007ffdd2ebfa48 EFLAGS: 00000217 ORIG_RAX: 00000000000000a5
RBP: 00000000006cb018 R08: 0000000020001580 R09: 000000000000000a
R10: 0000000000200000 R11: 0000000000000217 R12: 6972773d61746164
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000044318a
RDX: 0000000020000040 RSI: 0000000020000080 RDI: 00007ffdd2ebfa60
R13: 63613d61746f7571 R14: 0030656c69662f2e R15: 0000000000000004
RBP: 00000000006cb018 R08: 0000000020001580 R09: 000000000000000a
Code: 
R10: 0000000000200000 R11: 0000000000000217 R12: 6972773d61746164
R13: 63613d61746f7571 R14: 0030656c69662f2e R15: 0000000000000004
00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 88 02 00 00 48 8b 13 48 c7 c6 60 b8 41 88 48 c7 c7 c0 b5 41 88 e8 b0 1e 01 fa <0f> 0b e9 47 fb ff ff 4c 89 e7 e8 f1 c4 6e fa e9 e2 f7 ff ff 4c 
---[ end trace 3c8c312bc258632e ]---
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (148):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/04/09 10:51 upstream 3fd14cdcc05a f13fb445 .config console log report syz C ci-upstream-kasan-gce-root
2018/04/09 10:41 upstream 3fd14cdcc05a f13fb445 .config console log report syz C ci-upstream-kasan-gce-root
2018/04/08 21:23 upstream 3fd14cdcc05a 77bd5117 .config console log report syz C ci-upstream-kasan-gce-root
2018/04/07 14:08 upstream 3fd14cdcc05a 66f22a7f .config console log report syz C ci-upstream-kasan-gce-root
2018/04/06 00:18 upstream 3c8ba0d61d04 a932eae6 .config console log report syz C ci-upstream-kasan-gce-root
2018/04/04 09:46 upstream 17dec0a94915 676bd07e .config console log report syz C ci-upstream-kasan-gce-root
2018/04/04 06:49 upstream f2d285669aae 676bd07e .config console log report syz C ci-upstream-kasan-gce-root
2018/04/03 23:50 upstream f2d285669aae 676bd07e .config console log report syz C ci-upstream-kasan-gce-root
2018/04/03 10:02 upstream 642e7fd23353 676bd07e .config console log report syz C ci-upstream-kasan-gce-root
2018/04/02 23:10 upstream 86bbbebac193 676bd07e .config console log report syz C ci-upstream-kasan-gce-root
2018/04/02 21:05 upstream 86bbbebac193 676bd07e .config console log report syz C ci-upstream-kasan-gce-root
2018/04/02 16:47 upstream 0adb32858b0b dc889257 .config console log report syz C ci-upstream-kasan-gce-root
2018/04/02 01:43 upstream 0adb32858b0b dc889257 .config console log report syz C ci-upstream-kasan-gce-root
2018/04/01 23:52 upstream 0adb32858b0b dc889257 .config console log report syz C ci-upstream-kasan-gce-root
2018/04/01 12:33 upstream 10b84daddbec 0a78e248 .config console log report syz C ci-upstream-kasan-gce-root
2018/03/31 18:46 upstream b5dbc28762fd 0174c6c8 .config console log report syz C ci-upstream-kasan-gce-root
2018/03/31 18:35 upstream b5dbc28762fd 0174c6c8 .config console log report syz C ci-upstream-kasan-gce-root
2018/03/31 18:14 upstream b5dbc28762fd 0174c6c8 .config console log report syz C ci-upstream-kasan-gce-root
2018/03/31 16:26 upstream b5dbc28762fd 8fbce0e4 .config console log report syz C ci-upstream-kasan-gce-root
2018/01/05 21:40 upstream 89876f275e8d 00193447 .config console log report syz C ci-upstream-kasan-gce
2018/04/04 12:19 upstream 17dec0a94915 676bd07e .config console log report ci-upstream-kasan-gce-root
2018/03/30 07:48 upstream c2a9838452a4 d47f0ed6 .config console log report ci-upstream-kasan-gce
2018/01/23 02:52 upstream a0ec1ded22e6 228e3d95 .config console log report ci-upstream-kasan-gce
2018/01/05 21:24 upstream 89876f275e8d 00193447 .config console log report ci-upstream-kasan-gce
2017/12/22 03:15 upstream 9035a8961b50 81fe66b4 .config console log report ci-upstream-kasan-gce
2017/12/21 09:49 upstream d1ce8ceb8ba8 eaadba98 .config console log report ci-upstream-kasan-gce
2017/12/17 11:07 upstream f3b5ad89de16 d5beb42a .config console log report ci-upstream-kasan-gce
2017/12/13 19:10 upstream d39a01eff9af 06ea774d .config console log report ci-upstream-kasan-gce
2017/12/10 18:24 upstream 51090c5d6de0 5ad0ce95 .config console log report ci-upstream-kasan-gce
2017/12/02 01:35 upstream a0651c7fa2c0 48359b97 .config console log report ci-upstream-kasan-gce
2017/12/01 01:53 upstream a0908a1b7d68 5153aeaf .config console log report ci-upstream-kasan-gce
2017/11/30 14:24 upstream a0908a1b7d68 5153aeaf .config console log report ci-upstream-kasan-gce
2018/01/06 19:58 upstream 3219e264b984 053171ea .config console log report ci-upstream-kasan-gce-386
2017/12/21 02:53 upstream d1ce8ceb8ba8 90a46995 .config console log report ci-upstream-kasan-gce-386
2017/12/06 22:02 upstream e56d565d67ae 5d643f8e .config console log report ci-upstream-kasan-gce-386
2017/12/03 02:39 upstream 2db767d9889c 48359b97 .config console log report ci-upstream-kasan-gce-386
2017/12/02 22:21 upstream 2db767d9889c 48359b97 .config console log report ci-upstream-kasan-gce-386
2017/12/02 15:13 upstream 2db767d9889c 48359b97 .config console log report ci-upstream-kasan-gce-386
2017/12/02 04:25 upstream a0651c7fa2c0 48359b97 .config console log report ci-upstream-kasan-gce-386
2017/11/23 21:02 upstream 5a787756b809 cb27b030 .config console log report ci-upstream-kasan-gce-386
2017/11/23 10:34 upstream 5a787756b809 cb27b030 .config console log report ci-upstream-kasan-gce-386
2018/01/23 03:59 net-next-old c13da21cdb80 228e3d95 .config console log report ci-upstream-net-kasan-gce
2018/01/22 13:45 net-next-old ebdd7b491b8a 228e3d95 .config console log report ci-upstream-net-kasan-gce
2018/02/01 05:21 net-next-old b2fe5fa68642 02553e22 .config console log report ci-upstream-net-kasan-gce
2018/01/25 20:50 net-next-old fb07a820fe3f 1d18b112 .config console log report ci-upstream-net-kasan-gce
2018/01/25 08:25 net-next-old 8ec59b44a006 6b2a715e .config console log report ci-upstream-net-kasan-gce
2018/01/15 06:52 net-next-old 564737f981fb 66d492a6 .config console log report ci-upstream-net-kasan-gce
2017/12/18 08:47 net-next-old c30abd5e40dd d5beb42a .config console log report ci-upstream-net-kasan-gce
2017/12/16 07:45 net-next-old 28dc4c8f4557 b6f0c91b .config console log report ci-upstream-net-kasan-gce
2017/12/16 06:11 net-next-old 28dc4c8f4557 ac20b98c .config console log report ci-upstream-net-kasan-gce
2017/12/08 11:48 net-next-old 66c5c5b56682 b0fa969c .config console log report ci-upstream-net-kasan-gce
2017/12/08 07:30 net-next-old 66c5c5b56682 5d643f8e .config console log report ci-upstream-net-kasan-gce
2017/12/07 17:35 net-next-old 24e5992a6bae 5d643f8e .config console log report ci-upstream-net-kasan-gce
2017/12/07 17:32 net-next-old 24e5992a6bae 5d643f8e .config console log report ci-upstream-net-kasan-gce
2017/12/06 19:58 net-next-old 92425c40676d 5d643f8e .config console log report ci-upstream-net-kasan-gce
2017/11/27 08:23 net-next-old 1d3b78bbc6e9 deb5f6ae .config console log report ci-upstream-net-kasan-gce
2018/01/13 01:53 mmots ce3c209f6733 9dc808a6 .config console log report ci-upstream-mmots-kasan-gce
2018/01/12 10:28 mmots 2c405fa05106 9dc808a6 .config console log report ci-upstream-mmots-kasan-gce
2018/01/11 11:29 mmots 4147d50978df 9dc808a6 .config console log report ci-upstream-mmots-kasan-gce
2018/01/10 01:04 linux-next 06d41862286a 1f60c828 .config console log report ci-upstream-next-kasan-gce
2018/01/09 13:56 linux-next 06d41862286a 11dc42f6 .config console log report ci-upstream-next-kasan-gce
* Struck through repros no longer work on HEAD.