syzbot


BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! (7)

Status: upstream: reported on 2024/09/14 09:10
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+74f79df25c37437e4d5a@syzkaller.appspotmail.com
First crash: 15d, last: 1d13h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [net?] BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! (7) 0 (1) 2024/09/14 09:10
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 25d 25d 0/28 closed as invalid on 2024/08/30 15:02
upstream BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! (3) btrfs C 7 335d 335d 0/28 closed as invalid on 2023/10/17 19:49
upstream BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! (5) btrfs C 931 33d 64d 27/28 fixed on 2024/08/14 19:57
upstream BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! (4) btrfs C 8 329d 330d 0/28 closed as invalid on 2023/10/23 13:15
upstream BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! C done error 25236 1580d 2021d 15/28 fixed on 2020/12/09 20:00
upstream BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! (2) kernel C 2688 341d 1297d 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 203d 399d 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 259d 537d 0/3 upstream: reported C repro on 2023/03/28 22:33

Sample crash report:
netdevsim netdevsim1 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
turning off the locking correctness validator.
CPU: 0 UID: 0 PID: 12783 Comm: kworker/u8:9 Not tainted 6.11.0-rc7-syzkaller-g5f5673607153 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Workqueue: netns cleanup_net
Call trace:
 dump_backtrace+0x1b8/0x1e4 arch/arm64/kernel/stacktrace.c:319
 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:326
 __dump_stack lib/dump_stack.c:93 [inline]
 dump_stack_lvl+0xe4/0x150 lib/dump_stack.c:119
 dump_stack+0x1c/0x28 lib/dump_stack.c:128
 lookup_chain_cache_add kernel/locking/lockdep.c:3815 [inline]
 validate_chain kernel/locking/lockdep.c:3836 [inline]
 __lock_acquire+0x1fa0/0x779c kernel/locking/lockdep.c:5142
 lock_acquire+0x240/0x728 kernel/locking/lockdep.c:5759
 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
 _raw_spin_lock+0x48/0x60 kernel/locking/spinlock.c:154
 spin_lock include/linux/spinlock.h:351 [inline]
 fast_dput+0x1c8/0x3b4 fs/dcache.c:773
 dput+0xd8/0x290 fs/dcache.c:851
 simple_recursive_removal+0x578/0x744 fs/libfs.c:640
 debugfs_remove+0x60/0x88 fs/debugfs/inode.c:815
 nsim_ipsec_teardown+0x7c/0xcc drivers/net/netdevsim/ipsec.c:303
 nsim_destroy+0x1c4/0x508 drivers/net/netdevsim/netdev.c:781
 __nsim_dev_port_del+0x140/0x1a0 drivers/net/netdevsim/dev.c:1425
 nsim_dev_port_del_all drivers/net/netdevsim/dev.c:1437 [inline]
 nsim_dev_reload_destroy+0x240/0x43c drivers/net/netdevsim/dev.c:1658
 nsim_dev_reload_down+0xac/0xe8 drivers/net/netdevsim/dev.c:965
 devlink_reload+0x188/0x79c net/devlink/dev.c:461
 devlink_pernet_pre_exit+0x1c0/0x418 net/devlink/core.c:509
 ops_pre_exit_list net/core/net_namespace.c:163 [inline]
 cleanup_net+0x4dc/0x9b4 net/core/net_namespace.c:620
 process_one_work+0x79c/0x15b8 kernel/workqueue.c:3231
 process_scheduled_works kernel/workqueue.c:3312 [inline]
 worker_thread+0x978/0xec4 kernel/workqueue.c:3389
 kthread+0x288/0x310 kernel/kthread.c:389
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860
netdevsim netdevsim1 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
netdevsim netdevsim1 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
netdevsim netdevsim1 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
bridge_slave_1: left allmulticast mode
bridge_slave_1: left promiscuous mode
bridge0: port 2(bridge_slave_1) entered disabled state
bridge_slave_0: left allmulticast mode
bridge_slave_0: left promiscuous mode
bridge0: port 1(bridge_slave_0) entered disabled state
bridge_slave_1: left allmulticast mode
bridge_slave_1: left promiscuous mode
bridge0: port 2(bridge_slave_1) entered disabled state
bridge_slave_0: left allmulticast mode
bridge_slave_0: left promiscuous mode
bridge0: port 1(bridge_slave_0) entered disabled state
bridge_slave_1: left allmulticast mode
bridge_slave_1: left promiscuous mode
bridge0: port 2(bridge_slave_1) entered disabled state
bridge_slave_0: left allmulticast mode
bridge_slave_0: left promiscuous mode
bridge0: port 1(bridge_slave_0) entered disabled state
bridge_slave_1: left allmulticast mode
bridge_slave_1: left promiscuous mode
bridge0: port 2(bridge_slave_1) entered disabled state
bridge_slave_0: left allmulticast mode
bridge_slave_0: left promiscuous mode
bridge0: port 1(bridge_slave_0) entered disabled state
bond0 (unregistering): (slave bond_slave_0): Releasing backup interface
bond0 (unregistering): (slave bond_slave_1): Releasing backup interface
bond0 (unregistering): Released all slaves
bond0 (unregistering): (slave bond_slave_0): Releasing backup interface
bond0 (unregistering): (slave bond_slave_1): Releasing backup interface
bond0 (unregistering): Released all slaves
bond0 (unregistering): (slave bond_slave_0): Releasing backup interface
bond0 (unregistering): (slave bond_slave_1): Releasing backup interface
bond0 (unregistering): Released all slaves
bond0 (unregistering): (slave bond_slave_0): Releasing backup interface
bond0 (unregistering): (slave bond_slave_1): Releasing backup interface
bond0 (unregistering): Released all slaves
hsr_slave_0: left promiscuous mode
hsr_slave_1: left promiscuous mode
batman_adv: batadv0: Interface deactivated: batadv_slave_0
batman_adv: batadv0: Removing interface: batadv_slave_0
batman_adv: batadv0: Interface deactivated: batadv_slave_1
batman_adv: batadv0: Removing interface: batadv_slave_1
hsr_slave_0: left promiscuous mode
hsr_slave_1: left promiscuous mode
batman_adv: batadv0: Interface deactivated: batadv_slave_0
batman_adv: batadv0: Removing interface: batadv_slave_0
batman_adv: batadv0: Interface deactivated: batadv_slave_1
batman_adv: batadv0: Removing interface: batadv_slave_1
hsr_slave_0: left promiscuous mode
hsr_slave_1: left promiscuous mode
batman_adv: batadv0: Interface deactivated: batadv_slave_0
batman_adv: batadv0: Removing interface: batadv_slave_0
batman_adv: batadv0: Interface deactivated: batadv_slave_1
batman_adv: batadv0: Removing interface: batadv_slave_1
hsr_slave_0: left promiscuous mode
hsr_slave_1: left promiscuous mode
batman_adv: batadv0: Interface deactivated: batadv_slave_0
batman_adv: batadv0: Removing interface: batadv_slave_0
batman_adv: batadv0: Interface deactivated: batadv_slave_1
batman_adv: batadv0: Removing interface: batadv_slave_1
veth1_macvtap: left promiscuous mode
veth0_macvtap: left promiscuous mode
veth1_vlan: left promiscuous mode
veth0_vlan: left promiscuous mode
veth1_macvtap: left promiscuous mode

Crashes (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/09/15 05:54 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 5f5673607153 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2024/09/15 05:46 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 5f5673607153 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2024/09/14 12:27 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 5f5673607153 ff60e2ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2024/09/14 09:09 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 5f5673607153 ff60e2ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2024/09/13 23:53 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 5f5673607153 158f4851 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2024/09/13 23:47 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 5f5673607153 158f4851 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2024/09/03 02:15 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci df54f4a16f82 abeaa9b9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!
2024/09/01 14:47 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci df54f4a16f82 1eda0d14 .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.