syzbot


BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!

Status: upstream: reported C repro on 2023/08/14 00:36
Bug presence: origin:upstream
Labels: missing-backport
[Documentation on labels]
Reported-by: syzbot+04570798a26633660c0a@syzkaller.appspotmail.com
First crash: 477d, last: 51d
Fix bisection: failed (error log, bisect log)
  
Bug presence (3)
Date Name Commit Repro Result
2023/11/12 linux-5.15.y (ToT) 80529b4968a8 C [report] BUG: MAX_LOCKDEP_CHAINS too low!
2023/08/14 upstream (ToT) 2ccdd1b13c59 C [report] BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/11/12 upstream (ToT) 1b907d050735 C Didn't crash
Similar bugs (8)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! (6) btrfs C 2 103d 103d 0/28 closed as invalid on 2024/08/30 15:02
upstream BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! (3) btrfs C 7 413d 413d 0/28 closed as invalid on 2023/10/17 19:49
upstream BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! (5) btrfs C 931 111d 142d 27/28 fixed on 2024/08/14 19:57
upstream BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! (4) btrfs C 8 407d 408d 0/28 closed as invalid on 2023/10/23 13:15
upstream BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! (7) btrfs C 568 10h31m 80d 0/28 upstream: reported C repro on 2024/09/14 09:10
upstream BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! C done error 25236 1658d 2098d 15/28 fixed on 2020/12/09 20:00
upstream BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! (2) kernel C 2688 419d 1375d 23/28 fixed on 2023/10/12 12:47
linux-6.1 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! origin:upstream C error 63 10h37m 615d 0/3 upstream: reported C repro on 2023/03/28 22:33
Last patch testing requests (2)
Created Duration User Patch Repo Result
2024/10/12 16:49 11m retest repro linux-5.15.y report log
2024/10/12 16:49 13m retest repro linux-5.15.y report log
Fix bisection attempts (8)
Created Duration User Patch Repo Result
2024/11/18 20:26 1m fix candidate upstream error job log
2024/10/15 05:40 0m fix candidate upstream error job log
2024/08/17 21:17 1m fix candidate upstream error job log
2024/05/24 07:20 1m fix candidate upstream error job log
2024/03/07 04:46 0m fix candidate upstream error job log
2024/01/21 22:15 0m fix candidate upstream error job log
2023/12/16 04:54 0m fix candidate upstream error job log
2023/10/07 10:04 11m bisect fix linux-5.15.y error job log

Sample crash report:
team2211: Mode changed to "loadbalance"
BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
turning off the locking correctness validator.
CPU: 0 PID: 6932 Comm: syz-executor416 Not tainted 5.15.149-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
Call trace:
 dump_backtrace+0x0/0x530 arch/arm64/kernel/stacktrace.c:152
 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:216
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106
 dump_stack+0x1c/0x58 lib/dump_stack.c:113
 lookup_chain_cache_add kernel/locking/lockdep.c:3735 [inline]
 validate_chain kernel/locking/lockdep.c:3756 [inline]
 __lock_acquire+0x1b64/0x7638 kernel/locking/lockdep.c:5012
 lock_acquire+0x240/0x77c kernel/locking/lockdep.c:5623
 console_lock_spinning_enable+0x68/0x78 kernel/printk/printk.c:1805
 console_unlock+0x910/0x1394 kernel/printk/printk.c:2735
 vprintk_emit+0x140/0x21c kernel/printk/printk.c:2268
 vprintk_default+0xa0/0xe4 kernel/printk/printk.c:2283
 vprintk+0x200/0x2d4 kernel/printk/printk_safe.c:45
 _printk+0xdc/0x128 kernel/printk/printk.c:2293
 __netdev_printk+0x1f8/0x39c net/core/dev.c:11468
 netdev_info+0x104/0x150 net/core/dev.c:11515
 team_change_mode drivers/net/team/team.c:621 [inline]
 team_mode_option_set+0x350/0x390 drivers/net/team/team.c:1385
 team_option_set drivers/net/team/team.c:376 [inline]
 team_nl_cmd_options_set+0x7c8/0xe04 drivers/net/team/team.c:2679
 genl_family_rcv_msg_doit net/netlink/genetlink.c:731 [inline]
 genl_family_rcv_msg net/netlink/genetlink.c:775 [inline]
 genl_rcv_msg+0xc18/0x1018 net/netlink/genetlink.c:792
 netlink_rcv_skb+0x20c/0x3b8 net/netlink/af_netlink.c:2505
 genl_rcv+0x38/0x50 net/netlink/genetlink.c:803
 netlink_unicast_kernel net/netlink/af_netlink.c:1330 [inline]
 netlink_unicast+0x664/0x938 net/netlink/af_netlink.c:1356
 netlink_sendmsg+0x844/0xb38 net/netlink/af_netlink.c:1924
 sock_sendmsg_nosec net/socket.c:704 [inline]
 __sock_sendmsg net/socket.c:716 [inline]
 ____sys_sendmsg+0x584/0x870 net/socket.c:2431
 ___sys_sendmsg+0x214/0x294 net/socket.c:2485
 __sys_sendmsg net/socket.c:2514 [inline]
 __do_sys_sendmsg net/socket.c:2523 [inline]
 __se_sys_sendmsg net/socket.c:2521 [inline]
 __arm64_sys_sendmsg+0x1ac/0x25c net/socket.c:2521
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608
 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/02/26 13:11 linux-5.15.y 458ce51d0356 8d446f15 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/08/14 00:36 linux-5.15.y 24c4de4069cb 39990d51 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
* Struck through repros no longer work on HEAD.