syzbot


BUG: MAX_LOCKDEP_CHAINS too low!

Status: fixed on 2020/07/17 17:58
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+aaa6fa4949cc5d9b7b25@syzkaller.appspotmail.com
Fix commit: e7511f560f54 bonding: remove useless stats_lock_key 1a33e10e4a95 net: partially revert dynamic lockdep key changes
First crash: 2030d, last: 1371d
Cause bisection: the cause commit could be any of (bisect log):
  9211bfbff80a netfilter: add missing IS_ENABLED(CONFIG_BRIDGE_NETFILTER) checks to header-file.
  47e640af2e49 netfilter: add missing IS_ENABLED(CONFIG_NF_TABLES) check to header-file.
  a1b2f04ea527 netfilter: add missing includes to a number of header-files.
  0abc8bf4f284 netfilter: add missing IS_ENABLED(CONFIG_NF_CONNTRACK) checks to some header-files.
  bd96b4c75675 netfilter: inline four headers files into another one.
  43dd16efc7f2 netfilter: nf_tables: store data in offload context registers
  78458e3e08cd netfilter: add missing IS_ENABLED(CONFIG_NETFILTER) checks to some header-files.
  20a9379d9a03 netfilter: remove "#ifdef __KERNEL__" guards from some headers.
  bd8699e9e292 netfilter: nft_bitwise: add offload support
  2a475c409fe8 kbuild: remove all netfilter headers from header-test blacklist.
  7e59b3fea2a2 netfilter: remove unnecessary spaces
  1b90af292e71 ipvs: Improve robustness to the ipvs sysctl
  5785cf15fd74 netfilter: nf_tables: add missing prototypes.
  0a30ba509fde netfilter: nf_nat_proto: make tables static
  e84fb4b3666d netfilter: conntrack: use shared sysctl constants
  105333435b4f netfilter: connlabels: prefer static lock initialiser
  8c0bb7873815 netfilter: synproxy: rename mss synproxy_options field
  c162610c7db2 Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next
  
Discussions (4)
Title Replies (including bot) Last reply
[Patch net-next v2 0/2] net: reduce dynamic lockdep keys 11 (11) 2020/05/17 19:35
[Patch net-next 0/2] net: reduce dynamic lockdep keys 8 (8) 2020/05/03 04:24
BUG: MAX_LOCKDEP_CHAINS too low! 16 (19) 2020/04/15 19:17
Reminder: 5 open syzbot bugs in lockdep subsystem 3 (3) 2019/07/10 16:13
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 BUG: MAX_LOCKDEP_CHAINS too low! 401 1065d 1664d 0/1 auto-closed as invalid on 2021/09/16 14:16
linux-6.1 BUG: MAX_LOCKDEP_CHAINS too low! origin:upstream missing-backport C inconclusive 43581 8m 408d 0/3 upstream: reported C repro on 2023/03/07 18:13
linux-4.19 BUG: MAX_LOCKDEP_CHAINS too low! hfsplus ext4 f2fs vfs tmpfs reiserfs nilfs2 jfs btrfs xfs hfs ntfs iso9660 fat squashfs 72698 409d 1826d 0/1 upstream: reported on 2019/04/20 01:26
upstream BUG: MAX_LOCKDEP_CHAINS too low! (2) net C error 84838 891d 1367d 20/26 fixed on 2021/11/10 00:50
upstream BUG: MAX_LOCKDEP_CHAINS too low! (3) no-reminders kernel C error 147578 now 887d 0/26 upstream: reported C repro on 2021/11/14 03:47
linux-5.15 BUG: MAX_LOCKDEP_CHAINS too low! origin:upstream C 51426 now 408d 0/3 upstream: reported C repro on 2023/03/07 16:44
Last patch testing requests (3)
Created Duration User Patch Repo Result
2020/04/27 19:18 17m xiyou.wangcong@gmail.com https://github.com/congwang/linux.git lockdep OK
2020/04/15 19:44 17m xiyou.wangcong@gmail.com https://github.com/congwang/linux.git lockdep OK
2020/04/15 18:52 4m xiyou.wangcong@gmail.com https://github.com/congwang/linux.git lockdep error OK

Sample crash report:
BUG: MAX_LOCKDEP_CHAINS too low!
turning off the locking correctness validator.
CPU: 0 PID: 7325 Comm: kworker/u5:15 Not tainted 5.7.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: hci1681 hci_power_on
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x188/0x20d lib/dump_stack.c:118
 add_chain_cache kernel/locking/lockdep.c:3082 [inline]
 lookup_chain_cache_add kernel/locking/lockdep.c:3181 [inline]
 validate_chain kernel/locking/lockdep.c:3202 [inline]
 __lock_acquire.cold+0x11/0x3f8 kernel/locking/lockdep.c:4355
 lock_acquire+0x1f2/0x8f0 kernel/locking/lockdep.c:4934
 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
 _raw_spin_lock_irqsave+0x8c/0xbf kernel/locking/spinlock.c:159
 prepare_to_wait_event+0x5b/0x650 kernel/sched/wait.c:280
 __hci_req_sync+0x67a/0x830 net/bluetooth/hci_request.c:236
 __hci_init net/bluetooth/hci_core.c:893 [inline]
 hci_dev_do_open+0xfa5/0x18b0 net/bluetooth/hci_core.c:1551
 hci_power_on+0x11d/0x610 net/bluetooth/hci_core.c:2221
 process_one_work+0x965/0x16a0 kernel/workqueue.c:2268
 worker_thread+0x96/0xe20 kernel/workqueue.c:2414
 kthread+0x388/0x470 kernel/kthread.c:268
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:351

Crashes (17240):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/05/18 09:04 upstream b9bbe6ed63b2 37bccd4e .config console log report syz C ci-upstream-kasan-gce-selinux-root
2019/10/20 23:31 upstream 4fe34d61a3a9 8c88c9c1 .config console log report syz C ci-upstream-kasan-gce-root
2020/05/16 15:25 linux-next ac935d227366 37bccd4e .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2020/07/17 15:40 upstream 8882572675c1 9c812472 .config console log report ci-upstream-kasan-gce-root
2020/07/17 14:38 upstream 8882572675c1 9c812472 .config console log report ci-upstream-kasan-gce-selinux-root
2020/07/17 14:26 upstream 8882572675c1 9c812472 .config console log report ci-upstream-kasan-gce-root
2020/07/17 13:41 upstream 8882572675c1 54b3c45e .config console log report ci-upstream-kasan-gce
2020/07/17 13:28 upstream 8882572675c1 54b3c45e .config console log report ci-upstream-kasan-gce
2020/07/16 23:58 upstream f8456690ba8e 54b3c45e .config console log report ci-upstream-kasan-gce-selinux-root
2020/07/16 23:38 upstream f8456690ba8e 54b3c45e .config console log report ci-upstream-kasan-gce-selinux-root
2020/07/16 23:24 upstream f8456690ba8e 54b3c45e .config console log report ci-upstream-kasan-gce-root
2020/07/16 23:12 upstream f8456690ba8e 54b3c45e .config console log report ci-upstream-kasan-gce-root
2020/07/16 22:57 upstream f8456690ba8e 54b3c45e .config console log report ci-upstream-kasan-gce
2020/07/16 22:38 upstream f8456690ba8e 54b3c45e .config console log report ci-upstream-kasan-gce-root
2020/07/16 21:43 upstream f8456690ba8e f3bec699 .config console log report ci-upstream-kasan-gce-selinux-root
2020/07/16 07:20 upstream 994e99a96c9b f3bec699 .config console log report ci-upstream-kasan-gce-selinux-root
2020/07/16 07:06 upstream 994e99a96c9b f3bec699 .config console log report ci-upstream-kasan-gce-selinux-root
2020/07/16 06:47 upstream 994e99a96c9b f3bec699 .config console log report ci-upstream-kasan-gce-smack-root
2020/07/16 06:33 upstream 994e99a96c9b f3bec699 .config console log report ci-upstream-kasan-gce-selinux-root
2020/07/16 06:14 upstream 994e99a96c9b f3bec699 .config console log report ci-upstream-kasan-gce
2020/07/16 05:55 upstream 994e99a96c9b f3bec699 .config console log report ci-upstream-kasan-gce-selinux-root
2020/07/15 21:42 upstream e9919e11e219 f3bec699 .config console log report ci-upstream-kasan-gce-root
2020/07/15 19:10 upstream e9919e11e219 f3bec699 .config console log report ci-upstream-kasan-gce
2020/07/15 18:09 upstream e9919e11e219 f3bec699 .config console log report ci-upstream-kasan-gce
2020/07/15 12:30 upstream e9919e11e219 f3bec699 .config console log report ci-upstream-kasan-gce-selinux-root
2020/07/15 12:10 upstream e9919e11e219 f3bec699 .config console log report ci-upstream-kasan-gce
2020/07/15 11:26 upstream e9919e11e219 f3bec699 .config console log report ci-upstream-kasan-gce-selinux-root
2018/09/27 19:41 upstream c307aaf3eb47 0c2fa87b .config console log report ci-upstream-kasan-gce-root
2020/07/17 17:21 upstream 8882572675c1 9c812472 .config console log report ci-upstream-kasan-gce-386
2020/07/17 15:15 upstream 8882572675c1 9c812472 .config console log report ci-upstream-kasan-gce-386
2020/07/17 11:24 upstream f8456690ba8e 54b3c45e .config console log report ci-upstream-kasan-gce-386
2020/07/17 01:15 upstream f8456690ba8e 54b3c45e .config console log report ci-upstream-kasan-gce-386
2020/07/16 21:59 upstream f8456690ba8e f3bec699 .config console log report ci-upstream-kasan-gce-386
2020/07/16 18:58 upstream 994e99a96c9b f3bec699 .config console log report ci-upstream-kasan-gce-386
2020/07/16 05:46 upstream 994e99a96c9b f3bec699 .config console log report ci-upstream-kasan-gce-386
2020/07/15 11:58 upstream e9919e11e219 f3bec699 .config console log report ci-upstream-kasan-gce-386
2020/07/17 03:39 net-old 340746398b67 54b3c45e .config console log report ci-upstream-net-this-kasan-gce
2020/07/16 21:04 net-old 841eb4012cef f3bec699 .config console log report ci-upstream-net-this-kasan-gce
2020/07/16 14:32 net-old 841eb4012cef f3bec699 .config console log report ci-upstream-net-this-kasan-gce
2020/07/16 09:49 net-old 841eb4012cef f3bec699 .config console log report ci-upstream-net-this-kasan-gce
2020/07/16 01:32 net-old 1d61e21852d3 f3bec699 .config console log report ci-upstream-net-this-kasan-gce
2020/07/15 13:36 net-old 1d61e21852d3 f3bec699 .config console log report ci-upstream-net-this-kasan-gce
2020/06/19 16:43 bpf 29fcb05bbf1a bc258b50 .config console log report ci-upstream-bpf-kasan-gce
2020/07/17 02:31 net-next-old 632ca50f2cbd 54b3c45e .config console log report ci-upstream-net-kasan-gce
2020/07/16 17:40 net-next-old 8635764bcf0f f3bec699 .config console log report ci-upstream-net-kasan-gce
2020/07/16 10:51 net-next-old 8635764bcf0f f3bec699 .config console log report ci-upstream-net-kasan-gce
2020/07/15 16:44 net-next-old 4ff91fa0a3ac f3bec699 .config console log report ci-upstream-net-kasan-gce
2020/07/01 08:39 bpf-next cb8e59cc8720 917afeaa .config console log report ci-upstream-bpf-next-kasan-gce
2020/07/17 15:29 linux-next 4c43049f19a2 9c812472 .config console log report ci-upstream-linux-next-kasan-gce-root
2020/07/17 15:08 linux-next 4c43049f19a2 9c812472 .config console log report ci-upstream-linux-next-kasan-gce-root
2020/07/17 14:49 linux-next 4c43049f19a2 9c812472 .config console log report ci-upstream-linux-next-kasan-gce-root
2020/07/17 07:08 linux-next 4c43049f19a2 54b3c45e .config console log report ci-upstream-linux-next-kasan-gce-root
2020/07/16 16:30 linux-next 4c43049f19a2 f3bec699 .config console log report ci-upstream-linux-next-kasan-gce-root
2020/07/16 15:36 linux-next 4c43049f19a2 f3bec699 .config console log report ci-upstream-linux-next-kasan-gce-root
2020/07/15 23:56 linux-next ca0e494af5ed f3bec699 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.