ip_tables: iptables: counters copy to user failed while replacing table bond0: Error: Device is in use and cannot be enslaved ============================= WARNING: suspicious RCU usage 4.14.280-syzkaller #0 Not tainted ----------------------------- net/netfilter/nf_queue.c:244 suspicious rcu_dereference_check() usage! other info that might help us debug this: rcu_scheduler_active = 2, debug_locks = 1 2 locks held by syz-executor.2/8013: #0: (rcu_callback){....}, at: [] __rcu_reclaim kernel/rcu/rcu.h:185 [inline] #0: (rcu_callback){....}, at: [] rcu_do_batch kernel/rcu/tree.c:2699 [inline] #0: (rcu_callback){....}, at: [] invoke_rcu_callbacks kernel/rcu/tree.c:2962 [inline] #0: (rcu_callback){....}, at: [] __rcu_process_callbacks kernel/rcu/tree.c:2929 [inline] #0: (rcu_callback){....}, at: [] rcu_process_callbacks+0x84e/0x1180 kernel/rcu/tree.c:2946 #1: (&(&inst->lock)->rlock){+.-.}, at: [] spin_lock_bh include/linux/spinlock.h:322 [inline] #1: (&(&inst->lock)->rlock){+.-.}, at: [] nfqnl_flush+0x2f/0x2a0 net/netfilter/nfnetlink_queue.c:232 stack backtrace: CPU: 1 PID: 8013 Comm: syz-executor.2 Not tainted 4.14.280-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+0x1b2/0x281 lib/dump_stack.c:58 nf_reinject+0x56e/0x700 net/netfilter/nf_queue.c:244 nfqnl_flush+0x1ab/0x2a0 net/netfilter/nfnetlink_queue.c:237 instance_destroy_rcu+0x19/0x30 net/netfilter/nfnetlink_queue.c:171 __rcu_reclaim kernel/rcu/rcu.h:195 [inline] rcu_do_batch kernel/rcu/tree.c:2699 [inline] invoke_rcu_callbacks kernel/rcu/tree.c:2962 [inline] __rcu_process_callbacks kernel/rcu/tree.c:2929 [inline] rcu_process_callbacks+0x780/0x1180 kernel/rcu/tree.c:2946 netlink: 4 bytes leftover after parsing attributes in process `syz-executor.5'. __do_softirq+0x24d/0x9ff kernel/softirq.c:288 invoke_softirq kernel/softirq.c:368 [inline] irq_exit+0x193/0x240 kernel/softirq.c:409 exiting_irq arch/x86/include/asm/apic.h:638 [inline] smp_apic_timer_interrupt+0x141/0x5e0 arch/x86/kernel/apic/apic.c:1106 apic_timer_interrupt+0x93/0xa0 arch/x86/entry/entry_64.S:793 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline] RIP: 0010:_raw_spin_unlock_irq+0x50/0x80 kernel/locking/spinlock.c:200 RSP: 0018:ffff8880964bfb68 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff10 RAX: 1ffffffff11e1313 RBX: ffff8880af3d46c0 RCX: 0000000000000000 netlink: 4 bytes leftover after parsing attributes in process `syz-executor.5'. RDX: dffffc0000000000 RSI: 0000000000000001 RDI: ffff8880af3d4f44 RBP: ffff8880ba534380 R08: ffffffff8b9caa48 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880ba534380 R13: ffff8880af3a0140 R14: ffff888095526640 R15: ffff8880ba534cd0 finish_lock_switch kernel/sched/sched.h:1346 [inline] finish_task_switch+0x178/0x610 kernel/sched/core.c:2678 context_switch kernel/sched/core.c:2814 [inline] __schedule+0x893/0x1de0 kernel/sched/core.c:3387 schedule+0x8d/0x1b0 kernel/sched/core.c:3431 netlink: 12 bytes leftover after parsing attributes in process `syz-executor.5'. freezable_schedule include/linux/freezer.h:172 [inline] do_nanosleep+0x229/0x600 kernel/time/hrtimer.c:1483 hrtimer_nanosleep+0x1da/0x4b0 kernel/time/hrtimer.c:1537 ip_tables: iptables: counters copy to user failed while replacing table common_nsleep+0x23/0x30 kernel/time/posix-timers.c:1206 SYSC_clock_nanosleep kernel/time/posix-timers.c:1233 [inline] SyS_clock_nanosleep+0x1ff/0x2d0 kernel/time/posix-timers.c:1211 netlink: 12 bytes leftover after parsing attributes in process `syz-executor.2'. do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x7f03be664e11 RSP: 002b:00007ffe345e0880 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6 ip_tables: iptables: counters copy to user failed while replacing table RAX: ffffffffffffffda RBX: 000000000000003f RCX: 00007f03be664e11 RDX: 00007ffe345e08c0 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007ffe345e094c R08: 0000000000000000 R09: 0000001f0bded981 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032 R13: 000000000001c50f R14: 0000000000000000 R15: 00007ffe345e09b0 netlink: 12 bytes leftover after parsing attributes in process `syz-executor.5'. bond0: Error: Device is in use and cannot be enslaved ip_tables: iptables: counters copy to user failed while replacing table bond0: Error: Device is in use and cannot be enslaved netlink: 12 bytes leftover after parsing attributes in process `syz-executor.2'. netlink: 12 bytes leftover after parsing attributes in process `syz-executor.5'. bond0: Error: Device is in use and cannot be enslaved ip_tables: iptables: counters copy to user failed while replacing table ip_tables: iptables: counters copy to user failed while replacing table