bond0 (unregistering): Releasing backup interface bond_slave_1 bond0 (unregistering): Releasing backup interface bond_slave_0 bond0 (unregistering): Released all slaves IPVS: ftp: loaded support on port[0] = 21 ====================================================== WARNING: possible circular locking dependency detected 4.14.180-syzkaller #0 Not tainted ------------------------------------------------------ syz-executor193/15893 is trying to acquire lock: (((&q->adapt_timer))){+.-.}, at: [] arch_local_irq_disable arch/x86/include/asm/paravirt.h:784 [inline] (((&q->adapt_timer))){+.-.}, at: [] arch_local_irq_save arch/x86/include/asm/paravirt.h:797 [inline] (((&q->adapt_timer))){+.-.}, at: [] del_timer_sync+0x76/0x1e0 kernel/time/timer.c:1234 but task is already holding lock: (&qdisc_rx_lock){+.-.}, at: [] spin_lock_bh include/linux/spinlock.h:322 [inline] (&qdisc_rx_lock){+.-.}, at: [] sch_tree_lock include/net/sch_generic.h:360 [inline] (&qdisc_rx_lock){+.-.}, at: [] sfb_change+0x1a3/0xa20 net/sched/sch_sfb.c:521 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #1 (&qdisc_rx_lock){+.-.}: lock_acquire+0x173/0x400 kernel/locking/lockdep.c:3998 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2d/0x40 kernel/locking/spinlock.c:152 spin_lock include/linux/spinlock.h:317 [inline] pie_timer+0x6b/0x620 net/sched/sch_pie.c:431 call_timer_fn+0x142/0x570 kernel/time/timer.c:1279 expire_timers kernel/time/timer.c:1318 [inline] __run_timers kernel/time/timer.c:1636 [inline] run_timer_softirq+0xc99/0x1210 kernel/time/timer.c:1649 __do_softirq+0x246/0x9b0 kernel/softirq.c:288 do_softirq_own_stack+0x2a/0x40 arch/x86/entry/entry_64.S:1015 do_softirq.part.16+0x11a/0x150 kernel/softirq.c:332 do_softirq kernel/softirq.c:324 [inline] __local_bh_enable_ip+0x15c/0x180 kernel/softirq.c:185 __raw_write_unlock_bh include/linux/rwlock_api_smp.h:275 [inline] _raw_write_unlock_bh+0x30/0x40 kernel/locking/spinlock.c:352 neigh_changeaddr+0x31/0x40 net/core/neighbour.c:289 arp_netdev_event+0x42/0xf0 net/ipv4/arp.c:1250 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] dev_set_mac_address+0x1b8/0x2f0 net/core/dev.c:6965 do_setlink+0x5d9/0x2c50 net/core/rtnetlink.c:2047 rtnl_newlink+0xe0c/0x1390 net/core/rtnetlink.c:2660 rtnetlink_rcv_msg+0x34f/0x9d0 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+0x40d/0x5f0 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 SYSC_sendto+0x1e3/0x2c0 net/socket.c:1763 SyS_sendto+0x9/0x10 net/socket.c:1731 do_syscall_64+0x1c7/0x5b0 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 -> #0 (((&q->adapt_timer))){+.-.}: check_prev_add kernel/locking/lockdep.c:1905 [inline] check_prevs_add kernel/locking/lockdep.c:2022 [inline] validate_chain kernel/locking/lockdep.c:2464 [inline] __lock_acquire+0x2e94/0x4500 kernel/locking/lockdep.c:3491 lock_acquire+0x173/0x400 kernel/locking/lockdep.c:3998 del_timer_sync+0xa2/0x1e0 kernel/time/timer.c:1235 pie_destroy+0x42/0x50 net/sched/sch_pie.c:534 qdisc_destroy+0x123/0x2d0 net/sched/sch_generic.c:725 sfb_change+0x261/0xa20 net/sched/sch_sfb.c:525 qdisc_change net/sched/sch_api.c:1144 [inline] tc_modify_qdisc+0xb55/0x13eb net/sched/sch_api.c:1410 rtnetlink_rcv_msg+0x34f/0x9d0 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+0x40d/0x5f0 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 other info that might help us debug this: Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(&qdisc_rx_lock); lock(((&q->adapt_timer))); lock(&qdisc_rx_lock); lock(((&q->adapt_timer))); *** DEADLOCK *** 2 locks held by syz-executor193/15893: #0: (rtnl_mutex){+.+.}, at: [] rtnl_lock net/core/rtnetlink.c:72 [inline] #0: (rtnl_mutex){+.+.}, at: [] rtnetlink_rcv_msg+0x2c1/0x9d0 net/core/rtnetlink.c:4310 #1: (&qdisc_rx_lock){+.-.}, at: [] spin_lock_bh include/linux/spinlock.h:322 [inline] #1: (&qdisc_rx_lock){+.-.}, at: [] sch_tree_lock include/net/sch_generic.h:360 [inline] #1: (&qdisc_rx_lock){+.-.}, at: [] sfb_change+0x1a3/0xa20 net/sched/sch_sfb.c:521 stack backtrace: CPU: 0 PID: 15893 Comm: syz-executor193 Not tainted 4.14.180-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 print_circular_bug.isra.40.cold.67+0x1bd/0x27d kernel/locking/lockdep.c:1258 check_prev_add kernel/locking/lockdep.c:1905 [inline] check_prevs_add kernel/locking/lockdep.c:2022 [inline] validate_chain kernel/locking/lockdep.c:2464 [inline] __lock_acquire+0x2e94/0x4500 kernel/locking/lockdep.c:3491 lock_acquire+0x173/0x400 kernel/locking/lockdep.c:3998 del_timer_sync+0xa2/0x1e0 kernel/time/timer.c:1235 pie_destroy+0x42/0x50 net/sched/sch_pie.c:534 qdisc_destroy+0x123/0x2d0 net/sched/sch_generic.c:725 sfb_change+0x261/0xa20 net/sched/sch_sfb.c:525 qdisc_change net/sched/sch_api.c:1144 [inline] tc_modify_qdisc+0xb55/0x13eb net/sched/sch_api.c:1410 rtnetlink_rcv_msg+0x34f/0x9d0 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+0x40d/0x5f0 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:0x446cd9 RSP: 002b:00007f6b80b95db8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00000000006dbc58 RCX: 0000000000446cd9 RDX: 0000000000000000 RSI: 0000000020000240 RDI: 0000000000000005 RBP: 00000000006dbc50 R08: 0000000000000028 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 00000000006dbc5c R13: 00007ffe6d23e8ef R14: 00007f6b80b969c0 R15: 0000000000000001