syzbot


BUG: MAX_LOCKDEP_KEYS too low!
Status: fixed on 2020/12/09 20:00
Reported-by: syzbot+692f39f040c1f415567b@syzkaller.appspotmail.com
Fix commit: 1a33e10e4a95 net: partially revert dynamic lockdep key changes
First crash: 940d, last: 695d

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_KEYS too low! (log)
Repro: syz .config

Fix bisection: failed (bisect log)
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: MAX_LOCKDEP_KEYS too low! (2) 112 5d16h 369d 0/22 upstream: reported on 2021/05/19 17:35
Patch testing requests:
Created Duration User Patch Repo Result
2020/04/28 03:57 15m xiyou.wangcong@gmail.com https://github.com/congwang/linux.git lockdep report log
2020/04/27 19:18 15m xiyou.wangcong@gmail.com https://github.com/congwang/linux.git lockdep report log
2020/04/15 06:16 16m xiyou.wangcong@gmail.com https://github.com/congwang/linux.git lockdep report log
2020/04/15 05:05 9m xiyou.wangcong@gmail.com https://github.com/congwang/linux.git lockdep report log

Sample crash report:
BUG: MAX_LOCKDEP_KEYS too low!
turning off the locking correctness validator.
CPU: 2 PID: 13733 Comm: syz-executor820 Not tainted 5.7.0-syzkaller #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu.org 04/01/2014
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x188/0x20d lib/dump_stack.c:118
 register_lock_class.cold+0x11/0x19 kernel/locking/lockdep.c:1238
 __lock_acquire+0xff/0x48a0 kernel/locking/lockdep.c:4259
 lock_acquire+0x1f2/0x8f0 kernel/locking/lockdep.c:4959
 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:135 [inline]
 _raw_spin_lock_bh+0x2f/0x40 kernel/locking/spinlock.c:175
 spin_lock_bh include/linux/spinlock.h:358 [inline]
 netif_addr_lock_bh include/linux/netdevice.h:4244 [inline]
 __dev_mc_add+0x28/0xd0 net/core/dev_addr_lists.c:765
 igmp6_group_added+0x375/0x420 net/ipv6/mcast.c:669
 __ipv6_dev_mc_inc+0x819/0xca0 net/ipv6/mcast.c:928
 ipv6_add_dev net/ipv6/addrconf.c:456 [inline]
 ipv6_add_dev+0x99d/0x1090 net/ipv6/addrconf.c:364
 addrconf_notify+0x89c/0x2250 net/ipv6/addrconf.c:3462
 notifier_call_chain+0xc0/0x230 kernel/notifier.c:83
 call_netdevice_notifiers_info net/core/dev.c:2016 [inline]
 call_netdevice_notifiers_info+0xb5/0x130 net/core/dev.c:2001
 call_netdevice_notifiers_extack net/core/dev.c:2028 [inline]
 call_netdevice_notifiers net/core/dev.c:2042 [inline]
 register_netdevice+0xd70/0x10b0 net/core/dev.c:9541
 veth_newlink+0x41e/0xa10 drivers/net/veth.c:1366
 __rtnl_newlink+0xf16/0x1590 net/core/rtnetlink.c:3340
 rtnl_newlink+0x64/0xa0 net/core/rtnetlink.c:3398
 rtnetlink_rcv_msg+0x44e/0xad0 net/core/rtnetlink.c:5461
 netlink_rcv_skb+0x15a/0x430 net/netlink/af_netlink.c:2469
 netlink_unicast_kernel net/netlink/af_netlink.c:1303 [inline]
 netlink_unicast+0x537/0x740 net/netlink/af_netlink.c:1329
 netlink_sendmsg+0x882/0xe10 net/netlink/af_netlink.c:1918
 sock_sendmsg_nosec net/socket.c:652 [inline]
 sock_sendmsg+0xcf/0x120 net/socket.c:672
 ____sys_sendmsg+0x6e6/0x810 net/socket.c:2352
 ___sys_sendmsg+0x100/0x170 net/socket.c:2406
 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2439
 do_syscall_64+0xf6/0x7d0 arch/x86/entry/common.c:295
 entry_SYSCALL_64_after_hwframe+0x49/0xb3
RIP: 0033:0x434d89
Code: e8 2c e9 ff ff 48 83 c4 18 c3 0f 1f 80 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 2b d1 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ffd0bbea4e8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000434d89
RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001
R10: 0000000000000001 R11: 0000000000000246 R12: 00000000ffffffff
R13: 0000000000044006 R14: 0000000000000000 R15: 0000000000000000

Crashes (3496):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-qemu-upstream 2020/06/16 14:23 upstream 435faf5c218a 4ea9d964 .config log report syz C
ci-qemu-upstream 2020/06/16 12:34 upstream 435faf5c218a 4ea9d964 .config log report syz C
ci-qemu-upstream 2020/06/14 00:01 upstream 435faf5c218a dbce178a .config log report syz C
ci-qemu-upstream 2020/06/10 08:35 upstream 435faf5c218a 860c4de9 .config log report syz C
ci-qemu-upstream 2020/06/10 05:29 upstream 435faf5c218a 860c4de9 .config log report syz C
ci-qemu-upstream 2020/06/07 17:59 upstream 435faf5c218a 2c2b926c .config log report syz C
ci-upstream-kasan-gce-selinux-root 2020/06/03 21:27 upstream d6f9469a03d8 a5ce5de0 .config log report syz C
ci-upstream-kasan-gce-smack-root 2020/05/28 14:56 upstream b0c3ba31be3e 142a0957 .config log report syz C
ci-upstream-kasan-gce-smack-root 2020/05/25 00:48 upstream caffb99b6929 bd28eb9d .config log report syz C
ci-upstream-kasan-gce-smack-root 2020/05/24 00:35 upstream 423b8baf18a8 9682898d .config log report syz C
ci-upstream-kasan-gce-smack-root 2020/05/22 10:04 upstream d2f8825ab78e 5afa2ddd .config log report syz C
ci-qemu-upstream 2020/05/16 18:32 upstream 12bf0b632ed0 37bccd4e .config log report syz C
ci-upstream-kasan-gce-selinux-root 2020/05/15 06:43 upstream 8c1684bb81f1 2d572622 .config log report syz C
ci-upstream-kasan-gce-smack-root 2020/05/13 09:47 upstream 24085f70a6e1 a44eb8f7 .config log report syz C
ci-upstream-kasan-gce-smack-root 2020/05/11 16:57 upstream 2ef96a5bb12b f8f57555 .config log report syz C
ci-upstream-kasan-gce-root 2020/05/11 16:51 upstream 2ef96a5bb12b f8f57555 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2020/05/11 16:09 upstream 2ef96a5bb12b f8f57555 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2020/05/11 16:01 upstream 2ef96a5bb12b f8f57555 .config log report syz C
ci-upstream-kasan-gce-smack-root 2020/05/11 06:26 upstream e99332e7b4cd 8742a2b9 .config log report syz C
ci-upstream-kasan-gce-root 2020/05/11 05:48 upstream e99332e7b4cd 8742a2b9 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2020/05/11 01:18 upstream e99332e7b4cd 8742a2b9 .config log report syz C
ci-upstream-kasan-gce-root 2020/05/10 12:33 upstream 1d3962ae3b3d 8742a2b9 .config log report syz C
ci-upstream-kasan-gce-root 2020/05/10 10:22 upstream 1d3962ae3b3d 8742a2b9 .config log report syz C
ci-upstream-kasan-gce-smack-root 2020/05/10 08:44 upstream 1d3962ae3b3d 8742a2b9 .config log report syz C
ci-upstream-kasan-gce-smack-root 2020/04/27 14:39 upstream 6a8b55ed4056 0ce7569e .config log report syz C
ci-upstream-kasan-gce-smack-root 2020/04/15 00:33 upstream 8632e9b5645b 3f3c5574 .config log report syz C
ci-qemu-upstream-386 2020/06/24 05:20 upstream 435faf5c218a bbad15ae .config log report syz C
ci-qemu-upstream-386 2020/06/18 05:20 upstream 435faf5c218a d45a4d69 .config log report syz C
ci-qemu-upstream-386 2020/06/17 22:02 upstream 435faf5c218a b6c46f43 .config log report syz C
ci-qemu-upstream-386 2020/06/15 17:44 upstream 435faf5c218a 8e3ab941 .config log report syz C
ci-qemu-upstream-386 2020/06/15 11:20 upstream 435faf5c218a 8e3ab941 .config log report syz C
ci-qemu-upstream-386 2020/06/07 01:10 upstream 435faf5c218a e6b89e4e .config log report syz C
ci-upstream-kasan-gce-386 2020/05/29 22:04 upstream 75caf310d16c 3905eaae .config log report syz C
ci-upstream-kasan-gce-386 2020/05/28 13:21 upstream b0c3ba31be3e 142a0957 .config log report syz C
ci-upstream-kasan-gce-386 2020/05/24 09:39 upstream 423b8baf18a8 96c92ad3 .config log report syz C
ci-upstream-net-this-kasan-gce 2020/05/29 09:51 net 7c6d2ecbda83 d19ed305 .config log report syz C
ci-upstream-net-this-kasan-gce 2020/05/26 09:43 net 15c973858903 8ca3b7d2 .config log report syz C
ci-upstream-net-this-kasan-gce 2020/05/23 12:37 net d3e8e4c11870 9682898d .config log report syz C
ci-upstream-net-this-kasan-gce 2020/05/21 08:29 net 20a785aa52c8 c61086ab .config log report syz C
ci-upstream-net-this-kasan-gce 2020/05/11 04:59 net 090e28b229af 8742a2b9 .config log report syz C
ci-upstream-net-kasan-gce 2020/05/24 05:42 net-next 54b9aca08c9a 96c92ad3 .config log report syz C
ci-upstream-net-kasan-gce 2020/05/23 10:22 net-next 199671eadd47 9682898d .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2020/05/31 05:52 linux-next e7b08814b16b 6f3e1c7c .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2020/05/14 03:54 linux-next ac935d227366 a885920d .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2020/05/10 15:09 linux-next ac935d227366 8742a2b9 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2020/05/10 10:03 linux-next ac935d227366 8742a2b9 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2019/11/01 15:07 linux-next 49afce6d47fe a41ca8fa .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2019/10/29 02:12 linux-next 60c1769a45f4 439d7b14 .config log report syz
ci-upstream-kasan-gce-smack-root 2020/06/24 15:28 upstream 7ae77150d94d 54566aff .config log report
ci-upstream-kasan-gce 2020/06/23 22:22 upstream 7ae77150d94d 54566aff .config log report
ci-upstream-kasan-gce 2020/06/21 21:24 upstream 7ae77150d94d 4f2acff9 .config log report
ci-upstream-kasan-gce 2020/06/20 08:34 upstream 7ae77150d94d 81abc331 .config log report
ci-upstream-kasan-gce 2020/06/19 12:33 upstream 7ae77150d94d bc258b50 .config log report
ci-upstream-kasan-gce 2020/06/18 21:49 upstream 7ae77150d94d d45a4d69 .config log report
ci-upstream-kasan-gce 2020/06/18 20:19 upstream 7ae77150d94d d45a4d69 .config log report
ci-upstream-kasan-gce 2020/06/18 14:04 upstream 7ae77150d94d d45a4d69 .config log report
ci-upstream-kasan-gce-root 2020/06/18 00:33 upstream 7ae77150d94d b9f3810b .config log report
ci-upstream-kasan-gce 2020/06/17 14:58 upstream 7ae77150d94d b9f3810b .config log report
ci-upstream-kasan-gce 2020/06/17 12:56 upstream 7ae77150d94d b9f3810b .config log report
ci-upstream-kasan-gce-smack-root 2020/06/17 00:04 upstream 7ae77150d94d 559fbe2d .config log report
ci-upstream-kasan-gce 2020/06/15 05:09 upstream 7ae77150d94d 2a22c77a .config log report
ci-upstream-kasan-gce 2020/06/15 04:42 upstream 7ae77150d94d 2a22c77a .config log report
ci-upstream-kasan-gce 2020/06/14 04:30 upstream 7ae77150d94d dbce178a .config log report
ci-upstream-kasan-gce 2020/06/13 23:00 upstream 7ae77150d94d dbce178a .config log report
ci-upstream-kasan-gce 2020/06/13 14:04 upstream 7ae77150d94d f4724dd3 .config log report
ci-upstream-kasan-gce-smack-root 2020/06/13 11:26 upstream 7ae77150d94d f4724dd3 .config log report
ci-upstream-kasan-gce 2020/06/12 13:51 upstream 7ae77150d94d 58802067 .config log report
ci-upstream-kasan-gce-smack-root 2020/06/12 10:21 upstream 7ae77150d94d 58802067 .config log report
ci-upstream-kasan-gce 2020/06/12 08:23 upstream 7ae77150d94d 58802067 .config log report
ci-upstream-kasan-gce 2020/06/12 06:20 upstream 7ae77150d94d 58802067 .config log report
ci-upstream-kasan-gce-root 2020/06/12 04:19 upstream 7ae77150d94d 58802067 .config log report
ci-upstream-kasan-gce-root 2020/06/11 14:00 upstream 7ae77150d94d 3ab7a05a .config log report
ci-upstream-kasan-gce 2020/06/11 00:58 upstream 7ae77150d94d a6f7998d .config log report
ci-upstream-kasan-gce 2020/06/10 21:16 upstream 7ae77150d94d a6f7998d .config log report
ci-upstream-kasan-gce-root 2020/06/10 15:07 upstream 7ae77150d94d 860c4de9 .config log report
ci-upstream-kasan-gce-root 2020/06/10 00:18 upstream 7ae77150d94d 092934c1 .config log report
ci-upstream-kasan-gce-smack-root 2020/06/09 13:41 upstream 7ae77150d94d 0d60b78a .config log report
ci-upstream-kasan-gce 2020/06/09 06:10 upstream 7ae77150d94d 0d60b78a .config log report
ci-upstream-kasan-gce-selinux-root 2020/06/08 22:31 upstream 7ae77150d94d 7604bb03 .config log report
ci-upstream-kasan-gce-root 2020/06/08 10:38 upstream 7ae77150d94d 7751efd0 .config log report
ci-upstream-kasan-gce-root 2020/06/08 07:05 upstream 7ae77150d94d 7751efd0 .config log report
ci-upstream-kasan-gce-root 2020/06/08 00:17 upstream 7ae77150d94d 2c2b926c .config log report
ci-upstream-kasan-gce 2020/06/07 21:14 upstream 7ae77150d94d 2c2b926c .config log report
ci-upstream-kasan-gce-root 2020/06/07 06:16 upstream 7ae77150d94d e6b89e4e .config log report
ci-upstream-kasan-gce 2020/06/06 20:58 upstream 7ae77150d94d e6b89e4e .config log report
ci-upstream-kasan-gce-386 2020/06/20 01:30 upstream 7ae77150d94d 81abc331 .config log report
ci-upstream-kasan-gce-386 2020/06/18 16:43 upstream 7ae77150d94d d45a4d69 .config log report
ci-upstream-kasan-gce-386 2020/06/17 18:52 upstream 7ae77150d94d b9f3810b .config log report
ci-upstream-net-this-kasan-gce 2020/06/16 10:00 net 4d3da2d8d91f baca2611 .config log report
ci-upstream-bpf-kasan-gce 2020/06/10 02:14 bpf 21a85bd601ee 860c4de9 .config log report
ci-upstream-net-this-kasan-gce 2020/06/08 04:17 net 4d3da2d8d91f 7751efd0 .config log report
ci-upstream-net-this-kasan-gce 2020/06/07 16:05 net 4e2905adac9f 2c2b926c .config log report
ci-upstream-net-this-kasan-gce 2020/06/07 13:12 net 4e2905adac9f 2c2b926c .config log report
ci-upstream-net-this-kasan-gce 2019/10/26 00:20 net 65921376425f c2e837da .config log report
ci-upstream-bpf-next-kasan-gce 2020/06/27 05:41 bpf-next cb8e59cc8720 ffec44b5 .config log report
ci-upstream-net-kasan-gce 2020/06/17 06:54 net-next cb8e59cc8720 b9f3810b .config log report
ci-upstream-net-kasan-gce 2020/06/16 16:35 net-next cb8e59cc8720 baca2611 .config log report
ci-upstream-net-kasan-gce 2020/06/16 00:04 net-next cb8e59cc8720 baca2611 .config log report
ci-upstream-net-kasan-gce 2020/06/15 21:03 net-next cb8e59cc8720 baca2611 .config log report
ci-upstream-net-kasan-gce 2020/06/15 14:44 net-next cb8e59cc8720 8e3ab941 .config log report
ci-upstream-net-kasan-gce 2020/06/15 09:54 net-next cb8e59cc8720 8e3ab941 .config log report
ci-upstream-net-kasan-gce 2020/06/15 01:38 net-next cb8e59cc8720 2a22c77a .config log report
ci-upstream-bpf-next-kasan-gce 2020/06/15 00:20 bpf-next cb8e59cc8720 2a22c77a .config log report
ci-upstream-net-kasan-gce 2020/06/14 21:35 net-next cb8e59cc8720 2a22c77a .config log report
ci-upstream-bpf-next-kasan-gce 2020/06/13 07:58 bpf-next cb8e59cc8720 f4724dd3 .config log report
ci-upstream-net-kasan-gce 2020/06/12 17:17 net-next cb8e59cc8720 df590254 .config log report
ci-upstream-net-kasan-gce 2020/06/11 08:55 net-next cb8e59cc8720 3ab7a05a .config log report
ci-upstream-net-kasan-gce 2020/06/10 18:52 net-next cb8e59cc8720 a6f7998d .config log report
ci-upstream-bpf-next-kasan-gce 2020/06/07 11:46 bpf-next cb8e59cc8720 2c2b926c .config log report
ci-upstream-linux-next-kasan-gce-root 2020/06/09 11:18 linux-next e7b08814b16b 0d60b78a .config log report