netlink: 16 bytes leftover after parsing attributes in process `syz-executor.0'. ================================ WARNING: inconsistent lock state 4.14.307-syzkaller #0 Not tainted -------------------------------- inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. syz-executor.4/12427 [HC0[0]:SC1[1]:HE1:SE0] takes: (&(&local->client_conns_lock)->rlock){+.?.}, at: [] spin_lock include/linux/spinlock.h:317 [inline] (&(&local->client_conns_lock)->rlock){+.?.}, at: [] rxrpc_put_one_client_conn net/rxrpc/conn_client.c:905 [inline] (&(&local->client_conns_lock)->rlock){+.?.}, at: [] rxrpc_put_client_conn+0x661/0xac0 net/rxrpc/conn_client.c:957 {SOFTIRQ-ON-W} state was registered at: lock_acquire+0x170/0x3f0 kernel/locking/lockdep.c:3998 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:152 spin_lock include/linux/spinlock.h:317 [inline] rxrpc_get_client_conn net/rxrpc/conn_client.c:306 [inline] rxrpc_connect_call+0x2bb/0x3e10 net/rxrpc/conn_client.c:692 rxrpc_new_client_call+0x8f4/0x1a10 net/rxrpc/call_object.c:276 rxrpc_new_client_call_for_sendmsg net/rxrpc/sendmsg.c:531 [inline] rxrpc_do_sendmsg+0x8dc/0xfb0 net/rxrpc/sendmsg.c:583 rxrpc_sendmsg+0x3cf/0x5f0 net/rxrpc/af_rxrpc.c:543 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xb5/0x100 net/socket.c:656 ___sys_sendmsg+0x6c8/0x800 net/socket.c:2062 __sys_sendmsg+0xa3/0x120 net/socket.c:2096 SYSC_sendmsg net/socket.c:2107 [inline] SyS_sendmsg+0x27/0x40 net/socket.c:2103 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 irq event stamp: 31004 hardirqs last enabled at (31004): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (31004): [] _raw_spin_unlock_irqrestore+0x79/0xe0 kernel/locking/spinlock.c:192 hardirqs last disabled at (31003): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (31003): [] _raw_spin_lock_irqsave+0x66/0xc0 kernel/locking/spinlock.c:160 softirqs last enabled at (28196): [] __do_softirq+0x68b/0x9ff kernel/softirq.c:314 softirqs last disabled at (30951): [] invoke_softirq kernel/softirq.c:368 [inline] softirqs last disabled at (30951): [] irq_exit+0x193/0x240 kernel/softirq.c:409 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(&(&local->client_conns_lock)->rlock); lock(&(&local->client_conns_lock)->rlock); *** DEADLOCK *** 2 locks held by syz-executor.4/12427: #0: (sb_writers#3){.+.+}, at: [] file_start_write include/linux/fs.h:2714 [inline] #0: (sb_writers#3){.+.+}, at: [] do_sendfile+0x84f/0xb30 fs/read_write.c:1440 #1: (rcu_callback){....}, at: [] __rcu_reclaim kernel/rcu/rcu.h:185 [inline] #1: (rcu_callback){....}, at: [] rcu_do_batch kernel/rcu/tree.c:2699 [inline] #1: (rcu_callback){....}, at: [] invoke_rcu_callbacks kernel/rcu/tree.c:2962 [inline] #1: (rcu_callback){....}, at: [] __rcu_process_callbacks kernel/rcu/tree.c:2929 [inline] #1: (rcu_callback){....}, at: [] rcu_process_callbacks+0x84e/0x1180 kernel/rcu/tree.c:2946 stack backtrace: CPU: 0 PID: 12427 Comm: syz-executor.4 Not tainted 4.14.307-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 lib/dump_stack.c:58 print_usage_bug.cold+0x42e/0x570 kernel/locking/lockdep.c:2589 valid_state kernel/locking/lockdep.c:2602 [inline] mark_lock_irq kernel/locking/lockdep.c:2796 [inline] mark_lock+0xb4d/0x1050 kernel/locking/lockdep.c:3194 mark_irqflags kernel/locking/lockdep.c:3072 [inline] __lock_acquire+0xc81/0x3f20 kernel/locking/lockdep.c:3448 lock_acquire+0x170/0x3f0 kernel/locking/lockdep.c:3998 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:152 spin_lock include/linux/spinlock.h:317 [inline] rxrpc_put_one_client_conn net/rxrpc/conn_client.c:905 [inline] rxrpc_put_client_conn+0x661/0xac0 net/rxrpc/conn_client.c:957 rxrpc_put_connection net/rxrpc/ar-internal.h:862 [inline] rxrpc_rcu_destroy_call+0x83/0x190 net/rxrpc/call_object.c:653 __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:796 RIP: 0010:generic_file_buffered_read mm/filemap.c:2098 [inline] RIP: 0010:generic_file_read_iter+0x97f/0x21c0 mm/filemap.c:2273 RSP: 0018:ffff888056a9f9b0 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff10 RAX: 1ffffd40004383d4 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: 000000000000062a RSI: 0000000000000009 RDI: ffff8880b33345f4 RBP: ffffea00021c1e80 R08: 0000000000000000 R09: 0000000000000001 R10: ffff888099b4ce10 R11: ffff8880584bc040 R12: ffff88808e1dab40 R13: 0000000000001000 R14: ffffea00021c1ea0 R15: 0000000000001000 ext4_file_read_iter+0x14b/0x330 fs/ext4/file.c:76 call_read_iter include/linux/fs.h:1774 [inline] generic_file_splice_read+0x3a7/0x5c0 fs/splice.c:307 do_splice_to+0xfb/0x140 fs/splice.c:880 splice_direct_to_actor+0x207/0x730 fs/splice.c:952 do_splice_direct+0x164/0x210 fs/splice.c:1061 do_sendfile+0x47f/0xb30 fs/read_write.c:1441 SYSC_sendfile64 fs/read_write.c:1502 [inline] SyS_sendfile64+0xff/0x110 fs/read_write.c:1488 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 RIP: 0033:0x7f9fe0b0b0f9 RSP: 002b:00007f9fdf01a168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f9fe0c2b1f0 RCX: 00007f9fe0b0b0f9 RDX: 0000000000000000 RSI: 000000000000000a RDI: 0000000000000009 RBP: 00007f9fe0b66ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0001000000201005 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff446103af R14: 00007f9fdf01a300 R15: 0000000000022000 RDS: rds_bind could not find a transport for 172.30.0.6, load rds_tcp or rds_rdma? netlink: 32 bytes leftover after parsing attributes in process `syz-executor.0'. RDS: rds_bind could not find a transport for 172.30.0.6, load rds_tcp or rds_rdma? RDS: rds_bind could not find a transport for 172.30.0.6, load rds_tcp or rds_rdma? RDS: rds_bind could not find a transport for 172.30.0.6, load rds_tcp or rds_rdma? usb usb1: usbfs: process 12605 (syz-executor.5) did not claim interface 0 before use usb usb1: usbfs: process 12615 (syz-executor.5) did not claim interface 0 before use usb usb1: usbfs: process 12637 (syz-executor.5) did not claim interface 0 before use usb usb1: usbfs: process 12654 (syz-executor.5) did not claim interface 0 before use EXT4-fs (loop5): 1 truncate cleaned up EXT4-fs (loop5): mounted filesystem without journal. Opts: delalloc,noblock_validity,grpjquota=,barrier=0x00000000000000,norecovery,jqfmt=vfsv1,noinit_itable,bsddf,nobarrier,,errors=continue F2FS-fs (loop3): Found nat_bits in checkpoint F2FS-fs (loop3): Mounted with checkpoint version = 48b305e5 attempt to access beyond end of device loop3: rw=1, want=45104, limit=40427 F2FS-fs (loop3): Found nat_bits in checkpoint F2FS-fs (loop3): Mounted with checkpoint version = 48b305e5 attempt to access beyond end of device loop3: rw=1, want=45104, limit=40427 F2FS-fs (loop3): Found nat_bits in checkpoint F2FS-fs (loop3): Mounted with checkpoint version = 48b305e5 attempt to access beyond end of device loop3: rw=1, want=45104, limit=40427 xt_cgroup: invalid path, errno=-2 xt_cgroup: invalid path, errno=-2 xt_cgroup: invalid path, errno=-2 xt_cgroup: invalid path, errno=-2 F2FS-fs (loop3): Found nat_bits in checkpoint F2FS-fs (loop3): Mounted with checkpoint version = 48b305e5 attempt to access beyond end of device loop3: rw=1, want=45104, limit=40427 EXT4-fs (loop3): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop5): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop3): mounted filesystem without journal. Opts: ,errors=continue caif:caif_disconnect_client(): nothing to disconnect caif:caif_disconnect_client(): nothing to disconnect EXT4-fs (loop5): mounted filesystem without journal. Opts: ,errors=continue caif:caif_disconnect_client(): nothing to disconnect caif:caif_disconnect_client(): nothing to disconnect EXT4-fs (loop3): mounted filesystem without journal. Opts: ,errors=continue REISERFS (device loop1): found reiserfs format "3.6" with non-standard journal REISERFS (device loop1): using ordered data mode EXT4-fs (loop5): mounted filesystem without journal. Opts: ,errors=continue reiserfs: using flush barriers hub 9-0:1.0: USB hub found hub 9-0:1.0: 8 ports detected REISERFS (device loop1): journal params: device loop1, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 EXT4-fs (loop3): mounted filesystem without journal. Opts: ,errors=continue