syzbot


BUG: MAX_LOCKDEP_KEYS too low!

Status: upstream: reported C repro on 2023/03/20 08:38
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+f63d26b4160c28ae2540@syzkaller.appspotmail.com
First crash: 575d, last: 9d19h
Fix bisection: failed (error log, bisect log)
  
Bug presence (2)
Date Name Commit Repro Result
2023/10/08 linux-5.15.y (ToT) 1edcec18cfb7 C [report] BUG: MAX_LOCKDEP_KEYS too low!
2023/10/08 upstream (ToT) b9ddbb0cde2a C Didn't crash
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: MAX_LOCKDEP_KEYS too low! net C done error 3496 1571d 1815d 15/28 fixed on 2020/12/09 20:00
upstream BUG: MAX_LOCKDEP_KEYS too low! (2) no-reminders nfc C unreliable 3989 1d08h 1245d 0/28 upstream: reported C repro on 2021/05/19 17:35
linux-6.1 BUG: MAX_LOCKDEP_KEYS too low! origin:upstream C error 11 173d 555d 0/3 upstream: reported C repro on 2023/04/09 03:19
Last patch testing requests (5)
Created Duration User Patch Repo Result
2024/10/06 04:54 18m retest repro linux-5.15.y report log
2024/10/06 04:54 18m retest repro linux-5.15.y report log
2024/10/06 04:54 12m retest repro linux-5.15.y report log
2024/10/06 04:54 13m retest repro linux-5.15.y report log
2024/10/06 04:54 18m retest repro linux-5.15.y report log
Fix bisection attempts (5)
Created Duration User Patch Repo Result
2023/12/01 17:26 0m bisect fix linux-5.15.y error job log
2023/10/20 17:11 2h21m fix candidate upstream OK (0) job log log
2023/10/07 21:10 1h24m bisect fix linux-5.15.y OK (0) job log log
2023/07/10 07:56 1h36m bisect fix linux-5.15.y OK (0) job log log
2023/04/19 09:35 54m bisect fix linux-5.15.y OK (0) job log log

Sample crash report:
device team6536 entered promiscuous mode
8021q: adding VLAN 0 to HW filter on device team6536
BUG: MAX_LOCKDEP_KEYS too low!
turning off the locking correctness validator.
CPU: 0 PID: 10085 Comm: syz-executor968 Not tainted 5.15.148-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+0x854/0x9a0 kernel/locking/lockdep.c:1282
 __lock_acquire+0xd7/0x1ff0 kernel/locking/lockdep.c:4891
 lock_acquire+0x1db/0x4f0 kernel/locking/lockdep.c:5623
 __mutex_lock_common+0x1da/0x25a0 kernel/locking/mutex.c:596
 __mutex_lock kernel/locking/mutex.c:729 [inline]
 mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743
 team_vlan_rx_add_vid+0x33/0x140 drivers/net/team/team.c:1902
 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+0x1cc3/0x1dd0 net/8021q/vlan.c:386
 notifier_call_chain kernel/notifier.c:83 [inline]
 raw_notifier_call_chain+0xd0/0x170 kernel/notifier.c:391
 __dev_notify_flags+0x304/0x610
 __rtnl_newlink net/core/rtnetlink.c:3509 [inline]
 rtnl_newlink+0x19ff/0x2070 net/core/rtnetlink.c:3549
 rtnetlink_rcv_msg+0x993/0xee0 net/core/rtnetlink.c:5630
 netlink_rcv_skb+0x1cf/0x410 net/netlink/af_netlink.c:2505
 netlink_unicast_kernel net/netlink/af_netlink.c:1330 [inline]
 netlink_unicast+0x7b6/0x980 net/netlink/af_netlink.c:1356
 netlink_sendmsg+0xa30/0xd60 net/netlink/af_netlink.c:1924
 sock_sendmsg_nosec net/socket.c:704 [inline]
 __sock_sendmsg net/socket.c:716 [inline]
 ____sys_sendmsg+0x59e/0x8f0 net/socket.c:2431
 ___sys_sendmsg+0x252/0x2e0 net/socket.c:2485
 __sys_sendmsg net/socket.c:2514 [inline]
 __do_sys_sendmsg net/socket.c:2523 [inline]
 __se_sys_sendmsg+0x19a/0x260 net/socket.c:2521
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f336f2daf09
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:00007ffee2367668 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f336f2daf09
RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000003
RBP: 00000000000f4240 R08: 000000005643c610 R09: 000000005643c610
R10: 000000005643c610 R11: 0000000000000246 R12: 0000000000093b84
R13: 00007ffee2367674 R14: 00007ffee2367690 R15: 00007ffee2367680
 </TASK>

Crashes (11):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/01/27 23:59 linux-5.15.y 6139f2a02fe0 cc4a4020 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: MAX_LOCKDEP_KEYS too low!
2023/12/30 16:09 linux-5.15.y d93fa2c78854 fb427a07 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: MAX_LOCKDEP_KEYS too low!
2023/12/15 23:26 linux-5.15.y d0fc081c6241 3222d10c .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: MAX_LOCKDEP_KEYS too low!
2023/06/05 02:26 linux-5.15.y 0ab06468cbd1 a4ae4f42 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: MAX_LOCKDEP_KEYS too low!
2023/12/10 02:44 linux-5.15.y 8a1d809b0545 28b24332 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: MAX_LOCKDEP_KEYS too low!
2023/03/20 08:37 linux-5.15.y 8020ae3c051d 7939252e .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: MAX_LOCKDEP_KEYS too low!
2023/05/08 07:21 linux-5.15.y 8a7f2a5c5aa1 90c93c40 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: MAX_LOCKDEP_KEYS too low!
2023/07/25 07:40 linux-5.15.y 5c6a716301d9 b03242d7 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: MAX_LOCKDEP_KEYS too low!
2023/06/05 06:21 linux-5.15.y 0ab06468cbd1 a4ae4f42 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: MAX_LOCKDEP_KEYS too low!
2023/11/01 15:34 linux-5.15.y 12952a23a5da 69904c9f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: MAX_LOCKDEP_KEYS too low!
2023/08/18 04:35 linux-5.15.y f6f7927ac664 74b106b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: MAX_LOCKDEP_KEYS too low!
* Struck through repros no longer work on HEAD.