syzbot


BUG: MAX_LOCKDEP_ENTRIES too low!

Status: fixed on 2021/11/10 00:50
Reported-by: syzbot+cd0ec5211ac07c18c049@syzkaller.appspotmail.com
Fix commit: 5dc33592e955 lockdep: Allow tuning tracing capacity constants.
First crash: 1985d, last: 1293d
Cause bisection: introduced by (bisect log) :
commit ab92d68fc22f9afab480153bd82a20f6e2533769
Author: Taehee Yoo <ap420073@gmail.com>
Date: Mon Oct 21 18:47:51 2019 +0000

  net: core: add generic lockdep keys

Crash: BUG: MAX_LOCKDEP_ENTRIES too low! (log)
Repro: C syz .config
  
Discussions (5)
Title Replies (including bot) Last reply
[PATCH v5] lockdep: Allow tuning tracing capacity constants. 4 (4) 2021/04/05 11:44
[PATCH v4 (resend)] lockdep: Allow tuning tracing capacity constants. 3 (3) 2021/02/01 13:24
[PATCH] lockdep: Introduce CONFIG_LOCKDEP_LARGE 29 (29) 2021/01/01 08:09
BUG: MAX_LOCKDEP_ENTRIES too low! 1 (4) 2019/11/15 19:55
Reminder: 5 open syzbot bugs in lockdep subsystem 3 (3) 2019/07/10 16:13
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 BUG: MAX_LOCKDEP_ENTRIES too low! origin:upstream C error 2 82d 459d 0/3 upstream: reported C repro on 2023/08/21 09:06
upstream BUG: MAX_LOCKDEP_ENTRIES too low! (3) no-reminders net C unreliable error 469 32d 736d 0/28 upstream: reported C repro on 2022/11/16 22:12
linux-5.15 BUG: MAX_LOCKDEP_ENTRIES too low! missing-backport origin:upstream C done 8 222d 555d 0/3 upstream: reported C repro on 2023/05/17 04:24
upstream BUG: MAX_LOCKDEP_ENTRIES too low! (2) kernel 9 918d 1073d 0/28 auto-closed as invalid on 2022/08/16 22:49
Last patch testing requests (4)
Created Duration User Patch Repo Result
2020/07/25 00:25 36m penguin-kernel@i-love.sakura.ne.jp patch upstream OK
2020/04/27 19:18 12m xiyou.wangcong@gmail.com https://github.com/congwang/linux.git lockdep report log
2020/04/15 20:47 14m xiyou.wangcong@gmail.com https://github.com/congwang/linux.git lockdep report log
2020/04/15 18:48 12m xiyou.wangcong@gmail.com https://github.com/congwang/linux.git lockdep report log

Sample crash report:
BUG: MAX_LOCKDEP_ENTRIES too low!
turning off the locking correctness validator.
CPU: 1 PID: 4358 Comm: kworker/u4:13 Not tainted 5.12.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: bond3608 bond_mii_monitor
Call Trace:
 __dump_stack lib/dump_stack.c:79 [inline]
 dump_stack+0x141/0x1d7 lib/dump_stack.c:120
 alloc_list_entry kernel/locking/lockdep.c:1352 [inline]
 add_lock_to_list.constprop.0.cold+0x11/0x18 kernel/locking/lockdep.c:1373
 check_prev_add kernel/locking/lockdep.c:3006 [inline]
 check_prevs_add kernel/locking/lockdep.c:3059 [inline]
 validate_chain kernel/locking/lockdep.c:3674 [inline]
 __lock_acquire+0x2f37/0x54c0 kernel/locking/lockdep.c:4900
 lock_acquire kernel/locking/lockdep.c:5510 [inline]
 lock_acquire+0x1ab/0x740 kernel/locking/lockdep.c:5475
 process_one_work+0x8fc/0x1600 kernel/workqueue.c:2251
 worker_thread+0x64c/0x1120 kernel/workqueue.c:2421
 kthread+0x3b1/0x4a0 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294

Crashes (179076):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/04/02 20:01 upstream 1678e493d530 6a81331a .config console log report syz C ci-upstream-kasan-gce-root BUG: MAX_LOCKDEP_ENTRIES too low!
2020/07/26 15:25 upstream 04300d66f0a0 51265195 .config console log report syz C ci-qemu-upstream
2020/06/12 03:49 upstream 435faf5c218a 5c25fdab .config console log report syz C ci-qemu-upstream
2020/06/07 06:18 upstream 435faf5c218a e6b89e4e .config console log report syz C ci-qemu-upstream
2020/06/06 16:54 upstream 435faf5c218a e6b89e4e .config console log report syz C ci-qemu-upstream
2020/05/17 09:45 upstream 3d1c1e5931ce 37bccd4e .config console log report syz C ci-upstream-kasan-gce-selinux-root
2020/05/16 14:24 upstream 12bf0b632ed0 37bccd4e .config console log report syz C ci-upstream-kasan-gce-smack-root
2020/05/10 21:16 upstream e99332e7b4cd 8742a2b9 .config console log report syz C ci-upstream-kasan-gce-root
2020/05/10 20:35 upstream e99332e7b4cd 8742a2b9 .config console log report syz C ci-upstream-kasan-gce-smack-root
2020/05/08 08:15 upstream 6e7f2eacf098 6c70a1c2 .config console log report syz C ci-upstream-kasan-gce-root
2020/05/02 21:36 upstream 690e2aba7beb 58da4c35 .config console log report syz C ci-upstream-kasan-gce-root
2020/04/30 20:01 upstream 1d2cc5ac6f66 3698959a .config console log report syz C ci-upstream-kasan-gce
2020/04/30 12:37 upstream 1d2cc5ac6f66 2dd552a5 .config console log report syz C ci-upstream-kasan-gce
2020/04/29 22:28 upstream 96c9a7802af7 496a08ae .config console log report syz C ci-upstream-kasan-gce-root
2020/04/27 15:59 upstream 6a8b55ed4056 0ce7569e .config console log report syz C ci-upstream-kasan-gce-selinux-root
2020/04/26 05:56 upstream b2768df24ec4 99b258dd .config console log report syz C ci-upstream-kasan-gce-root
2020/04/25 04:34 upstream b4f633221f0a 03d97a1b .config console log report syz C ci-upstream-kasan-gce
2020/04/23 11:23 upstream c578ddb39e56 2e44d63e .config console log report syz C ci-upstream-kasan-gce
2020/04/15 10:05 upstream 8632e9b5645b 3f3c5574 .config console log report syz C ci-upstream-kasan-gce-smack-root
2020/04/11 21:52 upstream 5b8b9d0c6d0e a8c6a3f8 .config console log report syz C ci-upstream-kasan-gce
2020/04/08 09:28 upstream 763dede1b248 db9bcd4b .config console log report syz C ci-upstream-kasan-gce
2020/04/07 08:41 upstream 7e63420847ae 99a96044 .config console log report syz C ci-upstream-kasan-gce
2019/11/13 14:11 upstream 0e3f1ad80fc8 048f2d49 .config console log report syz C ci-upstream-kasan-gce-selinux-root
2020/06/19 21:31 upstream 435faf5c218a 853595a5 .config console log report syz C ci-qemu-upstream-386
2020/06/19 08:37 upstream 435faf5c218a bc258b50 .config console log report syz C ci-qemu-upstream-386
2020/06/15 01:04 upstream 435faf5c218a 2a22c77a .config console log report syz C ci-qemu-upstream-386
2020/06/07 03:57 upstream 435faf5c218a e6b89e4e .config console log report syz C ci-qemu-upstream-386
2020/05/06 08:40 upstream dc56c5acd850 35b8eb30 .config console log report syz C ci-upstream-kasan-gce-386
2020/04/25 04:24 upstream b4f633221f0a 03d97a1b .config console log report syz C ci-upstream-kasan-gce-386
2020/04/23 13:10 upstream c578ddb39e56 2e44d63e .config console log report syz C ci-upstream-kasan-gce-386
2020/04/11 09:19 upstream ab6f762f0f53 a8c6a3f8 .config console log report syz C ci-upstream-kasan-gce-386
2020/11/01 07:21 net-old 2f71e00619dc 8bc4594f .config console log report syz C ci-upstream-net-this-kasan-gce
2020/05/06 05:18 net-old 38212bb31fe9 35b8eb30 .config console log report syz C ci-upstream-net-this-kasan-gce
2020/04/30 10:34 net-old 981230749123 2dd552a5 .config console log report syz C ci-upstream-net-this-kasan-gce
2020/04/08 09:11 net-old 63bef48fd6c9 db9bcd4b .config console log report syz C ci-upstream-net-this-kasan-gce
2019/11/08 03:53 net-old 99a8efbb6e30 f39aff9e .config console log report syz C ci-upstream-net-this-kasan-gce
2020/05/29 07:46 net-next-old 394f9ebf92c8 d19ed305 .config console log report syz C ci-upstream-net-kasan-gce
2020/04/23 10:25 net-next-old b86a0373855b 2e44d63e .config console log report syz C ci-upstream-net-kasan-gce
2020/04/19 06:40 net-next-old 513a24ffb3f9 365fba24 .config console log report syz C ci-upstream-net-kasan-gce
2020/04/15 23:02 net-next-old 63bef48fd6c9 3f3c5574 .config console log report syz C ci-upstream-net-kasan-gce
2020/04/28 00:51 linux-next ac935d227366 0ce7569e .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2020/10/07 10:21 upstream c85fb28b6f99 1880b4a9 .config console log report syz ci-qemu-upstream-386
2020/04/08 02:46 bpf 489553dd13a8 db9bcd4b .config console log report syz ci-upstream-bpf-kasan-gce
2020/05/24 12:54 linux-next c11d28ab4a69 96c92ad3 .config console log report syz ci-upstream-linux-next-kasan-gce-root
2020/04/07 03:02 linux-next b2e2a818a017 99a96044 .config console log report syz ci-upstream-linux-next-kasan-gce-root
2021/05/08 14:18 upstream 18a3c5f7abfd bc5434be .config console log report info ci-qemu-upstream BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/08 12:15 upstream 18a3c5f7abfd bc5434be .config console log report info ci-qemu-upstream BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/08 11:12 upstream 18a3c5f7abfd bc5434be .config console log report info ci-qemu-upstream BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/08 10:31 upstream 18a3c5f7abfd bc5434be .config console log report info ci-qemu-upstream BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/08 09:23 upstream 18a3c5f7abfd bc5434be .config console log report info ci-qemu-upstream BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/08 05:34 upstream 18a3c5f7abfd bc5434be .config console log report info ci-qemu-upstream BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/08 04:06 upstream 18a3c5f7abfd bc5434be .config console log report info ci-qemu-upstream BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/08 03:48 upstream 18a3c5f7abfd bc5434be .config console log report info ci-qemu-upstream BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/08 01:34 upstream 18a3c5f7abfd bc5434be .config console log report info ci-qemu-upstream BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/08 00:34 upstream 18a3c5f7abfd bc5434be .config console log report info ci-qemu-upstream BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/07 22:32 upstream 18a3c5f7abfd bc5434be .config console log report info ci-qemu-upstream BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/07 21:17 upstream 18a3c5f7abfd f6da8120 .config console log report info ci-qemu-upstream BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/07 20:05 upstream 18a3c5f7abfd f6da8120 .config console log report info ci-qemu-upstream BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/07 19:58 upstream 18a3c5f7abfd f6da8120 .config console log report info ci-qemu-upstream BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/07 17:34 upstream 18a3c5f7abfd f6da8120 .config console log report info ci-qemu-upstream BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/07 14:12 upstream 18a3c5f7abfd f6da8120 .config console log report info ci-qemu-upstream BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/07 13:11 upstream 18a3c5f7abfd f6da8120 .config console log report info ci-qemu-upstream BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/07 13:01 upstream 18a3c5f7abfd f6da8120 .config console log report info ci-qemu-upstream BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/07 11:44 upstream 18a3c5f7abfd f6da8120 .config console log report info ci-qemu-upstream BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/07 10:40 upstream 18a3c5f7abfd f6da8120 .config console log report info ci-qemu-upstream BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/07 10:13 upstream 18a3c5f7abfd f6da8120 .config console log report info ci-qemu-upstream BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/07 08:30 upstream 18a3c5f7abfd 06585184 .config console log report info ci-qemu-upstream BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/07 07:00 upstream 18a3c5f7abfd 06585184 .config console log report info ci-qemu-upstream BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/07 05:47 upstream 18a3c5f7abfd 06585184 .config console log report info ci-qemu-upstream BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/07 03:39 upstream 18a3c5f7abfd 06585184 .config console log report info ci-qemu-upstream BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/07 02:43 upstream 18a3c5f7abfd 06585184 .config console log report info ci-qemu-upstream BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/06 22:19 upstream 18a3c5f7abfd 06585184 .config console log report info ci-qemu-upstream BUG: MAX_LOCKDEP_ENTRIES too low!
2021/04/27 02:10 upstream 9f4ad9e425a1 805b5003 .config console log report info ci-upstream-kasan-gce-smack-root BUG: MAX_LOCKDEP_ENTRIES too low!
2021/04/27 02:08 upstream 9f4ad9e425a1 e60b7df1 .config console log report info ci-upstream-kasan-gce-root BUG: MAX_LOCKDEP_ENTRIES too low!
2021/04/26 22:46 upstream 9f4ad9e425a1 e60b7df1 .config console log report info ci-upstream-kasan-gce-selinux-root BUG: MAX_LOCKDEP_ENTRIES too low!
2021/04/26 11:43 upstream 9f4ad9e425a1 2a82f1b3 .config console log report info ci-upstream-kasan-gce BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/08 08:43 upstream 18a3c5f7abfd bc5434be .config console log report info ci-qemu-upstream-386 BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/08 07:30 upstream 18a3c5f7abfd bc5434be .config console log report info ci-qemu-upstream-386 BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/08 06:46 upstream 18a3c5f7abfd bc5434be .config console log report info ci-qemu-upstream-386 BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/08 05:07 upstream 18a3c5f7abfd bc5434be .config console log report info ci-qemu-upstream-386 BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/08 02:08 upstream 18a3c5f7abfd bc5434be .config console log report info ci-qemu-upstream-386 BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/07 23:41 upstream 18a3c5f7abfd bc5434be .config console log report info ci-qemu-upstream-386 BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/07 22:25 upstream 18a3c5f7abfd bc5434be .config console log report info ci-qemu-upstream-386 BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/07 18:50 upstream 18a3c5f7abfd f6da8120 .config console log report info ci-qemu-upstream-386 BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/07 16:31 upstream 18a3c5f7abfd f6da8120 .config console log report info ci-qemu-upstream-386 BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/07 15:42 upstream 18a3c5f7abfd f6da8120 .config console log report info ci-qemu-upstream-386 BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/07 15:21 upstream 18a3c5f7abfd f6da8120 .config console log report info ci-qemu-upstream-386 BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/07 14:18 upstream 18a3c5f7abfd f6da8120 .config console log report info ci-qemu-upstream-386 BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/07 13:11 upstream 18a3c5f7abfd f6da8120 .config console log report info ci-qemu-upstream-386 BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/07 08:59 upstream 18a3c5f7abfd 06585184 .config console log report info ci-qemu-upstream-386 BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/07 07:13 upstream 18a3c5f7abfd 06585184 .config console log report info ci-qemu-upstream-386 BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/07 04:56 upstream 18a3c5f7abfd 06585184 .config console log report info ci-qemu-upstream-386 BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/07 04:26 upstream 18a3c5f7abfd 06585184 .config console log report info ci-qemu-upstream-386 BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/06 21:45 upstream 18a3c5f7abfd 06585184 .config console log report info ci-qemu-upstream-386 BUG: MAX_LOCKDEP_ENTRIES too low!
2021/04/24 07:06 upstream 8db5efb83fa9 17f0b706 .config console log report info ci-upstream-kasan-gce-386 BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/04 01:35 net-old bbd6f0a94813 ad61f371 .config console log report info ci-upstream-net-this-kasan-gce BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/08 19:18 net-next-old 95aafe911db6 bc5434be .config console log report info ci-upstream-net-kasan-gce BUG: MAX_LOCKDEP_ENTRIES too low!
2021/05/07 01:33 net-next-old 95aafe911db6 06585184 .config console log report info ci-upstream-net-kasan-gce BUG: MAX_LOCKDEP_ENTRIES too low!
2021/04/13 20:13 linux-next dcf1b51d6b2a a184b83e .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: MAX_LOCKDEP_ENTRIES too low!
2021/01/17 14:01 upstream 0da0a8a0a0e1 813be542 .config console log report info ci-upstream-kasan-gce-selinux-root
2020/06/20 13:20 bpf 29fcb05bbf1a c655ec77 .config console log report ci-upstream-bpf-kasan-gce
2020/07/07 10:39 bpf-next cb8e59cc8720 51095195 .config console log report ci-upstream-bpf-next-kasan-gce
2019/06/16 13:04 linux-next f4788d37bc84 442206d7 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.