syzbot


BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! (2)

Status: fixed on 2023/10/12 12:47
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+9bbbacfbf1e04d5221f7@syzkaller.appspotmail.com
Fix commit: 39285e124edb net: team: do not use dynamic lockdep key
First crash: 1188d, last: 223d
Discussions (6)
Title Replies (including bot) Last reply
[PATCH net v2] net: team: get rid of team->lock in team module 9 (9) 2023/10/04 13:52
[PATCH net] net: team: do not use dynamic lockdep key 4 (4) 2023/09/08 02:33
BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! (2) 6 (9) 2023/07/20 08:51
[PATCH] lib/stackdepot: stackdepot: don't use __GFP_KSWAPD_RECLAIM from __stack_depot_save() if atomic context 16 (16) 2023/06/21 15:37
[syzbot] Monthly net report (Apr 2023) 0 (1) 2023/04/27 10:45
[syzbot] Monthly net report 0 (1) 2023/03/27 11:04
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! (3) btrfs C 7 217d 217d 0/26 closed as invalid on 2023/10/17 19:49
upstream BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! (4) btrfs C 8 212d 213d 0/26 closed as invalid on 2023/10/23 13:15
upstream BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! C done error 25236 1463d 1903d 15/26 fixed on 2020/12/09 20:00
linux-5.15 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! origin:upstream missing-backport C error 2 85d 282d 0/3 upstream: reported C repro on 2023/08/14 00:36
linux-6.1 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! origin:upstream C error 21 141d 420d 0/3 upstream: reported C repro on 2023/03/28 22:33

Sample crash report:
BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
turning off the locking correctness validator.
CPU: 1 PID: 40 Comm: kworker/u4:2 Not tainted 6.6.0-rc4-syzkaller-g19af4a4ed414 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023
Workqueue: btrfs-endio-write btrfs_work_helper
Call trace:
 dump_backtrace+0x1b8/0x1e4 arch/arm64/kernel/stacktrace.c:233
 show_stack+0x2c/0x44 arch/arm64/kernel/stacktrace.c:240
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xd0/0x124 lib/dump_stack.c:106
 dump_stack+0x1c/0x28 lib/dump_stack.c:113
 lookup_chain_cache_add kernel/locking/lockdep.c:3815 [inline]
 validate_chain kernel/locking/lockdep.c:3836 [inline]
 __lock_acquire+0x1c60/0x75e8 kernel/locking/lockdep.c:5136
 lock_acquire+0x23c/0x71c kernel/locking/lockdep.c:5753
 fs_reclaim_acquire+0xb0/0x120 mm/page_alloc.c:3568
 might_alloc include/linux/sched/mm.h:303 [inline]
 slab_pre_alloc_hook mm/slab.h:709 [inline]
 slab_alloc_node mm/slub.c:3460 [inline]
 slab_alloc mm/slub.c:3486 [inline]
 __kmem_cache_alloc_lru mm/slub.c:3493 [inline]
 kmem_cache_alloc+0x58/0x424 mm/slub.c:3502
 btrfs_add_delayed_data_ref+0x1bc/0xe50 fs/btrfs/delayed-ref.c:1007
 btrfs_inc_extent_ref+0x100/0x1a8 fs/btrfs/extent-tree.c:1430
 btrfs_drop_extents+0x10b0/0x2c28 fs/btrfs/file.c:382
 insert_reserved_file_extent+0x2bc/0xa7c fs/btrfs/inode.c:2895
 insert_ordered_extent_file_extent fs/btrfs/inode.c:3002 [inline]
 btrfs_finish_one_ordered+0xd78/0x1770 fs/btrfs/inode.c:3106
 btrfs_finish_ordered_io+0xf8/0x10c fs/btrfs/inode.c:3229
 finish_ordered_fn+0x20/0xa8 fs/btrfs/ordered-data.c:303
 btrfs_work_helper+0x340/0x1504 fs/btrfs/async-thread.c:314
 process_one_work+0x694/0x1204 kernel/workqueue.c:2630
 process_scheduled_works kernel/workqueue.c:2703 [inline]
 worker_thread+0x938/0xef4 kernel/workqueue.c:2784
 kthread+0x288/0x310 kernel/kthread.c:388
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:857

Crashes (2688):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/10/09 12:33 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 19af4a4ed414 5e837c76 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/09/16 06:25 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fe4469582053 0b6a67ac .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/07/19 09:32 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e40939bbfc68 022df2bb .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/07/30 17:28 upstream d31e3792919e 2a0d0f29 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/07/14 13:38 upstream 4b810bf037e5 d624500f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/06/24 23:44 upstream a92b7d26c743 09ffe269 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2022/02/04 00:09 upstream 1f2cfdd349b7 30646bfe .config console log report info ci-upstream-kasan-gce-selinux-root BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/04/08 09:33 upstream aa318c48808c 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/09/07 21:43 net 08c6d8bae48c 72324844 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/07/18 11:35 net 162d626f3013 20f8b3c2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/07/18 05:34 net 162d626f3013 20f8b3c2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/07/10 07:10 net 73c4d1b307ae 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/07/01 10:43 net 3674fbf0451d af3053d2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2021/02/27 17:56 bpf 557c223b643a 4c37c133 .config console log report info ci-upstream-bpf-kasan-gce BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2021/02/27 06:01 bpf 557c223b643a 4c37c133 .config console log report info ci-upstream-bpf-kasan-gce BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2021/02/19 04:24 bpf 57baf8cc70ea 14052202 .config console log report info ci-upstream-bpf-kasan-gce BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/08/11 01:56 net-next 6a1ed1430daa 4df3089c .config console log report info ci-upstream-net-kasan-gce BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/08/01 19:49 net-next 01e6f8ad8d26 df07ffe8 .config console log report info ci-upstream-net-kasan-gce BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/07/18 22:39 net-next d3750076d464 022df2bb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/07/03 17:05 net-next ae230642190a 6e553898 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2021/02/28 09:15 bpf-next 85e142cb42a1 4c37c133 .config console log report info ci-upstream-bpf-next-kasan-gce BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/10/11 16:09 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 19af4a4ed414 83165b57 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/10/11 14:06 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 19af4a4ed414 83165b57 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/10/11 03:08 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 19af4a4ed414 83165b57 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/10/10 22:40 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 19af4a4ed414 83165b57 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/10/10 12:27 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 19af4a4ed414 c9be5398 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/10/10 11:00 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 19af4a4ed414 c9be5398 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/10/10 09:19 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 19af4a4ed414 c9be5398 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/10/09 22:20 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 19af4a4ed414 3c53c7d9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/10/09 21:12 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 19af4a4ed414 3c53c7d9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/10/08 19:33 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 19af4a4ed414 5e837c76 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/10/08 08:09 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 19af4a4ed414 5e837c76 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/10/07 17:09 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 19af4a4ed414 5e837c76 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/10/06 05:34 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 2e530aeb342b db17ad9f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/10/05 23:39 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 2e530aeb342b db17ad9f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/10/05 06:55 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 2e530aeb342b b7d7ff54 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/10/05 00:56 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 2e530aeb342b b7d7ff54 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/10/04 03:45 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 2e530aeb342b 65faba36 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/09/30 12:24 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 2e530aeb342b 8e26a358 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/09/29 14:24 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bf6547d8715b d265efd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/09/29 09:28 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bf6547d8715b d265efd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/09/28 18:22 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bf6547d8715b c2ab1e5d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/09/27 22:21 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bf6547d8715b 2895a507 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/09/26 04:28 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bf6547d8715b 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/09/12 23:55 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fe4469582053 59da8366 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/09/12 05:33 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fe4469582053 59da8366 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/09/11 00:20 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fe4469582053 6654cf89 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/09/09 01:08 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fe4469582053 6654cf89 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/09/04 18:05 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fe4469582053 8bc9053e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/09/01 18:30 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fe4469582053 696ea0d2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/08/31 09:51 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fe4469582053 84803932 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2022/02/04 01:19 linux-next 2d3d8c7643a5 30646bfe .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/08/26 15:03 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fe4469582053 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/08/24 07:21 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 35e2132122ba 4d7ae7ab .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/08/21 21:30 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 35e2132122ba 6b415825 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/07/31 08:36 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 6eaae1980760 2a0d0f29 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/07/27 22:30 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 6eaae1980760 92476829 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/07/24 15:18 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e40939bbfc68 06460670 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/07/13 13:36 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e40939bbfc68 86081196 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/07/12 21:20 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e40939bbfc68 979d5fe2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/07/07 12:17 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e40939bbfc68 22ae5830 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/07/02 10:05 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e40939bbfc68 bfc47836 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2023/06/27 01:23 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e40939bbfc68 4cd5bb25 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
* Struck through repros no longer work on HEAD.