syzbot


BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!

Status: upstream: reported C repro on 2023/03/28 22:33
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+bab7a1cdf22616e99208@syzkaller.appspotmail.com
First crash: 591d, last: 7d15h
Fix bisection: failed (error log, bisect log)
  
Bug presence (1)
Date Name Commit Repro Result
2023/07/20 upstream (ToT) 57f1f9dd3abe C [report] BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
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 78d 79d 0/28 closed as invalid on 2024/08/30 15:02
upstream BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! (3) btrfs C 7 388d 388d 0/28 closed as invalid on 2023/10/17 19:49
upstream BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! (5) btrfs C 931 87d 117d 27/28 fixed on 2024/08/14 19:57
upstream BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! (4) btrfs C 8 382d 383d 0/28 closed as invalid on 2023/10/23 13:15
upstream BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! (7) btrfs C 266 3h59m 55d 0/28 upstream: reported C repro on 2024/09/14 09:10
upstream BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! C done error 25236 1634d 2074d 15/28 fixed on 2020/12/09 20:00
upstream BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! (2) kernel C 2688 394d 1350d 23/28 fixed on 2023/10/12 12:47
linux-5.15 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! origin:upstream missing-backport C error 2 27d 452d 0/3 upstream: reported C repro on 2023/08/14 00:36

Sample crash report:
BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
turning off the locking correctness validator.
CPU: 1 PID: 7481 Comm: syz-executor345 Not tainted 6.1.61-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
Call trace:
 dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:158
 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165
 __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:3771 [inline]
 validate_chain kernel/locking/lockdep.c:3792 [inline]
 __lock_acquire+0x1b8c/0x764c kernel/locking/lockdep.c:5048
 lock_acquire+0x26c/0x7cc kernel/locking/lockdep.c:5661
 fs_reclaim_acquire+0xbc/0x12c mm/page_alloc.c:4687
 might_alloc include/linux/sched/mm.h:271 [inline]
 prepare_alloc_pages+0x138/0x560 mm/page_alloc.c:5316
 __alloc_pages+0x150/0x730 mm/page_alloc.c:5534
 __alloc_pages_node include/linux/gfp.h:237 [inline]
 alloc_pages_node include/linux/gfp.h:260 [inline]
 __kmalloc_large_node+0xbc/0x21c mm/slab_common.c:1096
 kmalloc_large+0x2c/0xc8 mm/slab_common.c:1113
 kmalloc include/linux/slab.h:546 [inline]
 kzalloc include/linux/slab.h:689 [inline]
 lb_init+0x5c/0x3ac drivers/net/team/team_mode_loadbalance.c:614
 __team_change_mode+0x284/0x4a0 drivers/net/team/team.c:578
 team_change_mode drivers/net/team/team.c:612 [inline]
 team_mode_option_set+0x324/0x390 drivers/net/team/team.c:1388
 team_option_set drivers/net/team/team.c:374 [inline]
 team_nl_cmd_options_set+0x7e0/0xdec drivers/net/team/team.c:2682
 genl_family_rcv_msg_doit net/netlink/genetlink.c:756 [inline]
 genl_family_rcv_msg net/netlink/genetlink.c:833 [inline]
 genl_rcv_msg+0x948/0xc2c net/netlink/genetlink.c:850
 netlink_rcv_skb+0x20c/0x3b8 net/netlink/af_netlink.c:2508
 genl_rcv+0x38/0x50 net/netlink/genetlink.c:861
 netlink_unicast_kernel net/netlink/af_netlink.c:1326 [inline]
 netlink_unicast+0x65c/0x898 net/netlink/af_netlink.c:1352
 netlink_sendmsg+0x834/0xb18 net/netlink/af_netlink.c:1874
 sock_sendmsg_nosec net/socket.c:716 [inline]
 __sock_sendmsg net/socket.c:728 [inline]
 ____sys_sendmsg+0x558/0x844 net/socket.c:2499
 ___sys_sendmsg net/socket.c:2553 [inline]
 __sys_sendmsg+0x26c/0x33c net/socket.c:2582
 __do_sys_sendmsg net/socket.c:2591 [inline]
 __se_sys_sendmsg net/socket.c:2589 [inline]
 __arm64_sys_sendmsg+0x80/0x94 net/socket.c:2589
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206
 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585
team2470: Mode changed to "loadbalance"

Crashes (33):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/11/07 09:00 linux-6.1.y 4a61839152cc 83211397 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/07/17 08:28 linux-6.1.y 61fd484b2cf6 35d9ecc5 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2024/11/01 07:29 linux-6.1.y 7c15117f9468 96eb609f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2024/10/30 21:00 linux-6.1.y 7ec6f9fa3d97 fb888278 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2024/10/30 18:16 linux-6.1.y 7ec6f9fa3d97 fb888278 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2024/10/29 12:32 linux-6.1.y 7ec6f9fa3d97 66aeb999 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2024/10/29 12:32 linux-6.1.y 7ec6f9fa3d97 66aeb999 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2024/10/29 00:36 linux-6.1.y 7ec6f9fa3d97 9efb3cc7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2024/10/29 00:34 linux-6.1.y 7ec6f9fa3d97 9efb3cc7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2024/10/28 21:35 linux-6.1.y 7ec6f9fa3d97 9efb3cc7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2024/10/28 21:30 linux-6.1.y 7ec6f9fa3d97 9efb3cc7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2024/10/26 09:49 linux-6.1.y 7ec6f9fa3d97 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2024/10/25 05:00 linux-6.1.y 7ec6f9fa3d97 c79b8ca5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2024/10/24 20:45 linux-6.1.y 7ec6f9fa3d97 0d144d1a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2024/01/01 10:57 linux-6.1.y 4aa6747d9352 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/12/02 16:16 linux-6.1.y 6ac30d748bb0 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/11/26 13:17 linux-6.1.y 69e434a1cb21 5b429f39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/11/10 19:55 linux-6.1.y fb2635ac69ab 45e9b83e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/10/08 08:23 linux-6.1.y ecda77b46871 5e837c76 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/08/06 02:00 linux-6.1.y 52a953d0934b 4ffcc9ef .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/06/20 07:55 linux-6.1.y ca87e77a2ef8 09ffe269 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/06/13 19:20 linux-6.1.y 2f3918bc53fb 749afb64 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/06/02 18:34 linux-6.1.y d2869ace6eeb a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/05/16 08:22 linux-6.1.y bf4ad6fa4e53 71b00cfb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/04/17 00:49 linux-6.1.y 0102425ac76b ec410564 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/04/15 06:36 linux-6.1.y 0102425ac76b ec410564 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/04/13 09:37 linux-6.1.y 543aff194ab6 82d5e53e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/04/12 17:44 linux-6.1.y 543aff194ab6 1a1596b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/04/12 03:00 linux-6.1.y 543aff194ab6 49faf98d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/04/08 04:18 linux-6.1.y 543aff194ab6 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/04/05 05:06 linux-6.1.y 3b29299e5f60 831373d3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/04/03 18:16 linux-6.1.y 3b29299e5f60 41147e3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/03/28 22:33 linux-6.1.y e3a87a10f259 fc067f05 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
* Struck through repros no longer work on HEAD.