syzbot


WARNING: locking bug in flush_workqueue_prep_pwqs

Status: closed as invalid on 2019/10/04 03:59
Subsystems: ceph net
[Documentation on labels]
Reported-by: syzbot+0c4264acb66ea0484d11@syzkaller.appspotmail.com
First crash: 1868d, last: 1740d
Discussions (3)
Title Replies (including bot) Last reply
Reminder: 2 open syzbot bugs in "net/rxrpc" subsystem 1 (1) 2019/07/24 02:44
Reminder: 3 open syzbot bugs in "net/rxrpc" subsystem 1 (1) 2019/07/02 06:21
WARNING: locking bug in flush_workqueue_prep_pwqs 0 (1) 2019/02/15 17:01

Sample crash report:
bond0: Enslaving bond_slave_1 as an active interface with an up link
------------[ cut here ]------------
kobject: 'team_slave_0' (000000001ce6e5ab): kobject_uevent_env
DEBUG_LOCKS_WARN_ON(class_idx > MAX_LOCKDEP_KEYS)
WARNING: CPU: 0 PID: 21484 at kernel/locking/lockdep.c:3315 __lock_acquire+0x13bf/0x4700 kernel/locking/lockdep.c:3315
Kernel panic - not syncing: panic_on_warn set ...
CPU: 0 PID: 21484 Comm: syz-executor.3 Not tainted 5.0.0-rc8+ #88
kobject: 'team_slave_0' (000000001ce6e5ab): fill_kobj_path: path = '/devices/virtual/net/team_slave_0'
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+0x172/0x1f0 lib/dump_stack.c:113
 panic+0x2cb/0x65c kernel/panic.c:214
kobject: 'queues' (00000000179842a1): kobject_add_internal: parent: 'team_slave_0', set: '<NULL>'
kobject: 'queues' (00000000179842a1): kobject_uevent_env
 __warn.cold+0x20/0x45 kernel/panic.c:571
kobject: 'queues' (00000000179842a1): kobject_uevent_env: filter function caused the event to drop!
 report_bug+0x263/0x2b0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 fixup_bug arch/x86/kernel/traps.c:173 [inline]
 do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:271
 do_invalid_op+0x37/0x50 arch/x86/kernel/traps.c:290
kobject: 'rx-0' (000000003f0e5c58): kobject_add_internal: parent: 'queues', set: 'queues'
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:973
RIP: 0010:__lock_acquire+0x13bf/0x4700 kernel/locking/lockdep.c:3315
Code: 8b 1d 69 ab 05 08 45 85 db 0f 85 d6 f4 ff ff 48 c7 c6 e0 a2 6b 87 48 c7 c7 40 77 6b 87 44 89 9c 24 98 00 00 00 e8 ef 29 ec ff <0f> 0b 44 8b 9c 24 98 00 00 00 e9 af f4 ff ff 8b 3d dc 69 fe 08 85
kobject: 'rx-0' (000000003f0e5c58): kobject_uevent_env
RSP: 0018:ffff8880560d7740 EFLAGS: 00010082
RAX: 0000000000000000 RBX: 0000000099f7f8ad RCX: 0000000000000000
RDX: 000000000000a66e RSI: ffffffff815a9066 RDI: ffffed100ac1aeda
RBP: ffff8880560d7908 R08: ffff8880579e63c0 R09: fffffbfff1133349
R10: fffffbfff1133348 R11: ffffffff88999a43 R12: ffff8880579e6c80
R13: ffff8880579e6c8a R14: 0000000099f7f8ad R15: ffff8880579e63c0
kobject: 'rx-0' (000000003f0e5c58): fill_kobj_path: path = '/devices/virtual/net/team_slave_0/queues/rx-0'
 lock_acquire+0x16f/0x3f0 kernel/locking/lockdep.c:3841
 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:128 [inline]
 _raw_spin_lock_irq+0x60/0x80 kernel/locking/spinlock.c:160
kobject: 'tx-0' (00000000f036d495): kobject_add_internal: parent: 'queues', set: 'queues'
 spin_lock_irq include/linux/spinlock.h:354 [inline]
 flush_workqueue_prep_pwqs+0x1c5/0x590 kernel/workqueue.c:2633
 flush_workqueue+0x54b/0x14c0 kernel/workqueue.c:2704
kobject: 'tx-0' (00000000f036d495): kobject_uevent_env
 ceph_msgr_flush+0x15/0x20 net/ceph/messenger.c:293
kobject: 'tx-0' (00000000f036d495): fill_kobj_path: path = '/devices/virtual/net/team_slave_0/queues/tx-0'
 ceph_monc_stop+0x70/0x220 net/ceph/mon_client.c:1113
 ceph_create_client net/ceph/ceph_common.c:668 [inline]
 ceph_create_client+0x2d0/0x370 net/ceph/ceph_common.c:623
 create_fs_client fs/ceph/super.c:635 [inline]
 ceph_mount+0x471/0x1870 fs/ceph/super.c:1063
 mount_fs+0x106/0x3ff fs/super.c:1258
kobject: 'batman_adv' (00000000a2fbbfe8): kobject_add_internal: parent: 'team_slave_0', set: '<NULL>'
 vfs_kern_mount.part.0+0x6f/0x410 fs/namespace.c:959
 vfs_kern_mount fs/namespace.c:949 [inline]
 do_new_mount fs/namespace.c:2513 [inline]
 do_mount+0x581/0x2d30 fs/namespace.c:2845
kobject: 'veth1_to_team' (0000000079768f9d): kobject_add_internal: parent: 'net', set: 'devices'
 ksys_mount+0xdb/0x150 fs/namespace.c:3061
kobject: 'veth1_to_team' (0000000079768f9d): kobject_uevent_env
 __do_sys_mount fs/namespace.c:3075 [inline]
 __se_sys_mount fs/namespace.c:3072 [inline]
 __x64_sys_mount+0xbe/0x150 fs/namespace.c:3072
 do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
kobject: 'veth1_to_team' (0000000079768f9d): fill_kobj_path: path = '/devices/virtual/net/veth1_to_team'
RIP: 0033:0x457e29
Code: ad b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 7b b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f1edd0a5c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 0000000000457e29
RDX: 0000000020000100 RSI: 0000000020000200 RDI: 0000000020000040
RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000
kobject: 'queues' (000000004579d2f5): kobject_add_internal: parent: 'veth1_to_team', set: '<NULL>'
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f1edd0a66d4
R13: 00000000004c3bf7 R14: 00000000004d6e00 R15: 00000000ffffffff
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/03/01 01:29 upstream 7d762d69145a 09aeeba4 .config console log report ci-upstream-kasan-gce
2019/02/15 10:55 upstream cb5b020a8d38 f6f233c0 .config console log report ci-upstream-kasan-gce
2019/06/23 02:40 upstream abf02e2964b3 34bf9440 .config console log report ci-upstream-kasan-gce-386
2019/05/10 12:04 net-old 601e6bcc4ef0 018207ef .config console log report ci-upstream-net-this-kasan-gce
2019/06/14 15:09 net-next-old 514fcaac371e 998ccc76 .config console log report ci-upstream-net-kasan-gce
2019/05/24 04:27 net-next-old 16fa1cf1ed2a 0dadcd9d .config console log report ci-upstream-net-kasan-gce
2019/05/17 13:44 net-next-old 35c99ffa20ed 95dfd515 .config console log report ci-upstream-net-kasan-gce
* Struck through repros no longer work on HEAD.