bisecting fixing commit since 98db2bf27b9ed2d5ed0b6c9c8a4bfcb127a19796 building syzkaller on cf9142006bfa242d2bbf5916749e42327103f803 testing commit 98db2bf27b9ed2d5ed0b6c9c8a4bfcb127a19796 with gcc (GCC) 8.1.0 kernel signature: 74fe93115ce62f0f931a54a7d99c8febdd831b187c08a75ddec63252a0abb39c run #0: crashed: BUG: looking up invalid subclass: 8 run #1: crashed: BUG: looking up invalid subclass: 9 run #2: crashed: BUG: looking up invalid subclass: 8 run #3: crashed: BUG: looking up invalid subclass: 8 run #4: crashed: BUG: looking up invalid subclass: 8 run #5: crashed: BUG: looking up invalid subclass: 8 run #6: crashed: BUG: looking up invalid subclass: 9 run #7: crashed: BUG: looking up invalid subclass: 8 run #8: crashed: BUG: looking up invalid subclass: 8 run #9: crashed: BUG: looking up invalid subclass: 8 testing current HEAD 773e2b1cd56a17bab4cdd4fe7db12f2140951668 testing commit 773e2b1cd56a17bab4cdd4fe7db12f2140951668 with gcc (GCC) 8.1.0 kernel signature: 84b59e0fe0d5013eafaae68cd67cfe4243b718d3cd67e709d9fbfd9d33046d2b run #0: crashed: BUG: looking up invalid subclass: 8 run #1: crashed: BUG: looking up invalid subclass: 8 run #2: crashed: BUG: looking up invalid subclass: 9 run #3: crashed: BUG: looking up invalid subclass: 8 run #4: crashed: BUG: looking up invalid subclass: 8 run #5: crashed: BUG: looking up invalid subclass: 8 run #6: crashed: BUG: looking up invalid subclass: 8 run #7: crashed: BUG: looking up invalid subclass: 8 run #8: crashed: BUG: looking up invalid subclass: 8 run #9: crashed: BUG: looking up invalid subclass: 8 revisions tested: 2, total time: 27m41.068941827s (build: 19m27.21910076s, test: 6m37.681304995s) the crash still happens on HEAD commit msg: Linux 4.14.178 crash: BUG: looking up invalid subclass: 8 bond41: Enslaving macvlan95 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan99 bond43: making interface macvlan99 the new active one bond43: Enslaving macvlan99 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan91 BUG: looking up invalid subclass: 8 turning off the locking correctness validator. CPU: 0 PID: 18506 Comm: syz-executor.5 Not tainted 4.14.178-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0xf7/0x13b lib/dump_stack.c:58 look_up_lock_class kernel/locking/lockdep.c:673 [inline] register_lock_class+0x5b7/0x1cd0 kernel/locking/lockdep.c:756 __lock_acquire+0x14f/0x4500 kernel/locking/lockdep.c:3378 lock_acquire+0x173/0x400 kernel/locking/lockdep.c:3998 _raw_spin_lock_nested+0x33/0x50 kernel/locking/spinlock.c:362 bond_get_stats+0xbd/0x4d0 drivers/net/bonding/bond_main.c:3416 dev_get_stats+0x85/0x240 net/core/dev.c:8005 rtnl_fill_stats+0x44/0xc00 net/core/rtnetlink.c:1079 rtnl_fill_ifinfo+0xdac/0x3200 net/core/rtnetlink.c:1385 rtmsg_ifinfo_build_skb+0x8c/0x120 net/core/rtnetlink.c:2912 rtmsg_ifinfo_event.part.27+0x16/0xb0 net/core/rtnetlink.c:2942 rtmsg_ifinfo_event net/core/rtnetlink.c:4366 [inline] rtnetlink_event+0xc2/0x110 net/core/rtnetlink.c:4359 notifier_call_chain+0xd6/0x150 kernel/notifier.c:93 __raw_notifier_call_chain kernel/notifier.c:394 [inline] raw_notifier_call_chain+0x11/0x20 kernel/notifier.c:401 call_netdevice_notifiers_info+0x4b/0x60 net/core/dev.c:1671 call_netdevice_notifiers net/core/dev.c:1687 [inline] netdev_features_change net/core/dev.c:1300 [inline] netdev_change_features+0x65/0x80 net/core/dev.c:7450 bond_compute_features.isra.44+0x4a2/0x7e0 drivers/net/bonding/bond_main.c:1122 bond_enslave+0x156c/0x4a80 drivers/net/bonding/bond_main.c:1731 do_set_master+0x163/0x1f0 net/core/rtnetlink.c:1961 rtnl_newlink+0xf41/0x1390 net/core/rtnetlink.c:2756 rtnetlink_rcv_msg+0x34c/0x9e0 net/core/rtnetlink.c:4315 netlink_rcv_skb+0x133/0x370 net/netlink/af_netlink.c:2433 rtnetlink_rcv+0x10/0x20 net/core/rtnetlink.c:4327 netlink_unicast_kernel net/netlink/af_netlink.c:1287 [inline] netlink_unicast+0x40b/0x600 net/netlink/af_netlink.c:1313 netlink_sendmsg+0x730/0xbd0 net/netlink/af_netlink.c:1878 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xb5/0xf0 net/socket.c:656 ___sys_sendmsg+0x625/0x920 net/socket.c:2062 __sys_sendmsg+0xc1/0x140 net/socket.c:2096 SYSC_sendmsg net/socket.c:2107 [inline] SyS_sendmsg+0xd/0x20 net/socket.c:2103 do_syscall_64+0x1c7/0x5b0 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x45c6c9 RSP: 002b:00007f828c20cc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f828c20d6d4 RCX: 000000000045c6c9 RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000004 RBP: 000000000076bfc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000009cf R14: 00000000004cc73c R15: 000000000076bfd4 bond38: making interface macvlan91 the new active one bond38: Enslaving macvlan91 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan90 bond38: making interface macvlan90 the new active one bond38: Enslaving macvlan90 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan101 bond45: making interface macvlan101 the new active one bond45: Enslaving macvlan101 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan104 bond42: making interface macvlan104 the new active one bond42: Enslaving macvlan104 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan99 bond42: Enslaving macvlan99 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan94 bond39: Enslaving macvlan94 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan102 bond44: Enslaving macvlan102 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan101 bond43: Enslaving macvlan101 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan94 bond39: making interface macvlan94 the new active one bond39: Enslaving macvlan94 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan108 bond44: Enslaving macvlan108 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan103 bond46: Enslaving macvlan103 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan98 bond40: Enslaving macvlan98 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan103 bond44: making interface macvlan103 the new active one bond44: Enslaving macvlan103 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan98 bond41: making interface macvlan98 the new active one bond41: Enslaving macvlan98 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan105 bond45: making interface macvlan105 the new active one bond45: Enslaving macvlan105 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan110 bond45: making interface macvlan110 the new active one bond45: Enslaving macvlan110 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan106 bond47: Enslaving macvlan106 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan102 bond43: making interface macvlan102 the new active one bond43: Enslaving macvlan102 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan106 bond45: Enslaving macvlan106 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan100 bond41: Enslaving macvlan100 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan114 bond47: making interface macvlan114 the new active one bond47: Enslaving macvlan114 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan109 bond47: making interface macvlan109 the new active one bond47: Enslaving macvlan109 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan104 bond43: making interface macvlan104 the new active one bond43: Enslaving macvlan104 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan118 bond49: making interface macvlan118 the new active one bond49: Enslaving macvlan118 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan112 bond51: Enslaving macvlan112 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan111 bond49: making interface macvlan111 the new active one bond49: Enslaving macvlan111 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan108 bond46: Enslaving macvlan108 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan115 bond51: making interface macvlan115 the new active one bond51: Enslaving macvlan115 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan107 bond45: Enslaving macvlan107 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan122 bond50: Enslaving macvlan122 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan114 bond50: making interface macvlan114 the new active one bond50: Enslaving macvlan114 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan116 bond53: Enslaving macvlan116 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan112 bond47: making interface macvlan112 the new active one bond47: Enslaving macvlan112 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan118 bond54: Enslaving macvlan118 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan119 bond53: making interface macvlan119 the new active one bond53: Enslaving macvlan119 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan126 bond52: making interface macvlan126 the new active one bond52: Enslaving macvlan126 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan120 bond55: Enslaving macvlan120 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan110 bond46: Enslaving macvlan110 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan128 bond53: making interface macvlan128 the new active one bond53: Enslaving macvlan128 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan122 bond56: Enslaving macvlan122 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan115 bond48: making interface macvlan115 the new active one bond48: Enslaving macvlan115 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan130 bond54: making interface macvlan130 the new active one bond54: Enslaving macvlan130 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan124 bond57: Enslaving macvlan124 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan121 bond54: making interface macvlan121 the new active one bond54: Enslaving macvlan121 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan121 bond54: Enslaving macvlan121 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan119 bond49: making interface macvlan119 the new active one bond49: Enslaving macvlan119 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan116 bond50: Enslaving macvlan116 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan134 bond56: making interface macvlan134 the new active one bond56: Enslaving macvlan134 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan128 bond59: Enslaving macvlan128 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan125 bond55: making interface macvlan125 the new active one bond55: Enslaving macvlan125 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan124 bond55: making interface macvlan124 the new active one bond55: Enslaving macvlan124 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan122 bond50: Enslaving macvlan122 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan120 bond51: making interface macvlan120 the new active one bond51: Enslaving macvlan120 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan138 bond58: Enslaving macvlan138 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan131 bond60: Enslaving macvlan131 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan128 bond57: Enslaving macvlan128 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan128 bond56: Enslaving macvlan128 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan125 bond51: Enslaving macvlan125 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan135 bond62: Enslaving macvlan135 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan122 bond52: Enslaving macvlan122 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan132 bond59: Enslaving macvlan132 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan137 bond63: Enslaving macvlan137 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan131 bond57: Enslaving macvlan131 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan139 bond64: Enslaving macvlan139 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan136 bond61: Enslaving macvlan136 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan144 bond61: making interface macvlan144 the new active one bond61: Enslaving macvlan144 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan127 bond52: making interface macvlan127 the new active one bond52: Enslaving macvlan127 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan124 bond53: Enslaving macvlan124 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan130 bond53: making interface macvlan130 the new active one bond53: Enslaving macvlan130 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan137 bond61: making interface macvlan137 the new active one bond61: Enslaving macvlan137 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan148 bond62: making interface macvlan148 the new active one bond62: Enslaving macvlan148 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan128 bond55: making interface macvlan128 the new active one bond55: Enslaving macvlan128 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan138 bond62: Enslaving macvlan138 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan130 bond56: making interface macvlan130 the new active one bond56: Enslaving macvlan130 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan141 bond63: Enslaving macvlan141 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan152 bond64: Enslaving macvlan152 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan133 bond54: Enslaving macvlan133 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan140 bond62: Enslaving macvlan140 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan135 bond55: Enslaving macvlan135 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan144 bond64: Enslaving macvlan144 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan137 bond56: making interface macvlan137 the new active one bond56: Enslaving macvlan137 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan155 bond66: making interface macvlan155 the new active one bond66: Enslaving macvlan155 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan134 bond59: Enslaving macvlan134 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan144 bond65: Enslaving macvlan144 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan146 bond65: Enslaving macvlan146 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan136 bond60: Enslaving macvlan136 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan148 bond66: Enslaving macvlan148 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan159 bond67: making interface macvlan159 the new active one bond67: Enslaving macvlan159 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan138 bond61: Enslaving macvlan138 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan148 bond70: Enslaving macvlan148 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan148 bond67: Enslaving macvlan148 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan141 bond60: Enslaving macvlan141 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan141 bond62: Enslaving macvlan141 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan163 bond69: Enslaving macvlan163 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan154 bond70: Enslaving macvlan154 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan145 bond62: making interface macvlan145 the new active one bond62: Enslaving macvlan145 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan145 bond64: Enslaving macvlan145 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan167 bond71: making interface macvlan167 the new active one bond71: Enslaving macvlan167 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan151 bond70: Enslaving macvlan151 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan147 bond63: making interface macvlan147 the new active one bond63: Enslaving macvlan147 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan158 bond71: Enslaving macvlan158 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan149 bond64: Enslaving macvlan149 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan149 bond66: Enslaving macvlan149 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan170 bond72: making interface macvlan170 the new active one bond72: Enslaving macvlan170 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan151 bond67: Enslaving macvlan151 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan162 bond72: Enslaving macvlan162 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan153 bond65: making interface macvlan153 the new active one bond65: Enslaving macvlan153 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan174 bond73: Enslaving macvlan174 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan157 bond74: Enslaving macvlan157 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan153 bond68: Enslaving macvlan153 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan157 bond70: Enslaving macvlan157 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan156 bond66: Enslaving macvlan156 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan177 bond74: making interface macvlan177 the new active one bond74: Enslaving macvlan177 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan168 bond75: Enslaving macvlan168 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan160 bond72: Enslaving macvlan160 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan179 bond75: making interface macvlan179 the new active one bond75: Enslaving macvlan179 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan158 bond67: Enslaving macvlan158 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan181 bond76: Enslaving macvlan181 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan163 bond73: Enslaving macvlan163 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan171 bond76: Enslaving macvlan171 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan161 bond69: Enslaving macvlan161 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan167 bond75: Enslaving macvlan167 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan185 bond78: making interface macvlan185 the new active one bond78: Enslaving macvlan185 as an active interface with an up link 8021q: adding VLAN 0 to HW filter on device macvlan165 bond71: Enslaving macvlan165 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan175 bond77: Enslaving macvlan175 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan171 bond76: Enslaving macvlan171 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan189 bond79: Enslaving macvlan189 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan179 bond79: Enslaving macvlan179 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan191 bond80: Enslaving macvlan191 as an active interface with a down link 8021q: adding VLAN 0 to HW filter on device macvlan168 bond72: Enslaving macvlan168 as an active interface with a down link