syzbot


WARNING in mark_lock (3)

Status: upstream: reported C repro on 2019/11/26 09:05
Reported-by: syzbot+a229d8d995b74f8c4b6c@syzkaller.appspotmail.com
First crash: 957d, last: 772d

Cause bisection: introduced by (bisect log) :
commit d665c1281bc89ac85b8b0c058c22a3f94640a1d6
Author: Yi Wang <wang.yi59@zte.com.cn>
Date: Mon Oct 21 23:57:42 2019 +0000

  net: sched: taprio: fix -Wmissing-prototypes warnings

Crash: general protection fault in batadv_iv_ogm_queue_add (log)
Repro: C syz .config

Fix bisection: the fix commit could be any of (bisect log):
  f751820bc319 vfio/type1: Fix migration info capability ID
  5c5866c593bb vfio/pci: Clear error and request eventfd ctx after releasing
  ebfa440ce38b vfio/pci: Fix SR-IOV VF handling with MMIO blocking
  c322f5399fc3 Merge tag 'vfio-v5.8-rc3' of git://github.com/awilliam/linux-vfio
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in mark_lock (2) 14 989d 1016d 14/22 fixed on 2019/10/27 22:28
upstream WARNING in mark_lock syz done 2 1052d 1107d 13/22 fixed on 2019/08/27 17:15

Sample crash report:
------------[ cut here ]------------
DEBUG_LOCKS_WARN_ON(1)
WARNING: CPU: 0 PID: 10812 at kernel/locking/lockdep.c:167 hlock_class kernel/locking/lockdep.c:167 [inline]
WARNING: CPU: 0 PID: 10812 at kernel/locking/lockdep.c:167 hlock_class kernel/locking/lockdep.c:156 [inline]
WARNING: CPU: 0 PID: 10812 at kernel/locking/lockdep.c:167 mark_lock+0x22b/0x1220 kernel/locking/lockdep.c:3643
Kernel panic - not syncing: panic_on_warn set ...
CPU: 0 PID: 10812 Comm: syz-executor912 Not tainted 5.5.0-rc5-syzkaller #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+0x197/0x210 lib/dump_stack.c:118
 panic+0x2e3/0x75c kernel/panic.c:221
 __warn.cold+0x2f/0x3e kernel/panic.c:582
 report_bug+0x289/0x300 lib/bug.c:195
 fixup_bug arch/x86/kernel/traps.c:174 [inline]
 fixup_bug arch/x86/kernel/traps.c:169 [inline]
 do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:267
 do_invalid_op+0x37/0x50 arch/x86/kernel/traps.c:286
 invalid_op+0x23/0x30 arch/x86/entry/entry_64.S:1027
RIP: 0010:hlock_class kernel/locking/lockdep.c:167 [inline]
RIP: 0010:hlock_class kernel/locking/lockdep.c:156 [inline]
RIP: 0010:mark_lock+0x22b/0x1220 kernel/locking/lockdep.c:3643
Code: d0 7c 08 84 d2 0f 85 a8 0e 00 00 44 8b 1d fd 22 21 09 45 85 db 75 b6 48 c7 c6 20 95 2b 88 48 c7 c7 60 95 2b 88 e8 94 3e eb ff <0f> 0b 31 db e9 aa fe ff ff 48 c7 c7 20 35 66 8b e8 70 4e 58 00 e9
RSP: 0018:ffffc90001e771c8 EFLAGS: 00010082
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff815e8506 RDI: fffff520003cee2b
RBP: ffffc90001e77218 R08: ffff888097e98440 R09: fffffbfff1333511
R10: fffffbfff1333510 R11: ffffffff8999a883 R12: 0000000000000002
R13: ffff888097e98d28 R14: 0000000000000000 R15: 00000000000405d8
 mark_usage kernel/locking/lockdep.c:3580 [inline]
 __lock_acquire+0x1370/0x4a00 kernel/locking/lockdep.c:3909
 lock_acquire+0x190/0x410 kernel/locking/lockdep.c:4485
 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:135 [inline]
 _raw_spin_lock_bh+0x33/0x50 kernel/locking/spinlock.c:175
 spin_lock_bh include/linux/spinlock.h:343 [inline]
 netif_addr_lock_bh include/linux/netdevice.h:4092 [inline]
 dev_mc_seq_show net/core/net-procfs.c:325 [inline]
 dev_mc_seq_show+0x3e/0x240 net/core/net-procfs.c:317
 seq_read+0xad7/0x1170 fs/seq_file.c:268
 proc_reg_read+0x1fc/0x2c0 fs/proc/inode.c:223
 do_loop_readv_writev fs/read_write.c:714 [inline]
 do_loop_readv_writev fs/read_write.c:701 [inline]
 do_iter_read+0x4a4/0x660 fs/read_write.c:935
 vfs_readv+0xf0/0x160 fs/read_write.c:997
 kernel_readv fs/splice.c:365 [inline]
 default_file_splice_read+0x4fb/0xa20 fs/splice.c:422
 do_splice_to+0x127/0x180 fs/splice.c:892
 splice_direct_to_actor+0x320/0xa30 fs/splice.c:971
 do_splice_direct+0x1da/0x2a0 fs/splice.c:1080
 do_sendfile+0x597/0xd00 fs/read_write.c:1464
 __do_sys_sendfile64 fs/read_write.c:1525 [inline]
 __se_sys_sendfile64 fs/read_write.c:1511 [inline]
 __x64_sys_sendfile64+0x1dd/0x220 fs/read_write.c:1511
 do_syscall_64+0xfa/0x790 arch/x86/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x447709
Code: e8 ec 0e 03 00 48 83 c4 18 c3 0f 1f 80 00 00 00 00 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 fb 06 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f98d03bccf8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00000000006dcc98 RCX: 0000000000447709
RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000005
RBP: 00000000006dcc90 R08: 0000000000000000 R09: 0000000000000000
R10: 000000006f0a77bd R11: 0000000000000246 R12: 00000000006dcc9c
R13: 00007f98d03bcd10 R14: 00007f98d03bcd10 R15: a7ffffffffffffde
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (69):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-selinux-root 2020/01/10 12:55 upstream e69ec487b2c7 4de4e9f0 .config log report syz C
ci-upstream-kasan-gce-root 2020/01/09 11:47 upstream b07f636fca1c ddc3e859 .config log report syz C
ci-upstream-kasan-gce 2020/01/09 04:09 upstream b07f636fca1c ddc3e859 .config log report syz C
ci-upstream-kasan-gce-root 2020/01/07 16:02 upstream ae6088216ce4 1bcd407e .config log report syz C
ci-upstream-kasan-gce-root 2019/12/19 05:00 upstream 2187f215ebaa 79b211f7 .config log report syz C
ci-upstream-kasan-gce 2019/12/19 01:48 upstream 2187f215ebaa 79b211f7 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2019/12/19 01:34 upstream 2187f215ebaa 79b211f7 .config log report syz C
ci-upstream-kasan-gce-smack-root 2019/11/28 21:54 upstream a6ed68d6468b 46869e3e .config log report syz C
ci-upstream-kasan-gce-selinux-root 2019/11/28 06:39 upstream d76886972823 0d63f89c .config log report syz C
ci-upstream-kasan-gce 2019/11/27 19:29 upstream 89d57dddd7d3 0d63f89c .config log report syz C
ci-upstream-kasan-gce-386 2019/12/19 06:21 upstream 2187f215ebaa 79b211f7 .config log report syz C
ci2-upstream-usb 2020/03/26 14:02 https://github.com/google/kasan.git usb-fuzzer e17994d1e7b1 6d25c5a0 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2020/01/12 04:15 linux-next 6c09d7dbb7d3 4c04afaa .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2019/12/27 09:21 linux-next 7ddd09fc4b74 be5c2c81 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2019/12/13 01:33 linux-next 78adcacd4edb 08003f64 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2020/01/08 10:30 upstream ae6088216ce4 6738e0b3 .config log report syz
ci-upstream-kasan-gce-root 2019/11/25 21:13 upstream 219d54332a09 371caf77 .config log report syz
ci-upstream-kasan-gce-smack-root 2019/11/22 07:57 upstream 81429eb8d9ca 8098ea0f .config log report syz
ci-upstream-kasan-gce-386 2020/01/09 06:33 upstream b07f636fca1c ddc3e859 .config log report syz
ci-upstream-kasan-gce-386 2020/01/07 07:39 upstream ec7b3f5372e2 53430d97 .config log report syz
ci-upstream-kasan-gce-smack-root 2020/02/28 06:24 upstream f8788d86ab28 59b57593 .config log report
ci-upstream-kasan-gce-smack-root 2020/02/13 13:00 upstream f2850dd5ee01 84f4fc8a .config log report
ci-upstream-kasan-gce 2020/01/15 20:27 upstream 51d69817519f f9b69507 .config log report
ci-upstream-kasan-gce 2020/01/14 18:11 upstream b3a987b0264d 32881205 .config log report
ci-upstream-kasan-gce 2020/01/08 15:26 upstream ae6088216ce4 ddc3e859 .config log report
ci-upstream-kasan-gce-selinux-root 2020/01/08 14:56 upstream ae6088216ce4 ddc3e859 .config log report
ci-upstream-kasan-gce 2020/01/07 08:21 upstream ec7b3f5372e2 53430d97 .config log report
ci-upstream-kasan-gce-root 2019/12/29 21:07 upstream a99efa00891b af6b8ef8 .config log report
ci-upstream-kasan-gce 2019/12/18 23:02 upstream 2187f215ebaa 79b211f7 .config log report
ci-upstream-kasan-gce 2019/12/09 01:46 upstream 9455d25f4e3b 1508f453 .config log report
ci-upstream-kasan-gce-smack-root 2019/11/26 14:12 upstream 0be0ee71816b f746151a .config log report
ci-qemu-upstream-386 2019/12/26 21:33 upstream 46cf053efec6 8b967267 .config log report
ci-upstream-net-this-kasan-gce 2020/01/17 17:32 net 93ad0f969fc7 3de7aabb .config log report
ci-upstream-net-this-kasan-gce 2020/01/16 11:16 net 567110f147b3 f9b69507 .config log report
ci-upstream-net-this-kasan-gce 2020/01/15 04:43 net f8d7408a4d7f fa12bd3c .config log report
ci-upstream-net-this-kasan-gce 2020/01/13 18:23 net c9f53049d4a8 99565c1a .config log report
ci-upstream-net-this-kasan-gce 2020/01/13 10:33 net c9f53049d4a8 53faa9fe .config log report
ci-upstream-net-this-kasan-gce 2020/01/11 19:35 net a5c3a7c0ce1a 4c04afaa .config log report
ci-upstream-net-this-kasan-gce 2020/01/11 06:46 net e267371dd376 4de4e9f0 .config log report
ci-upstream-net-this-kasan-gce 2020/01/10 11:01 net e267371dd376 4de4e9f0 .config log report
ci-upstream-net-kasan-gce 2020/01/19 13:28 net-next 9aaa29494030 bc8bc756 .config log report
ci-upstream-net-kasan-gce 2020/01/19 12:25 net-next 9aaa29494030 bc8bc756 .config log report
ci-upstream-net-kasan-gce 2020/01/19 00:31 net-next 9aaa29494030 bc8bc756 .config log report
ci-upstream-net-kasan-gce 2020/01/18 17:07 net-next 56f200c78ce4 3de7aabb .config log report
ci-upstream-net-kasan-gce 2020/01/18 07:28 net-next 56f200c78ce4 3de7aabb .config log report
ci-upstream-net-kasan-gce 2020/01/18 05:08 net-next 56f200c78ce4 3de7aabb .config log report
ci-upstream-net-kasan-gce 2020/01/18 03:01 net-next 56f200c78ce4 3de7aabb .config log report
ci-upstream-net-kasan-gce 2020/01/18 01:02 net-next 56f200c78ce4 3de7aabb .config log report
ci-upstream-net-kasan-gce 2020/01/17 19:51 net-next 56f200c78ce4 3de7aabb .config log report
ci-upstream-net-kasan-gce 2020/01/16 21:34 net-next 1ccf6c13d9c7 3de7aabb .config log report
ci-upstream-net-kasan-gce 2020/01/16 20:20 net-next 1ccf6c13d9c7 3de7aabb .config log report
ci-upstream-net-kasan-gce 2020/01/16 16:23 net-next 1ccf6c13d9c7 3de7aabb .config log report
ci-upstream-net-kasan-gce 2020/01/16 05:27 net-next 4e2fa6b90275 f9b69507 .config log report
ci-upstream-net-kasan-gce 2020/01/15 22:00 net-next 4e2fa6b90275 f9b69507 .config log report
ci-upstream-net-kasan-gce 2020/01/15 03:26 net-next 76ccf5288c62 fa12bd3c .config log report
ci-upstream-net-kasan-gce 2020/01/14 14:15 net-next 428cd5232482 32881205 .config log report
ci-upstream-net-kasan-gce 2020/01/13 05:03 net-next a442c2c3850d 53faa9fe .config log report
ci-upstream-net-kasan-gce 2020/01/11 16:03 net-next 6821af8b7885 4c04afaa .config log report
ci-upstream-net-kasan-gce 2020/01/11 04:46 net-next 9f120e7659b0 4de4e9f0 .config log report
ci-upstream-net-kasan-gce 2020/01/11 02:19 net-next 9f120e7659b0 4de4e9f0 .config log report
ci-upstream-linux-next-kasan-gce-root 2020/01/10 19:30 linux-next 6c09d7dbb7d3 4de4e9f0 .config log report
ci-upstream-linux-next-kasan-gce-root 2020/01/09 10:58 linux-next 85cff1ab6432 ddc3e859 .config log report
ci-upstream-linux-next-kasan-gce-root 2019/12/18 23:08 linux-next b9c5ef25038d 79b211f7 .config log report
ci-upstream-linux-next-kasan-gce-root 2019/12/02 15:03 linux-next c5db92909bed f879db37 .config log report