============================= netlink: 12 bytes leftover after parsing attributes in process `syz-executor.2'. WARNING: suspicious RCU usage 4.14.281-syzkaller #0 Not tainted ip_tables: iptables: counters copy to user failed while replacing table ----------------------------- 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 netlink: 12 bytes leftover after parsing attributes in process `syz-executor.2'. 7 locks held by syz-executor.0/7978: #0: (&dup_mmap_sem){.+.+}, at: [] dup_mmap kernel/fork.c:601 [inline] #0: (&dup_mmap_sem){.+.+}, at: [] dup_mm kernel/fork.c:1200 [inline] #0: (&dup_mmap_sem){.+.+}, at: [] copy_mm kernel/fork.c:1255 [inline] #0: (&dup_mmap_sem){.+.+}, at: [] copy_process.part.0+0x4392/0x71c0 kernel/fork.c:1791 #1: ( ip_tables: iptables: counters copy to user failed while replacing table &mm->mmap_sem){++++}, at: [] dup_mmap kernel/fork.c:602 [inline] &mm->mmap_sem){++++}, at: [] dup_mm kernel/fork.c:1200 [inline] &mm->mmap_sem){++++}, at: [] copy_mm kernel/fork.c:1255 [inline] &mm->mmap_sem){++++}, at: [] copy_process.part.0+0x43ae/0x71c0 kernel/fork.c:1791 #2: (&mm->mmap_sem/1){+.+.}, at: [] dup_mmap kernel/fork.c:611 [inline] #2: (&mm->mmap_sem/1){+.+.}, at: [] dup_mm kernel/fork.c:1200 [inline] #2: (&mm->mmap_sem/1){+.+.}, at: [] copy_mm kernel/fork.c:1255 [inline] #2: (&mm->mmap_sem/1){+.+.}, at: [] copy_process.part.0+0x43e8/0x71c0 kernel/fork.c:1791 #3: (&(ptlock_ptr(page))->rlock#2){+.+.}, at: [] spin_lock include/linux/spinlock.h:317 [inline] #3: (&(ptlock_ptr(page))->rlock#2){+.+.}, at: [] copy_pte_range mm/memory.c:1103 [inline] #3: (&(ptlock_ptr(page))->rlock#2){+.+.}, at: [] copy_pmd_range mm/memory.c:1179 [inline] #3: (&(ptlock_ptr(page))->rlock#2){+.+.}, at: [] copy_pud_range mm/memory.c:1213 [inline] #3: (&(ptlock_ptr(page))->rlock#2){+.+.}, at: [] copy_p4d_range mm/memory.c:1235 [inline] #3: (&(ptlock_ptr(page))->rlock#2){+.+.}, at: [] copy_page_range+0x9ec/0x2630 mm/memory.c:1297 #4: (&(ptlock_ptr(page))->rlock#2/1){+.+.}, at: [] copy_pte_range mm/memory.c:1108 [inline] #4: (&(ptlock_ptr(page))->rlock#2/1){+.+.}, at: [] copy_pmd_range mm/memory.c:1179 [inline] #4: (&(ptlock_ptr(page))->rlock#2/1){+.+.}, at: [] copy_pud_range mm/memory.c:1213 [inline] #4: (&(ptlock_ptr(page))->rlock#2/1){+.+.}, at: [] copy_p4d_range mm/memory.c:1235 [inline] #4: (&(ptlock_ptr(page))->rlock#2/1){+.+.}, at: [] copy_page_range+0xb3b/0x2630 mm/memory.c:1297 #5: (rcu_callback){....}, at: [] __rcu_reclaim kernel/rcu/rcu.h:185 [inline] #5: (rcu_callback){....}, at: [] rcu_do_batch kernel/rcu/tree.c:2699 [inline] #5: (rcu_callback){....}, at: [] invoke_rcu_callbacks kernel/rcu/tree.c:2962 [inline] #5: (rcu_callback){....}, at: [] __rcu_process_callbacks kernel/rcu/tree.c:2929 [inline] #5: (rcu_callback){....}, at: [] rcu_process_callbacks+0x84e/0x1180 kernel/rcu/tree.c:2946 #6: (&(&inst->lock)->rlock){+.-.}, at: [] spin_lock_bh include/linux/spinlock.h:322 [inline] #6: (&(&inst->lock)->rlock){+.-.}, at: [] nfqnl_flush+0x2f/0x2a0 net/netfilter/nfnetlink_queue.c:232 stack backtrace: CPU: 1 PID: 7978 Comm: syz-executor.0 Not tainted 4.14.281-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 __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:__sanitizer_cov_trace_pc+0x23/0x50 kernel/kcov.c:68 RSP: 0018:ffff88809c997ab0 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff10 RAX: ffff88809d8d81c0 RBX: 0000000000000000 RCX: ffff8880b4909688 RDX: 0000000000000000 RSI: ffff8880b53fad10 RDI: ffff8880b490968c RBP: 0000000000000000 R08: ffffffff8b9d0f48 R09: 0000000000040417 R10: ffff88809d8d8ae8 R11: ffff88809d8d81c0 R12: dffffc0000000000 R13: ffff88808fd95b38 R14: 0000000000000000 R15: 00007f659eb67000 copy_pte_range mm/memory.c:1118 [inline] copy_pmd_range mm/memory.c:1179 [inline] copy_pud_range mm/memory.c:1213 [inline] copy_p4d_range mm/memory.c:1235 [inline] copy_page_range+0xb90/0x2630 mm/memory.c:1297 dup_mmap kernel/fork.c:709 [inline] dup_mm kernel/fork.c:1200 [inline] copy_mm kernel/fork.c:1255 [inline] copy_process.part.0+0x4df8/0x71c0 kernel/fork.c:1791 copy_process kernel/fork.c:1606 [inline] _do_fork+0x184/0xc80 kernel/fork.c:2092 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x7f659db1b6fb RSP: 002b:00007ffcd5d68850 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f659db1b6fb RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000555556bef400 R10: 0000555556bef6d0 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 00007ffcd5d68930 IPv6: ADDRCONF(NETDEV_CHANGE): lo: link becomes ready syz-executor.3 (9794) used greatest stack depth: 24984 bytes left IPv6: ADDRCONF(NETDEV_CHANGE): lo: link becomes ready syz-executor.5 (9852) used greatest stack depth: 24184 bytes left kvm: vcpu 0: requested 128 ns lapic timer period limited to 500000 ns audit: type=1804 audit(1653651831.210:6): pid=9922 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="open_writers" comm="syz-executor.5" name="/root/syzkaller-testdir4069484683/syzkaller.znW9gh/14/bus" dev="sda1" ino=13986 res=1 audit: type=1804 audit(1653651831.300:7): pid=9934 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="open_writers" comm="syz-executor.5" name="/root/syzkaller-testdir4069484683/syzkaller.znW9gh/15/bus" dev="sda1" ino=13994 res=1 audit: type=1804 audit(1653651831.300:8): pid=9936 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="open_writers" comm="syz-executor.1" name="/root/syzkaller-testdir3581453475/syzkaller.MLvJ8c/15/bus" dev="sda1" ino=13995 res=1 audit: type=1804 audit(1653651831.640:9): pid=9959 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="open_writers" comm="syz-executor.1" name="/root/syzkaller-testdir3581453475/syzkaller.MLvJ8c/16/bus" dev="sda1" ino=13994 res=1 audit: type=1804 audit(1653651831.670:10): pid=9957 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="open_writers" comm="syz-executor.5" name="/root/syzkaller-testdir4069484683/syzkaller.znW9gh/16/bus" dev="sda1" ino=13995 res=1 audit: type=1804 audit(1653651831.810:11): pid=9974 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="open_writers" comm="syz-executor.5" name="/root/syzkaller-testdir4069484683/syzkaller.znW9gh/17/bus" dev="sda1" ino=13980 res=1 kvm: vcpu 0: requested 128 ns lapic timer period limited to 500000 ns kvm: vcpu 0: requested 128 ns lapic timer period limited to 500000 ns audit: type=1804 audit(1653651832.170:12): pid=9992 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="open_writers" comm="syz-executor.1" name="/root/syzkaller-testdir3581453475/syzkaller.MLvJ8c/17/bus" dev="sda1" ino=14009 res=1 SQUASHFS error: lzo decompression failed, data probably corrupt SQUASHFS error: squashfs_read_data failed to read block 0x60 SQUASHFS error: Unable to read fragment cache entry [60] SQUASHFS error: Unable to read page, block 60, size 1f SQUASHFS error: Unable to read fragment cache entry [60] SQUASHFS error: Unable to read page, block 60, size 1f audit: type=1800 audit(1653651832.390:13): pid=9988 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed" comm="syz-executor.3" name="file1" dev="loop3" ino=5 res=0 SQUASHFS error: lzo decompression failed, data probably corrupt SQUASHFS error: squashfs_read_data failed to read block 0x60 SQUASHFS error: Unable to read fragment cache entry [60] SQUASHFS error: Unable to read page, block 60, size 1f SQUASHFS error: Unable to read fragment cache entry [60] SQUASHFS error: lzo decompression failed, data probably corrupt SQUASHFS error: Unable to read page, block 60, size 1f SQUASHFS error: squashfs_read_data failed to read block 0x60 audit: type=1800 audit(1653651832.770:14): pid=10016 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed" comm="syz-executor.3" name="file1" dev="loop3" ino=5 res=0 SQUASHFS error: Unable to read fragment cache entry [60] SQUASHFS error: Unable to read page, block 60, size 1f SQUASHFS error: Unable to read fragment cache entry [60] SQUASHFS error: Unable to read page, block 60, size 1f audit: type=1800 audit(1653651832.910:15): pid=10025 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed" comm="syz-executor.1" name="file1" dev="loop1" ino=5 res=0 kvm: vcpu 0: requested 128 ns lapic timer period limited to 500000 ns SQUASHFS error: lzo decompression failed, data probably corrupt SQUASHFS error: squashfs_read_data failed to read block 0x60 SQUASHFS error: Unable to read fragment cache entry [60] SQUASHFS error: Unable to read page, block 60, size 1f SQUASHFS error: Unable to read fragment cache entry [60] SQUASHFS error: lzo decompression failed, data probably corrupt SQUASHFS error: Unable to read page, block 60, size 1f SQUASHFS error: squashfs_read_data failed to read block 0x60 SQUASHFS error: Unable to read fragment cache entry [60] SQUASHFS error: Unable to read page, block 60, size 1f SQUASHFS error: Unable to read fragment cache entry [60] SQUASHFS error: Unable to read page, block 60, size 1f kvm: vcpu 0: requested 128 ns lapic timer period limited to 500000 ns SQUASHFS error: lzo decompression failed, data probably corrupt SQUASHFS error: lzo decompression failed, data probably corrupt SQUASHFS error: squashfs_read_data failed to read block 0x60 SQUASHFS error: squashfs_read_data failed to read block 0x60 SQUASHFS error: Unable to read fragment cache entry [60] SQUASHFS error: Unable to read page, block 60, size 1f SQUASHFS error: Unable to read fragment cache entry [60] SQUASHFS error: Unable to read page, block 60, size 1f SQUASHFS error: Unable to read fragment cache entry [60] SQUASHFS error: Unable to read page, block 60, size 1f SQUASHFS error: Unable to read fragment cache entry [60] SQUASHFS error: Unable to read page, block 60, size 1f UBIFS error (pid: 10143): cannot open "/dev/loop3", error -22 kvm: emulating exchange as write kvm: vcpu 0: requested 128 ns lapic timer period limited to 500000 ns kvm: vcpu 0: requested 128 ns lapic timer period limited to 500000 ns unregister_netdevice: waiting for ip6gre0 to become free. Usage count = -1