syzbot


BUG: MAX_LOCKDEP_ENTRIES too low!

Status: upstream: reported C repro on 2023/08/21 09:06
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+716f924b26ffcefa3bed@syzkaller.appspotmail.com
First crash: 307d, last: 11d
Bug presence (1)
Date Name Commit Repro Result
2023/08/21 upstream (ToT) f7757129e3de C [report] BUG: MAX_LOCKDEP_ENTRIES too low!
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: MAX_LOCKDEP_ENTRIES too low! C done 179076 1141d 1832d 20/27 fixed on 2021/11/10 00:50
upstream BUG: MAX_LOCKDEP_ENTRIES too low! (3) no-reminders net C unreliable 469 13d 584d 0/27 upstream: reported C repro on 2022/11/16 22:12
linux-5.15 BUG: MAX_LOCKDEP_ENTRIES too low! origin:upstream missing-backport C done 8 69d 403d 0/3 upstream: reported C repro on 2023/05/17 04:24
upstream BUG: MAX_LOCKDEP_ENTRIES too low! (2) kernel 9 766d 921d 0/27 auto-closed as invalid on 2022/08/16 22:49
Fix bisection attempts (8)
Created Duration User Patch Repo Result
2024/06/11 08:22 1h49m bisect fix linux-6.1.y job log (0) log
2024/05/12 00:08 1h44m bisect fix linux-6.1.y job log (0) log
2024/04/06 07:11 2h23m bisect fix linux-6.1.y job log (0) log
2024/03/05 14:02 1h59m bisect fix linux-6.1.y job log (0) log
2024/01/27 10:18 1h53m bisect fix linux-6.1.y job log (0) log
2023/12/26 12:10 2h00m bisect fix linux-6.1.y job log (0) log
2023/11/25 12:52 1h46m bisect fix linux-6.1.y job log (0) log
2023/10/10 05:19 1h52m bisect fix linux-6.1.y job log (0) log

Sample crash report:
netlink: 4 bytes leftover after parsing attributes in process `syz-executor338'.
BUG: MAX_LOCKDEP_ENTRIES too low!
turning off the locking correctness validator.
CPU: 0 PID: 4865 Comm: syz-executor338 Not tainted 6.1.46-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106
 alloc_list_entry kernel/locking/lockdep.c:1403 [inline]
 add_lock_to_list+0x81/0x2e0 kernel/locking/lockdep.c:1424
 check_prev_add kernel/locking/lockdep.c:3168 [inline]
 check_prevs_add kernel/locking/lockdep.c:3217 [inline]
 validate_chain+0x2c23/0x58e0 kernel/locking/lockdep.c:3832
 __lock_acquire+0x125b/0x1f80 kernel/locking/lockdep.c:5056
 lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5669
 __raw_read_lock_bh include/linux/rwlock_api_smp.h:176 [inline]
 _raw_read_lock_bh+0x39/0x50 kernel/locking/spinlock.c:252
 lapb_devtostruct net/lapb/lapb_iface.c:102 [inline]
 lapb_device_event+0xac/0x630 net/lapb/lapb_iface.c:467
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0xd0/0x170 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 register_netdevice+0x101a/0x1700 net/core/dev.c:10059
 lapbeth_new_device drivers/net/wan/lapbether.c:418 [inline]
 lapbeth_device_event+0x75e/0x9e0 drivers/net/wan/lapbether.c:460
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0xd0/0x170 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:1983 [inline]
 call_netdevice_notifiers net/core/dev.c:1997 [inline]
 dev_open+0x1c1/0x260 net/core/dev.c:1473
 team_port_add drivers/net/team/team.c:1215 [inline]
 team_add_slave+0x932/0x2710 drivers/net/team/team.c:1985
 do_set_master net/core/rtnetlink.c:2584 [inline]
 rtnl_newlink_create net/core/rtnetlink.c:3393 [inline]
 __rtnl_newlink net/core/rtnetlink.c:3593 [inline]
 rtnl_newlink+0x1ae7/0x1fa0 net/core/rtnetlink.c:3606
 rtnetlink_rcv_msg+0x776/0xf00 net/core/rtnetlink.c:6107
 netlink_rcv_skb+0x1cd/0x410 net/netlink/af_netlink.c:2525
 netlink_unicast_kernel net/netlink/af_netlink.c:1328 [inline]
 netlink_unicast+0x7bf/0x990 net/netlink/af_netlink.c:1354
 netlink_sendmsg+0xa26/0xd60 net/netlink/af_netlink.c:1903
 sock_sendmsg_nosec net/socket.c:716 [inline]
 sock_sendmsg net/socket.c:736 [inline]
 ____sys_sendmsg+0x59e/0x8f0 net/socket.c:2482
 ___sys_sendmsg net/socket.c:2536 [inline]
 __sys_sendmsg+0x2a9/0x390 net/socket.c:2565
 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+0x63/0xcd
RIP: 0033:0x7f76cd6e6c19
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 71 19 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:00007ffe2933ea08 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f76cd6e6c19
RDX: 0000000000000000 RSI: 0000000020000300 RDI: 0000000000000005
RBP: 0000000000000000 R08: 0000000000000006 R09: 0000000000000006
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001
 </TASK>
8021q: adding VLAN 0 to HW filter on device batadv977
team977: Port device batadv977 added

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/08/21 09:05 linux-6.1.y 6c44e13dc284 d216d8a0 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan BUG: MAX_LOCKDEP_ENTRIES too low!
2023/10/22 22:09 linux-6.1.y 7d24402875c7 361b23dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan BUG: MAX_LOCKDEP_ENTRIES too low!
* Struck through repros no longer work on HEAD.