netlink: 24 bytes leftover after parsing attributes in process `syz-executor.5'. ================================ WARNING: inconsistent lock state 4.14.306-syzkaller #0 Not tainted -------------------------------- inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. syz-fuzzer/9920 [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: 31352 hardirqs last enabled at (31352): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (31352): [] _raw_spin_unlock_irqrestore+0x79/0xe0 kernel/locking/spinlock.c:192 hardirqs last disabled at (31351): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (31351): [] _raw_spin_lock_irqsave+0x66/0xc0 kernel/locking/spinlock.c:160 softirqs last enabled at (30626): [] tcp_recvmsg+0x66d/0x1d50 net/ipv4/tcp.c:2015 softirqs last disabled at (31063): [] invoke_softirq kernel/softirq.c:368 [inline] softirqs last disabled at (31063): [] 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 *** 1 lock held by syz-fuzzer/9920: ntfs: volume version 3.1. #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 stack backtrace: CPU: 1 PID: 9920 Comm: syz-fuzzer Not tainted 4.14.306-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/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 __ntfs_error: 1 callbacks suppressed ntfs: (device loop1): parse_options(): Unrecognized mount option trans. ntfs: (device loop1): parse_options(): Unrecognized mount option rfdno. mark_irqflags kernel/locking/lockdep.c:3072 [inline] __lock_acquire+0xc81/0x3f20 kernel/locking/lockdep.c:3448 ntfs: (device loop1): parse_options(): Unrecognized mount option wfdno. ntfs: (device loop1): parse_options(): Invalid uid option argument: 00000000000000060929 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:__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:ffff88805d6d7a98 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff10 RAX: 1ffffffff11e13db RBX: ffff888052b30300 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 0000000000000001 RDI: ffff888052b30b84 RBP: ffff8880ba534400 R08: ffffffff8b9bee18 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880ba534400 R13: ffff888093716540 R14: 0000000000000000 R15: ffff8880ba534d50 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:3386 schedule+0x8d/0x1b0 kernel/sched/core.c:3430 schedule_hrtimeout_range_clock+0x156/0x320 kernel/time/hrtimer.c:1719 ep_poll+0x85e/0xa50 fs/eventpoll.c:1827 SYSC_epoll_wait fs/eventpoll.c:2195 [inline] SyS_epoll_wait+0x150/0x1a0 fs/eventpoll.c:2160 SYSC_epoll_pwait fs/eventpoll.c:2226 [inline] SyS_epoll_pwait+0x1e9/0x230 fs/eventpoll.c:2206 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 RIP: 0033:0x467800 RSP: 002b:000000c000a337e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000119 RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 0000000000467800 RDX: 0000000000000080 RSI: 000000c000a33840 RDI: 0000000000000004 RBP: 000000c000a33e40 R08: 0000000000000000 R09: 00000031bd466844 R10: 00000000000002cf R11: 0000000000000246 R12: 000000c000a33870 R13: 0000000000000000 R14: 000000c019e75ba0 R15: 0000000000000000 unregister_netdevice: waiting for ip6gre0 to become free. Usage count = -1 ntfs: volume version 3.1. ntfs: (device loop1): parse_options(): Unrecognized mount option trans. ntfs: (device loop1): parse_options(): Unrecognized mount option rfdno. ntfs: (device loop1): parse_options(): Unrecognized mount option wfdno. ntfs: (device loop1): parse_options(): Invalid uid option argument: 00000000000000060929 FAT-fs (loop3): error, corrupted directory (invalid entries) overlayfs: failed to resolve './fil': -2 capability: warning: `syz-executor.2' uses deprecated v2 capabilities in a way that may be insecure FAT-fs (loop3): Filesystem has been set read-only raw_sendmsg: syz-executor.5 forgot to set AF_INET. Fix it! ntfs: volume version 3.1. ntfs: (device loop1): parse_options(): Unrecognized mount option trans. ntfs: (device loop1): parse_options(): Unrecognized mount option rfdno. overlayfs: failed to resolve './fil': -2 overlayfs: failed to resolve './fil': -2 overlayfs: failed to resolve './fil': -2 overlayfs: failed to resolve './fil': -2 overlayfs: failed to resolve './fil': -2 overlayfs: failed to resolve './fil': -2 overlayfs: failed to resolve './fil': -2 overlayfs: failed to resolve './fil': -2 ntfs: volume version 3.1. overlayfs: failed to resolve './fil': -2 overlayfs: failed to resolve './fil': -2 overlayfs: failed to resolve './fil': -2 overlayfs: failed to resolve './fil': -2 L1TF CPU bug present and SMT on, data leak possible. See CVE-2018-3646 and https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/l1tf.html for details. overlayfs: failed to resolve './fil': -2 overlayfs: failed to resolve './fil': -2 overlayfs: failed to resolve './fil': -2 overlayfs: failed to resolve './fil': -2 overlayfs: failed to resolve './fil': -2 ISO 9660 Extensions: Microsoft Joliet Level 0 overlayfs: failed to resolve './fil': -2 rock: corrupted directory entry. extent=32, offset=2044, size=237 overlayfs: failed to resolve './fil': -2 overlayfs: fs on './file0' does not support file handles, falling back to index=off. ISOFS: Interleaved files not (yet) supported. ISOFS: File unit size != 0 for ISO file (1856). overlayfs: failed to resolve './fil': -2 ISO 9660 Extensions: Microsoft Joliet Level 0 overlayfs: failed to resolve './fil': -2 rock: corrupted directory entry. extent=32, offset=2044, size=237 ISO 9660 Extensions: Microsoft Joliet Level 0 rock: corrupted directory entry. extent=32, offset=2044, size=237 ISO 9660 Extensions: Microsoft Joliet Level 0 rock: corrupted directory entry. extent=32, offset=2044, size=237 overlayfs: fs on './file0' does not support file handles, falling back to index=off. overlayfs: fs on './file0' does not support file handles, falling back to index=off. overlayfs: fs on './file0' does not support file handles, falling back to index=off. ISOFS: Interleaved files not (yet) supported. ISOFS: File unit size != 0 for ISO file (1856). ISOFS: Interleaved files not (yet) supported. ISOFS: Interleaved files not (yet) supported. ISOFS: File unit size != 0 for ISO file (1856). ISOFS: File unit size != 0 for ISO file (1856). ISO 9660 Extensions: Microsoft Joliet Level 0 ISO 9660 Extensions: Microsoft Joliet Level 0 ISO 9660 Extensions: Microsoft Joliet Level 0 rock: corrupted directory entry. extent=32, offset=2044, size=237 rock: corrupted directory entry. extent=32, offset=2044, size=237 rock: corrupted directory entry. extent=32, offset=2044, size=237 overlayfs: fs on './file0' does not support file handles, falling back to index=off. overlayfs: fs on './file0' does not support file handles, falling back to index=off. overlayfs: fs on './file0' does not support file handles, falling back to index=off. ISOFS: Interleaved files not (yet) supported. ISOFS: File unit size != 0 for ISO file (1856). ISOFS: Interleaved files not (yet) supported. ISOFS: Interleaved files not (yet) supported. ISOFS: File unit size != 0 for ISO file (1856). ISOFS: File unit size != 0 for ISO file (1856). ISO 9660 Extensions: Microsoft Joliet Level 0 ISO 9660 Extensions: Microsoft Joliet Level 0 rock: corrupted directory entry. extent=32, offset=2044, size=237 rock: corrupted directory entry. extent=32, offset=2044, size=237 ISO 9660 Extensions: Microsoft Joliet Level 0 rock: corrupted directory entry. extent=32, offset=2044, size=237 overlayfs: fs on './file0' does not support file handles, falling back to index=off. overlayfs: fs on './file0' does not support file handles, falling back to index=off. overlayfs: fs on './file0' does not support file handles, falling back to index=off. ISOFS: Interleaved files not (yet) supported. ISOFS: File unit size != 0 for ISO file (1856). ISOFS: Interleaved files not (yet) supported. ISOFS: Interleaved files not (yet) supported. ISOFS: File unit size != 0 for ISO file (1856). ISOFS: File unit size != 0 for ISO file (1856). XFS (loop2): Superblock has unknown read-only compatible features (0x8) enabled. XFS (loop2): Attempted to mount read-only compatible filesystem read-write. XFS (loop2): Filesystem can only be safely mounted read only. kauditd_printk_skb: 6 callbacks suppressed audit: type=1800 audit(1677092430.704:22): pid=10775 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.2" name="bus" dev="sda1" ino=14113 res=0 sg_write: data in/out 4060/21 bytes for SCSI command 0x0-- guessing data in; program syz-executor.5 not setting count and/or reply_len properly XFS (loop2): Superblock has unknown read-only compatible features (0x8) enabled. XFS (loop2): Attempted to mount read-only compatible filesystem read-write. XFS (loop2): Filesystem can only be safely mounted read only. audit: type=1800 audit(1677092432.475:23): pid=10837 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.2" name="bus" dev="sda1" ino=14054 res=0 sg_write: data in/out 4060/21 bytes for SCSI command 0x0-- guessing data in; program syz-executor.5 not setting count and/or reply_len properly