ip_tables: iptables: counters copy to user failed while replacing table ip_tables: iptables: counters copy to user failed while replacing table ip_tables: iptables: counters copy to user failed while replacing table ip_tables: iptables: counters copy to user failed while replacing table ============================= WARNING: suspicious RCU usage 4.14.249-syzkaller #0 Not tainted ----------------------------- net/netfilter/nf_queue.c:227 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-executor599/8001: #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: 0 PID: 8001 Comm: syz-executor599 Not tainted 4.14.249-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:227 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 __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:get_current arch/x86/include/asm/current.h:15 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x50 kernel/kcov.c:60 RSP: 0018:ffff8880b353faf8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff10 RAX: 1ffff110166a7531 RBX: ffff8880b353a988 RCX: 1ffffffff126c314 RDX: 0000000000000000 RSI: ffffffff87895de0 RDI: ffff8880959a4318 RBP: ffff8880959a4300 R08: ffffffff8b9d21a0 R09: 0000000000000000 R10: 0000000000000000 R11: ffff8880959a4300 R12: dffffc0000000000 R13: ffff8880b3538000 R14: ffff8880b353f680 R15: ffff8880959a4830 stack_not_used include/linux/sched/task_stack.h:99 [inline] check_stack_usage kernel/exit.c:754 [inline] do_exit+0x153a/0x2850 kernel/exit.c:911 do_group_exit+0x100/0x2e0 kernel/exit.c:965 get_signal+0x38d/0x1ca0 kernel/signal.c:2423 do_signal+0x7c/0x1550 arch/x86/kernel/signal.c:792 exit_to_usermode_loop+0x160/0x200 arch/x86/entry/common.c:160 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline] syscall_return_slowpath arch/x86/entry/common.c:270 [inline] do_syscall_64+0x4a3/0x640 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x7f5539643289 RSP: 002b:00007f55395d22f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f55396cb410 RCX: 00007f5539643289 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f55396cb418 RBP: 00007f5539699074 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00000000200007a0 R14: 0001000800000000 R15: 00007f55396cb418 nla_parse: 2410 callbacks suppressed netlink: 12 bytes leftover after parsing attributes in process `syz-executor599'. netlink: 12 bytes leftover after parsing attributes in process `syz-executor599'. netlink: 12 bytes leftover after parsing attributes in process `syz-executor599'. netlink: 12 bytes leftover after parsing attributes in process `syz-executor599'. netlink: 12 bytes leftover after parsing attributes in process `syz-executor599'. netlink: 12 bytes leftover after parsing attributes in process `syz-executor599'. netlink: 12 bytes leftover after parsing attributes in process `syz-executor599'. netlink: 12 bytes leftover after parsing attributes in process `syz-executor599'. net_ratelimit: 2416 callbacks suppressed ip_tables: iptables: counters copy to user failed while replacing table netlink: 12 bytes leftover after parsing attributes in process `syz-executor599'. netlink: 12 bytes leftover after parsing attributes in process `syz-executor599'. ip_tables: iptables: counters copy to user failed while replacing table ip_tables: iptables: counters copy to user failed while replacing table ip_tables: iptables: counters copy to user failed while replacing table ip_tables: iptables: counters copy to user failed while replacing table ip_tables: iptables: counters copy to user failed while replacing table ip_tables: iptables: counters copy to user failed while replacing table ip_tables: iptables: counters copy to user failed while replacing table ip_tables: iptables: counters copy to user failed while replacing table ip_tables: iptables: counters copy to user failed while replacing table nla_parse: 2511 callbacks suppressed netlink: 12 bytes leftover after parsing attributes in process `syz-executor599'. netlink: 12 bytes leftover after parsing attributes in process `syz-executor599'. netlink: 12 bytes leftover after parsing attributes in process `syz-executor599'. netlink: 12 bytes leftover after parsing attributes in process `syz-executor599'. netlink: 12 bytes leftover after parsing attributes in process `syz-executor599'. netlink: 12 bytes leftover after parsing attributes in process `syz-executor599'. netlink: 12 bytes leftover after parsing attributes in process `syz-executor599'. netlink: 12 bytes leftover after parsing attributes in process `syz-executor599'. net_ratelimit: 2513 callbacks suppressed ip_tables: iptables: counters copy to user failed while replacing table netlink: 12 bytes leftover after parsing attributes in process `syz-executor599'. netlink: 12 bytes leftover after parsing attributes in process `syz-executor599'. ip_tables: iptables: counters copy to user failed while replacing table ip_tables: iptables: counters copy to user failed while replacing table ip_tables: iptables: counters copy to user failed while replacing table ip_tables: iptables: counters copy to user failed while replacing table ip_tables: iptables: counters copy to user failed while replacing table