syzbot


BUG: MAX_LOCKDEP_KEYS too low! (2)

Status: upstream: reported C repro on 2021/05/19 17:35
Reported-by: syzbot+a70a6358abd2c3f9550f@syzkaller.appspotmail.com
First crash: 631d, last: 4d01h

Cause bisection: introduced by (bisect log) [merge commit]:
commit d99676af540c2dc829999928fb81c58c80a1dce4
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date: Sun Feb 21 22:44:44 2021 +0000

  Merge tag 'drm-next-2021-02-19' of git://anongit.freedesktop.org/drm/drm

Crash: WARNING in kvm_wait (log)
Repro: C syz .config
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: MAX_LOCKDEP_KEYS too low! C done error 3496 953d 1197d 17/24 fixed on 2020/12/09 20:00

Sample crash report:
device team1093 entered promiscuous mode
8021q: adding VLAN 0 to HW filter on device team1093
BUG: MAX_LOCKDEP_KEYS too low!
turning off the locking correctness validator.
CPU: 0 PID: 11654 Comm: syz-executor836 Not tainted 6.2.0-rc4-syzkaller-00467-gf67144022885 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xd1/0x138 lib/dump_stack.c:106
 register_lock_class.cold+0x11/0x16 kernel/locking/lockdep.c:1326
 __lock_acquire+0x109/0x56d0 kernel/locking/lockdep.c:4934
 lock_acquire kernel/locking/lockdep.c:5668 [inline]
 lock_acquire+0x1e3/0x630 kernel/locking/lockdep.c:5633
 __mutex_lock_common kernel/locking/mutex.c:603 [inline]
 __mutex_lock+0x12f/0x1360 kernel/locking/mutex.c:747
 team_vlan_rx_add_vid+0x3c/0x1e0 drivers/net/team/team.c:1904
 vlan_add_rx_filter_info+0x149/0x1d0 net/8021q/vlan_core.c:211
 __vlan_vid_add net/8021q/vlan_core.c:306 [inline]
 vlan_vid_add+0x3f6/0x7f0 net/8021q/vlan_core.c:336
 vlan_device_event.cold+0x28/0x2d net/8021q/vlan.c:385
 notifier_call_chain+0xb5/0x200 kernel/notifier.c:87
 call_netdevice_notifiers_info+0xb5/0x130 net/core/dev.c:1944
 call_netdevice_notifiers_extack net/core/dev.c:1982 [inline]
 call_netdevice_notifiers net/core/dev.c:1996 [inline]
 __dev_notify_flags+0x120/0x2d0 net/core/dev.c:8569
 rtnl_configure_link+0x181/0x260 net/core/rtnetlink.c:3241
 rtnl_newlink_create net/core/rtnetlink.c:3415 [inline]
 __rtnl_newlink+0x10f6/0x1840 net/core/rtnetlink.c:3624
 rtnl_newlink+0x68/0xa0 net/core/rtnetlink.c:3637
 rtnetlink_rcv_msg+0x43e/0xca0 net/core/rtnetlink.c:6141
 netlink_rcv_skb+0x165/0x440 net/netlink/af_netlink.c:2564
 netlink_unicast_kernel net/netlink/af_netlink.c:1330 [inline]
 netlink_unicast+0x547/0x7f0 net/netlink/af_netlink.c:1356
 netlink_sendmsg+0x91b/0xe10 net/netlink/af_netlink.c:1932
 sock_sendmsg_nosec net/socket.c:714 [inline]
 sock_sendmsg+0xd3/0x120 net/socket.c:734
 ____sys_sendmsg+0x712/0x8c0 net/socket.c:2476
 ___sys_sendmsg+0x110/0x1b0 net/socket.c:2530
 __sys_sendmsg+0xf7/0x1c0 net/socket.c:2559
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f00b2ec9319
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 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 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fffad869e48 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f00b2ec9319
RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00000000b2f36e40 R09: 00000000b2f36e40
R10: 00000000b2f36e40 R11: 0000000000000246 R12: 000000000004eb5d
R13: 00007fffad869e70 R14: 00007fffad869e60 R15: 00007fffad869e54
 </TASK>

Crashes (226):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-upstream-kasan-gce 2023/01/22 09:11 upstream f67144022885 559a440a .config strace log report syz C [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-kasan-gce-root 2023/01/04 15:58 upstream 69b41ac87e4a 1dac8c7a .config console log report syz C [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-kasan-gce 2022/12/26 11:44 upstream 1b929c02afd3 9da18ae8 .config strace log report syz C [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-kasan-gce-selinux-root 2022/12/25 20:34 upstream 72a85e2b0a1e 9da18ae8 .config strace log report syz C [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-kasan-gce 2022/12/07 11:16 upstream 8ed710da2873 d88f3abb .config strace log report syz C [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-net-this-kasan-gce 2023/01/22 04:40 net 71ab9c3e2253 559a440a .config strace log report syz C [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-net-this-kasan-gce 2023/01/11 11:52 net 0aa7d35f5d00 1dac8c7a .config strace log report syz C [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-net-this-kasan-gce 2022/12/26 04:44 net be1236fce5f4 9da18ae8 .config strace log report syz C [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-net-kasan-gce 2023/01/22 00:15 net-next a7b87d2a31dc 559a440a .config strace log report syz C [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-net-kasan-gce 2023/01/11 09:48 net-next ef1757ef5846 1dac8c7a .config strace log report syz C [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-linux-next-kasan-gce-root 2023/01/26 07:16 linux-next 691781f561e9 9dfcf09c .config console log report syz C [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-gce-arm64 2023/01/22 03:58 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci edb2f0dc90f2 559a440a .config console log report syz C [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-gce-arm64 2023/01/11 06:43 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 358a161a6a9e 1dac8c7a .config console log report syz C [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-gce-arm64 2022/12/26 05:57 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 9da18ae8 .config console log report syz C [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-gce-arm64 2022/12/07 16:22 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 d88f3abb .config console log report syz C [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-gce-arm64 2022/11/08 13:40 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 3577a7611842 881db35d .config console log report syz C [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-kasan-gce 2023/02/01 10:58 upstream 58706f7fb045 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-kasan-gce 2023/01/24 13:32 upstream 7bf70dbb1882 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-kasan-gce 2023/01/24 05:31 upstream 7bf70dbb1882 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-kasan-gce-smack-root 2023/01/21 07:20 upstream ff83fec8179e 559a440a .config console log report info [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-kasan-gce 2023/01/18 21:54 upstream c1649ec55708 42660d9e .config console log report info [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-kasan-gce 2023/01/14 17:59 upstream 97ec4d559d93 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-kasan-gce-smack-root 2022/12/31 09:45 upstream c8451c141e07 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-kasan-gce-smack-root 2022/12/25 13:25 upstream 72a85e2b0a1e 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-kasan-gce 2022/12/11 06:25 upstream 296a7b7eb792 67be1ae7 .config console log report info [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-kasan-gce-smack-root 2022/11/22 06:43 upstream eb7081409f94 1c576c23 .config console log report info [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-kasan-gce 2022/11/21 04:14 upstream 894909f95aa1 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-kasan-gce 2022/11/12 11:09 upstream f5020a08b2b3 3ead01ad .config console log report info [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-kasan-gce-root 2022/11/04 00:09 upstream f2f32f8af2b0 6d752409 .config console log report info [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-kasan-gce 2022/10/06 05:20 upstream 833477fce7a1 2c6543ad .config console log report info [disk image] [vmlinux] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-kasan-gce-386 2022/05/24 10:55 upstream 1e57930e9f40 e7f9308d .config console log report info BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-net-this-kasan-gce 2023/02/01 14:02 net 8f35ae17ef56 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-net-this-kasan-gce 2023/01/30 19:23 net 54aa39a513db 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-net-this-kasan-gce 2023/01/24 12:14 net 9f535c870e49 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-net-this-kasan-gce 2023/01/23 21:50 net e38553bdc377 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-net-this-kasan-gce 2023/01/19 21:25 net 4fb58ac3368c 1b826a2f .config console log report info [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-net-this-kasan-gce 2023/01/16 23:04 net 3a415d59c1db a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-net-this-kasan-gce 2023/01/15 11:28 net a22b7388d658 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-net-this-kasan-gce 2023/01/10 22:22 net 53da7aec3298 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-net-this-kasan-gce 2023/01/07 05:57 net c244c092f1ed 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-net-this-kasan-gce 2023/01/01 23:07 net d9d71a89f28d ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-net-this-kasan-gce 2022/12/22 17:20 net 609d3bc62305 c692fab1 .config console log report info [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-net-this-kasan-gce 2022/12/08 05:27 net 87a39882b5ab d88f3abb .config console log report info [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-net-this-kasan-gce 2022/12/02 02:25 net c25b7a7a565e e080de16 .config console log report info [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-net-this-kasan-gce 2022/11/21 21:47 net 9ab000d9ac54 1c576c23 .config console log report info [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-net-this-kasan-gce 2022/10/19 09:21 net fa182ea26ff0 b31320fc .config console log report info [disk image] [vmlinux] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-net-this-kasan-gce 2022/10/15 14:08 net fa182ea26ff0 67cb024c .config console log report info [disk image] [vmlinux] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-net-this-kasan-gce 2022/10/12 21:48 net 3a732b46736c 89b5a509 .config console log report info [disk image] [vmlinux] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-net-this-kasan-gce 2022/10/11 22:23 net 0cf3cae9697b 1353c374 .config console log report info [disk image] [vmlinux] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-net-this-kasan-gce 2022/09/30 22:28 net 0bafedc53649 feb56351 .config console log report info [disk image] [vmlinux] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-net-this-kasan-gce 2021/05/15 17:31 net b81ac7841d51 93f844de .config console log report info BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-net-kasan-gce 2023/02/01 23:35 net-next dd25cfab16e6 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-net-kasan-gce 2023/02/01 09:53 net-next df54fde451db 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-net-kasan-gce 2023/01/26 22:32 net-next 9179f5fe4173 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-net-kasan-gce 2023/01/26 18:52 net-next 9179f5fe4173 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-net-kasan-gce 2023/01/26 05:08 net-next f5be9caf7bf0 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-net-kasan-gce 2023/01/24 09:26 net-next 32e54254bab8 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-net-kasan-gce 2023/01/19 16:54 net-next 9ffb07a3e6b8 1b826a2f .config console log report info [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-net-kasan-gce 2023/01/19 02:45 net-next 68e5b6aa2795 42660d9e .config console log report info [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-net-kasan-gce 2023/01/10 08:06 net-next 12c1604ae1a3 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-net-kasan-gce 2023/01/05 20:31 net-next 0471005efac9 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-net-kasan-gce 2022/10/15 08:58 net-next 0326074ff465 67cb024c .config console log report info [disk image] [vmlinux] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-net-kasan-gce 2022/10/13 13:15 net-next 0326074ff465 adf90437 .config console log report info [disk image] [vmlinux] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-net-kasan-gce 2022/10/06 07:20 net-next 0326074ff465 2c6543ad .config console log report info [disk image] [vmlinux] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-net-kasan-gce 2022/09/30 21:41 net-next 0f5ef005310d feb56351 .config console log report info [disk image] [vmlinux] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-linux-next-kasan-gce-root 2022/12/21 03:31 linux-next e45fb347b630 d3e76707 .config console log report info [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-gce-arm64 2023/01/21 18:23 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci edb2f0dc90f2 559a440a .config console log report info [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
ci-upstream-gce-arm64 2023/01/18 13:06 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9598c377d828 42660d9e .config console log report info [disk image] [vmlinux] [kernel image] BUG: MAX_LOCKDEP_KEYS too low!
* Struck through repros no longer work on HEAD.