syzbot


BUG: MAX_LOCKDEP_KEYS too low!

Status: upstream: reported C repro on 2023/04/09 03:19
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+0752173038063aaf3f0f@syzkaller.appspotmail.com
First crash: 410d, last: 28d
Bug presence (1)
Date Name Commit Repro Result
2023/05/16 upstream (ToT) f1fcbaa18b28 C [report] BUG: MAX_LOCKDEP_KEYS too low!
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 BUG: MAX_LOCKDEP_KEYS too low! origin:lts-only C error 11 116d 430d 0/3 upstream: reported C repro on 2023/03/20 08:38
upstream BUG: MAX_LOCKDEP_KEYS too low! net C done error 3496 1426d 1670d 15/26 fixed on 2020/12/09 20:00
upstream BUG: MAX_LOCKDEP_KEYS too low! (2) no-reminders net nfc C unreliable 3771 8h24m 1099d 0/26 upstream: reported C repro on 2021/05/19 17:35
Fix bisection attempts (5)
Created Duration User Patch Repo Result
2024/03/09 00:25 1h36m bisect fix linux-6.1.y job log (0) log
2024/01/30 10:26 1h39m bisect fix linux-6.1.y job log (0) log
2023/12/17 03:59 1h25m bisect fix linux-6.1.y job log (0) log
2023/10/21 23:11 1h35m bisect fix linux-6.1.y job log (0) log
2023/09/18 07:56 1h41m bisect fix linux-6.1.y job log (0) log

Sample crash report:
device team1091 entered promiscuous mode
8021q: adding VLAN 0 to HW filter on device team1091
BUG: MAX_LOCKDEP_KEYS too low!
turning off the locking correctness validator.
CPU: 0 PID: 10157 Comm: syz-executor270 Not tainted 6.1.69-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106
 register_lock_class+0x83d/0x990 kernel/locking/lockdep.c:1319
 __lock_acquire+0xd3/0x1f80 kernel/locking/lockdep.c:4928
 lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662
 __mutex_lock_common kernel/locking/mutex.c:603 [inline]
 __mutex_lock+0x132/0xd80 kernel/locking/mutex.c:747
 team_vlan_rx_add_vid+0x33/0x140 drivers/net/team/team.c:1907
 vlan_add_rx_filter_info net/8021q/vlan_core.c:211 [inline]
 __vlan_vid_add net/8021q/vlan_core.c:306 [inline]
 vlan_vid_add+0x643/0x740 net/8021q/vlan_core.c:336
 vlan_device_event+0x1c11/0x1d10 net/8021q/vlan.c:385
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0xd0/0x170 kernel/notifier.c:455
 __dev_notify_flags+0x304/0x610
 rtnl_newlink_create net/core/rtnetlink.c:3398 [inline]
 __rtnl_newlink net/core/rtnetlink.c:3610 [inline]
 rtnl_newlink+0x1946/0x2050 net/core/rtnetlink.c:3623
 rtnetlink_rcv_msg+0x818/0xff0 net/core/rtnetlink.c:6122
 netlink_rcv_skb+0x1cd/0x410 net/netlink/af_netlink.c:2508
 netlink_unicast_kernel net/netlink/af_netlink.c:1326 [inline]
 netlink_unicast+0x7d8/0x970 net/netlink/af_netlink.c:1352
 netlink_sendmsg+0xa26/0xd60 net/netlink/af_netlink.c:1874
 sock_sendmsg_nosec net/socket.c:716 [inline]
 __sock_sendmsg net/socket.c:728 [inline]
 ____sys_sendmsg+0x59e/0x8f0 net/socket.c:2499
 ___sys_sendmsg net/socket.c:2553 [inline]
 __sys_sendmsg+0x2a9/0x390 net/socket.c:2582
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f272cbc8ff9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 21 18 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fffd0a362d8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f272cbc8ff9
RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000003
RBP: 00000000000f4240 R08: 0000000056480610 R09: 0000000056480610
R10: 0000000056480610 R11: 0000000000000246 R12: 000000000008fad1
R13: 00007fffd0a362e4 R14: 00007fffd0a36300 R15: 00007fffd0a362f0
 </TASK>

Crashes (11):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/12/28 14:06 linux-6.1.y 4aa6747d9352 fb427a07 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan BUG: MAX_LOCKDEP_KEYS too low!
2023/11/17 00:26 linux-6.1.y fb2635ac69ab cb976f63 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan BUG: MAX_LOCKDEP_KEYS too low!
2023/05/14 09:15 linux-6.1.y bf4ad6fa4e53 2b9ba477 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan BUG: MAX_LOCKDEP_KEYS too low!
2024/04/25 08:12 linux-6.1.y 6741e066ec76 8bdc0f22 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: MAX_LOCKDEP_KEYS too low!
2024/04/13 07:22 linux-6.1.y bf1e3b1cb1e0 c8349e48 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: MAX_LOCKDEP_KEYS too low!
2024/04/08 22:11 linux-6.1.y 347385861c50 53df08b6 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: MAX_LOCKDEP_KEYS too low!
2024/03/24 21:07 linux-6.1.y d7543167affd 0ea90952 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: MAX_LOCKDEP_KEYS too low!
2023/06/05 07:34 linux-6.1.y d2869ace6eeb a4ae4f42 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: MAX_LOCKDEP_KEYS too low!
2023/07/08 10:14 linux-6.1.y 61fd484b2cf6 668cb1fa .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan BUG: MAX_LOCKDEP_KEYS too low!
2023/11/02 08:44 linux-6.1.y 32c9cdbe383c 69904c9f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan BUG: MAX_LOCKDEP_KEYS too low!
2023/04/09 03:19 linux-6.1.y 543aff194ab6 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan BUG: MAX_LOCKDEP_KEYS too low!
* Struck through repros no longer work on HEAD.