ip_tables: iptables: counters copy to user failed while replacing table attempt to access beyond end of device loop3: rw=2049, want=155, limit=64 overlayfs: missing 'lowerdir' ============================= 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 4 locks held by syz-executor.0/10859: #0: (&type->s_umount_key#51/1){+.+.}, at: [] alloc_super fs/super.c:251 [inline] #0: (&type->s_umount_key#51/1){+.+.}, at: [] sget_userns+0x556/0xc10 fs/super.c:516 #1: (console_lock){+.+.}, at: [] vprintk_func+0x58/0x160 kernel/printk/printk_safe.c:409 #2: (rcu_callback){....}, at: [] __rcu_reclaim kernel/rcu/rcu.h:185 [inline] #2: (rcu_callback){....}, at: [] rcu_do_batch kernel/rcu/tree.c:2699 [inline] #2: (rcu_callback){....}, at: [] invoke_rcu_callbacks kernel/rcu/tree.c:2962 [inline] #2: (rcu_callback){....}, at: [] __rcu_process_callbacks kernel/rcu/tree.c:2929 [inline] #2: (rcu_callback){....}, at: [] rcu_process_callbacks+0x84e/0x1180 kernel/rcu/tree.c:2946 #3: (&(&inst->lock)->rlock){+.-.}, at: [] spin_lock_bh include/linux/spinlock.h:322 [inline] #3: (&(&inst->lock)->rlock){+.-.}, at: [] nfqnl_flush+0x2f/0x2a0 net/netfilter/nfnetlink_queue.c:232 stack backtrace: CPU: 1 PID: 10859 Comm: syz-executor.0 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 __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:arch_local_irq_restore arch/x86/include/asm/paravirt.h:779 [inline] RIP: 0010:console_unlock+0xbeb/0xf20 kernel/printk/printk.c:2417 RSP: 0018:ffff8880573179c8 EFLAGS: 00000216 ORIG_RAX: ffffffffffffff10 RAX: 0000000000040000 RBX: 0000000000000200 RCX: ffffc90005eef000 RDX: 000000000000f4cb RSI: ffffffff81440094 RDI: 0000000000000216 RBP: 0000000000000000 R08: ffffffff8b9b4e40 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff83d27820 R13: ffffffff89620e90 R14: dffffc0000000000 R15: 000000000000002d vprintk_emit+0x224/0x620 kernel/printk/printk.c:1925 vprintk_func+0x58/0x160 kernel/printk/printk_safe.c:409 printk+0x9e/0xbc kernel/printk/printk.c:1998 ovl_fill_super.cold+0x68/0x4a6 fs/overlayfs/super.c:872 mount_nodev+0x4c/0xf0 fs/super.c:1180 mount_fs+0x92/0x2a0 fs/super.c:1237 vfs_kern_mount.part.0+0x5b/0x470 fs/namespace.c:1046 vfs_kern_mount fs/namespace.c:1036 [inline] do_new_mount fs/namespace.c:2572 [inline] do_mount+0xe65/0x2a30 fs/namespace.c:2905 SYSC_mount fs/namespace.c:3121 [inline] SyS_mount+0xa8/0x120 fs/namespace.c:3098 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x7f366d30f0e9 RSP: 002b:00007f366bc63168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f366d422030 RCX: 00007f366d30f0e9 RDX: 00000000200001c0 RSI: 0000000020000180 RDI: 0000000000000000 RBP: 00007f366d36908d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000204401 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffeba2057af R14: 00007f366bc63300 R15: 0000000000022000 Buffer I/O error on dev loop3, logical block 154, lost async page write attempt to access beyond end of device Process accounting resumed loop3: rw=2049, want=153, limit=64 attempt to access beyond end of device loop3: rw=2049, want=154, limit=64 attempt to access beyond end of device loop3: rw=2049, want=156, limit=64 attempt to access beyond end of device loop3: rw=2049, want=157, limit=64 attempt to access beyond end of device loop3: rw=2049, want=158, limit=64 attempt to access beyond end of device loop3: rw=2049, want=159, limit=64 attempt to access beyond end of device loop3: rw=2049, want=160, limit=64 attempt to access beyond end of device loop3: rw=2049, want=161, limit=64 attempt to access beyond end of device loop3: rw=2049, want=162, limit=64 attempt to access beyond end of device loop3: rw=2049, want=258, limit=64 netlink: 12 bytes leftover after parsing attributes in process `syz-executor.1'. ip_tables: iptables: counters copy to user failed while replacing table overlayfs: missing 'lowerdir' audit: type=1804 audit(1653072975.483:35): pid=10900 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="open_writers" comm="syz-executor.3" name="/root/syzkaller-testdir1888088591/syzkaller.oA9qjM/50/file0/bus" dev="loop3" ino=29 res=1 netlink: 12 bytes leftover after parsing attributes in process `syz-executor.1'. netlink: 12 bytes leftover after parsing attributes in process `syz-executor.2'. ip_tables: iptables: counters copy to user failed while replacing table audit: type=1804 audit(1653072975.513:36): pid=10900 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="ToMToU" comm="syz-executor.3" name="/root/syzkaller-testdir1888088591/syzkaller.oA9qjM/50/file0/bus" dev="loop3" ino=29 res=1 ip_tables: iptables: counters copy to user failed while replacing table attempt to access beyond end of device netlink: 12 bytes leftover after parsing attributes in process `syz-executor.2'. loop3: rw=2049, want=193, limit=64 netlink: 12 bytes leftover after parsing attributes in process `syz-executor.1'. attempt to access beyond end of device ip_tables: iptables: counters copy to user failed while replacing table ip_tables: iptables: counters copy to user failed while replacing table loop3: rw=2049, want=185, limit=64 Process accounting resumed attempt to access beyond end of device loop3: rw=2049, want=186, limit=64 attempt to access beyond end of device loop3: rw=2049, want=187, limit=64 attempt to access beyond end of device netlink: 12 bytes leftover after parsing attributes in process `syz-executor.2'. loop3: rw=2049, want=188, limit=64 attempt to access beyond end of device loop3: rw=2049, want=189, limit=64 ip_tables: iptables: counters copy to user failed while replacing table attempt to access beyond end of device loop3: rw=2049, want=190, limit=64 attempt to access beyond end of device loop3: rw=2049, want=191, limit=64 attempt to access beyond end of device loop3: rw=2049, want=192, limit=64 attempt to access beyond end of device loop3: rw=2049, want=194, limit=64 attempt to access beyond end of device loop3: rw=2049, want=258, limit=64 audit: type=1800 audit(1653072976.373:37): pid=10949 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.1" name="bus" dev="sda1" ino=14066 res=0 audit: type=1804 audit(1653072976.433:38): pid=10955 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="open_writers" comm="syz-executor.3" name="/root/syzkaller-testdir1888088591/syzkaller.oA9qjM/51/file0/bus" dev="loop3" ino=31 res=1 overlayfs: missing 'lowerdir' audit: type=1804 audit(1653072976.473:39): pid=10955 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="ToMToU" comm="syz-executor.3" name="/root/syzkaller-testdir1888088591/syzkaller.oA9qjM/51/file0/bus" dev="loop3" ino=31 res=1 attempt to access beyond end of device loop3: rw=2049, want=160, limit=64 audit: type=1800 audit(1653072976.623:40): pid=10978 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.1" name="bus" dev="sda1" ino=14076 res=0 attempt to access beyond end of device loop3: rw=2049, want=153, limit=64 attempt to access beyond end of device loop3: rw=2049, want=154, limit=64 attempt to access beyond end of device loop3: rw=2049, want=155, limit=64 attempt to access beyond end of device loop3: rw=2049, want=156, limit=64 attempt to access beyond end of device loop3: rw=2049, want=157, limit=64 overlayfs: missing 'lowerdir' attempt to access beyond end of device loop3: rw=2049, want=158, limit=64 attempt to access beyond end of device loop3: rw=2049, want=159, limit=64 attempt to access beyond end of device loop3: rw=2049, want=161, limit=64 attempt to access beyond end of device loop3: rw=2049, want=162, limit=64 attempt to access beyond end of device loop3: rw=2049, want=258, limit=64 Process accounting resumed Process accounting resumed unregister_netdevice: waiting for ip6gre0 to become free. Usage count = -1 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. input: syz0 as /devices/virtual/input/input5 kvm: emulating exchange as write Dev loop2: unable to read RDB block 1 loop2: unable to read partition table loop2: partition table beyond EOD, truncated loop_reread_partitions: partition scan of loop2 () failed (rc=-5) Dev loop2: unable to read RDB block 1 loop2: unable to read partition table loop2: partition table beyond EOD, truncated Dev loop4: unable to read RDB block 1 Dev loop5: unable to read RDB block 1 loop5: unable to read partition table loop5: partition table beyond EOD, truncated loop_reread_partitions: partition scan of loop2 () failed (rc=-5) loop_reread_partitions: partition scan of loop5 () failed (rc=-5) loop4: unable to read partition table loop4: partition table beyond EOD, truncated loop_reread_partitions: partition scan of loop4 () failed (rc=-5) Dev loop2: unable to read RDB block 1 loop2: unable to read partition table loop2: partition table beyond EOD, truncated loop_reread_partitions: partition scan of loop2 () failed (rc=-5) Dev loop2: unable to read RDB block 1 Dev loop5: unable to read RDB block 1 loop5: unable to read partition table loop5: partition table beyond EOD, truncated loop2: unable to read partition table loop_reread_partitions: partition scan of loop5 () failed (rc=-5) loop2: partition table beyond EOD, truncated Dev loop4: unable to read RDB block 1 loop4: unable to read partition table loop4: partition table beyond EOD, truncated loop_reread_partitions: partition scan of loop4 () failed (rc=-5) Dev loop4: unable to read RDB block 1 loop4: unable to read partition table loop4: partition table beyond EOD, truncated Dev loop2: unable to read RDB block 1 Dev loop5: unable to read RDB block 1 loop5: unable to read partition table loop2: unable to read partition table loop5: partition table beyond EOD, truncated loop_reread_partitions: partition scan of loop5 () failed (rc=-5) loop2: partition table beyond EOD, truncated loop_reread_partitions: partition scan of loop2 () failed (rc=-5) Dev loop4: unable to read RDB block 1 loop4: unable to read partition table loop4: partition table beyond EOD, truncated loop_reread_partitions: partition scan of loop4 () failed (rc=-5) FAT-fs (loop4): Directory bread(block 6) failed FAT-fs (loop4): error, corrupted directory (invalid entries) FAT-fs (loop4): Filesystem has been set read-only FAT-fs (loop4): error, corrupted directory (invalid entries) FAT-fs (loop4): Directory bread(block 6) failed FAT-fs (loop4): Directory bread(block 6) failed nla_parse: 1 callbacks suppressed netlink: 24 bytes leftover after parsing attributes in process `syz-executor.1'. netlink: 28 bytes leftover after parsing attributes in process `syz-executor.1'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.1'. netlink: 28 bytes leftover after parsing attributes in process `syz-executor.1'.