================================ WARNING: inconsistent lock state 4.19.106-syzkaller #0 Not tainted -------------------------------- inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. syz-executor.2/11597 [HC0[0]:SC1[1]:HE1:SE0] takes: 000000001fb8241e (&(&local->client_conns_lock)->rlock){+.?.}, at: spin_lock include/linux/spinlock.h:329 [inline] 000000001fb8241e (&(&local->client_conns_lock)->rlock){+.?.}, at: rxrpc_put_one_client_conn net/rxrpc/conn_client.c:949 [inline] 000000001fb8241e (&(&local->client_conns_lock)->rlock){+.?.}, at: rxrpc_put_client_conn+0x666/0xc00 net/rxrpc/conn_client.c:1002 {SOFTIRQ-ON-W} state was registered at: __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:144 spin_lock include/linux/spinlock.h:329 [inline] rxrpc_get_client_conn net/rxrpc/conn_client.c:309 [inline] rxrpc_connect_call+0x301/0x4630 net/rxrpc/conn_client.c:702 rxrpc_new_client_call+0x8c6/0x1850 net/rxrpc/call_object.c:291 rxrpc_new_client_call_for_sendmsg net/rxrpc/sendmsg.c:596 [inline] rxrpc_do_sendmsg+0xf2e/0x1bc1 net/rxrpc/sendmsg.c:652 rxrpc_sendmsg+0x4a8/0x5b0 net/rxrpc/af_rxrpc.c:593 sock_sendmsg_nosec net/socket.c:622 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:632 ___sys_sendmsg+0x3e2/0x920 net/socket.c:2115 __sys_sendmmsg+0x195/0x470 net/socket.c:2210 __do_sys_sendmmsg net/socket.c:2239 [inline] __se_sys_sendmmsg net/socket.c:2236 [inline] __x64_sys_sendmmsg+0x99/0x100 net/socket.c:2236 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe irq event stamp: 8762 hardirqs last enabled at (8762): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (8762): [] _raw_spin_unlock_irqrestore+0x67/0xe0 kernel/locking/spinlock.c:184 hardirqs last disabled at (8761): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (8761): [] _raw_spin_lock_irqsave+0x66/0xbf kernel/locking/spinlock.c:152 softirqs last enabled at (6556): [] __do_softirq+0x650/0x93c kernel/softirq.c:318 softirqs last disabled at (8665): [] invoke_softirq kernel/softirq.c:372 [inline] softirqs last disabled at (8665): [] irq_exit+0x17b/0x1c0 kernel/softirq.c:412 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-executor.2/11597: #0: 00000000514e4170 (rcu_callback){....}, at: __rcu_reclaim kernel/rcu/rcu.h:226 [inline] #0: 00000000514e4170 (rcu_callback){....}, at: rcu_do_batch kernel/rcu/tree.c:2584 [inline] #0: 00000000514e4170 (rcu_callback){....}, at: invoke_rcu_callbacks kernel/rcu/tree.c:2897 [inline] #0: 00000000514e4170 (rcu_callback){....}, at: __rcu_process_callbacks kernel/rcu/tree.c:2864 [inline] #0: 00000000514e4170 (rcu_callback){....}, at: rcu_process_callbacks+0xbff/0x17f0 kernel/rcu/tree.c:2881 stack backtrace: CPU: 1 PID: 11597 Comm: syz-executor.2 Not tainted 4.19.106-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x188/0x20d lib/dump_stack.c:118 print_usage_bug.cold+0x327/0x425 kernel/locking/lockdep.c:2540 valid_state kernel/locking/lockdep.c:2553 [inline] mark_lock_irq kernel/locking/lockdep.c:2747 [inline] mark_lock+0xc71/0x11b0 kernel/locking/lockdep.c:3127 mark_irqflags kernel/locking/lockdep.c:3005 [inline] __lock_acquire+0xc62/0x49c0 kernel/locking/lockdep.c:3368 lock_acquire+0x170/0x400 kernel/locking/lockdep.c:3903 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:144 spin_lock include/linux/spinlock.h:329 [inline] rxrpc_put_one_client_conn net/rxrpc/conn_client.c:949 [inline] rxrpc_put_client_conn+0x666/0xc00 net/rxrpc/conn_client.c:1002 rxrpc_put_connection net/rxrpc/ar-internal.h:951 [inline] rxrpc_rcu_destroy_call+0xb6/0x1e0 net/rxrpc/call_object.c:657 __rcu_reclaim kernel/rcu/rcu.h:236 [inline] rcu_do_batch kernel/rcu/tree.c:2584 [inline] invoke_rcu_callbacks kernel/rcu/tree.c:2897 [inline] __rcu_process_callbacks kernel/rcu/tree.c:2864 [inline] rcu_process_callbacks+0xb2d/0x17f0 kernel/rcu/tree.c:2881 __do_softirq+0x26c/0x93c kernel/softirq.c:292 invoke_softirq kernel/softirq.c:372 [inline] irq_exit+0x17b/0x1c0 kernel/softirq.c:412 exiting_irq arch/x86/include/asm/apic.h:544 [inline] smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1094 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:893 RIP: 0010:unwind_next_frame+0x930/0x18a0 arch/x86/kernel/unwind_orc.c:412 Code: 0a 00 00 48 8b 40 60 48 89 44 24 60 e9 e5 fa ff ff 49 8d 7f 40 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 <0f> 85 dd 0a 00 00 48 89 c8 49 8b 57 40 48 be 00 00 00 00 00 fc ff RSP: 0018:ffff88820954f720 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: dffffc0000000000 RBX: 1ffff110412a9eec RCX: ffffffff89ed0fb8 RDX: 1ffff110412a9f07 RSI: 0000000000000000 RDI: ffff88820954f838 RBP: 0000000000000001 R08: ffffffff89ed0fbc R09: 0000000000000001 R10: 000000000000c95c R11: 0000000000064071 R12: ffff88820954f840 R13: ffff88820954f82d R14: ffff88820954f830 R15: ffff88820954f7f8 __save_stack_trace+0x7a/0xf0 arch/x86/kernel/stacktrace.c:44 save_stack+0x32/0xa0 mm/kasan/kasan.c:448 set_track mm/kasan/kasan.c:460 [inline] kasan_kmalloc mm/kasan/kasan.c:553 [inline] kasan_kmalloc+0xbf/0xe0 mm/kasan/kasan.c:531 kmem_cache_alloc+0x127/0x710 mm/slab.c:3559 alloc_pid+0x53/0x900 kernel/pid.c:168 copy_process.part.0+0x3b16/0x7a60 kernel/fork.c:1911 copy_process kernel/fork.c:1694 [inline] _do_fork+0x22f/0xf40 kernel/fork.c:2207 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45ee49 Code: ff 48 85 f6 0f 84 d7 8c fb ff 48 83 ee 10 48 89 4e 08 48 89 3e 48 89 d7 4c 89 c2 4d 89 c8 4c 8b 54 24 08 b8 38 00 00 00 0f 05 <48> 85 c0 0f 8c ae 8c fb ff 74 01 c3 31 ed 48 f7 c7 00 00 01 00 75 RSP: 002b:00007fff6e856ca8 EFLAGS: 00000202 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007f1e769fa700 RCX: 000000000045ee49 RDX: 00007f1e769fa9d0 RSI: 00007f1e769f9db0 RDI: 00000000003d0f00 RBP: 00007fff6e856ec0 R08: 00007f1e769fa700 R09: 00007f1e769fa700 R10: 00007f1e769fa9d0 R11: 0000000000000202 R12: 0000000000000000 R13: 00007fff6e856d5f R14: 0000000000020000 R15: 0000000001011b70 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=1546 sclass=netlink_route_socket pig=12837 comm=syz-executor.3 syz-executor.3 invoked oom-killer: gfp_mask=0x7080c0(GFP_KERNEL_ACCOUNT|__GFP_ZERO), nodemask=(null), order=3, oom_score_adj=1000 overlayfs: conflicting lowerdir path syz-executor.3 cpuset=syz3 mems_allowed=0-1 overlayfs: workdir and upperdir must reside under the same mount CPU: 1 PID: 12836 Comm: syz-executor.3 Not tainted 4.19.106-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x188/0x20d lib/dump_stack.c:118 dump_header+0x159/0xa5e mm/oom_kill.c:441 oom_kill_process.cold+0x10/0x6dc mm/oom_kill.c:954 out_of_memory mm/oom_kill.c:1130 [inline] out_of_memory+0x349/0x1250 mm/oom_kill.c:1062 mem_cgroup_out_of_memory+0x1c7/0x240 mm/memcontrol.c:1416 mem_cgroup_oom mm/memcontrol.c:1742 [inline] try_charge+0xe22/0x1300 mm/memcontrol.c:2313 memcg_kmem_charge_memcg+0x7b/0x150 mm/memcontrol.c:2643 memcg_kmem_charge+0x132/0x360 mm/memcontrol.c:2686 __alloc_pages_nodemask+0x396/0x6a0 mm/page_alloc.c:4421 __alloc_pages include/linux/gfp.h:496 [inline] __alloc_pages_node include/linux/gfp.h:509 [inline] alloc_pages_node include/linux/gfp.h:523 [inline] alloc_thread_stack_node kernel/fork.c:240 [inline] dup_task_struct kernel/fork.c:811 [inline] copy_process.part.0+0x3d6/0x7a60 kernel/fork.c:1737 copy_process kernel/fork.c:1694 [inline] _do_fork+0x22f/0xf40 kernel/fork.c:2207 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45ee49 Code: ff 48 85 f6 0f 84 d7 8c fb ff 48 83 ee 10 48 89 4e 08 48 89 3e 48 89 d7 4c 89 c2 4d 89 c8 4c 8b 54 24 08 b8 38 00 00 00 0f 05 <48> 85 c0 0f 8c ae 8c fb ff 74 01 c3 31 ed 48 f7 c7 00 00 01 00 75 RSP: 002b:00007fffff0db6c8 EFLAGS: 00000202 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007f5d434d4700 RCX: 000000000045ee49 RDX: 00007f5d434d49d0 RSI: 00007f5d434d3db0 RDI: 00000000003d0f00 RBP: 00007fffff0db8e0 R08: 00007f5d434d4700 R09: 00007f5d434d4700 R10: 00007f5d434d49d0 R11: 0000000000000202 R12: 0000000000000000 R13: 00007fffff0db77f R14: 0000000000020000 R15: 000000000145ab70 Task in /syz3 killed as a result of limit of /syz3 memory: usage 306008kB, limit 307200kB, failcnt 286 memory+swap: usage 0kB, limit 9007199254740988kB, failcnt 0 kmem: usage 0kB, limit 9007199254740988kB, failcnt 0 Memory cgroup stats for /syz3: cache:0KB rss:265976KB rss_huge:262144KB shmem:0KB mapped_file:0KB dirty:0KB writeback:0KB swap:0KB inactive_anon:0KB active_anon:266060KB inactive_file:0KB active_file:0KB unevictable:0KB Memory cgroup out of memory: Kill process 9795 (syz-executor.3) score 1147 or sacrifice child overlayfs: conflicting lowerdir path Killed process 9795 (syz-executor.3) total-vm:74700kB, anon-rss:12444kB, file-rss:35832kB, shmem-rss:0kB overlayfs: workdir and upperdir must reside under the same mount SELinux: unrecognized netlink message: protocol=0 nlmsg_type=1546 sclass=netlink_route_socket pig=12837 comm=syz-executor.3 overlayfs: unrecognized mount option "workir=./file1\" or missing value overlayfs: failed to resolve './file4': -2 overlayfs: unrecognized mount option "workir=./file1\" or missing value overlayfs: failed to resolve './file4': -2 overlayfs: conflicting lowerdir path overlayfs: unrecognized mount option "upir=./file0" or missing value overlayfs: workdir and upperdir must reside under the same mount SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=13452 comm=syz-executor.3 overlayfs: conflicting lowerdir path IPVS: Error connecting to the multicast addr IPVS: Error connecting to the multicast addr SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=13845 comm=syz-executor.1 overlayfs: workdir and upperdir must reside under the same mount overlayfs: unrecognized mount option "" or missing value overlayfs: unrecognized mount option "" or missing value audit: type=1800 audit(1582824106.468:192): pid=13973 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=collect_data cause=failed(directio) comm="syz-executor.0" name="file0" dev="sda1" ino=17249 res=0 audit: type=1804 audit(1582824106.478:193): pid=13973 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir222546047/syzkaller.9ElfLn/564/file0/file0" dev="sda1" ino=17249 res=1 overlayfs: conflicting lowerdir path overlayfs: conflicting lowerdir path overlayfs: failed to resolve './file1': -2 overlayfs: conflicting lowerdir path overlayfs: conflicting lowerdir path overlayfs: workdir and upperdir must reside under the same mount overlayfs: upperdir is in-use as upperdir/workdir of another mount, mount with '-o index=off' to override exclusive upperdir protection. audit: type=1800 audit(1582824107.228:194): pid=14654 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=collect_data cause=failed(directio) comm="syz-executor.3" name="file0" dev="sda1" ino=17311 res=0 audit: type=1804 audit(1582824107.258:195): pid=14654 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=invalid_pcr cause=open_writers comm="syz-executor.3" name="/root/syzkaller-testdir299532807/syzkaller.95Rymh/690/file0" dev="sda1" ino=17311 res=1 device veth506 entered promiscuous mode overlayfs: failed to resolve '¡˜0eÏô': -2 overlayfs: conflicting lowerdir path overlayfs: failed to resolve '¡˜0eÏô': -2 overlayfs: workdir and upperdir must reside under the same mount overlayfs: unrecognized mount option "uÜÀ@Ëù©~£='ééµpperdir=./file0" or missing value overlayfs: missing 'workdir' overlayfs: unrecognized mount option "uÜÀ@Ëù©~£='ééµpperdir=./file0" or missing value overlayfs: missing 'workdir' SELinux: unrecognized netlink message: protocol=9 nlmsg_type=16 sclass=netlink_audit_socket pig=15310 comm=syz-executor.3 SELinux: unrecognized netlink message: protocol=9 nlmsg_type=16 sclass=netlink_audit_socket pig=15310 comm=syz-executor.3 overlayfs: conflicting lowerdir path overlayfs: conflicting lowerdir path overlayfs: workdir and upperdir must reside under the same mount overlayfs: upperdir is in-use as upperdir/workdir of another mount, mount with '-o index=off' to override exclusive upperdir protection. audit: type=1800 audit(1582824108.218:196): pid=15590 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=collect_data cause=failed(directio) comm="syz-executor.0" name="file0" dev="sda1" ino=17249 res=0 audit: type=1804 audit(1582824108.218:197): pid=15590 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir222546047/syzkaller.9ElfLn/570/file0" dev="sda1" ino=17249 res=1 overlayfs: failed to resolve './ƒile0': -2 audit: type=1804 audit(1582824108.218:198): pid=15590 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir222546047/syzkaller.9ElfLn/570/file0" dev="sda1" ino=17249 res=1 overlayfs: failed to resolve './ƒile0': -2 audit: type=1804 audit(1582824108.218:199): pid=15590 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir222546047/syzkaller.9ElfLn/570/file0" dev="sda1" ino=17249 res=1 overlayfs: unrecognized mount option "upper./file0" or missing value overlayfs: unrecognized mount option "upper./file0" or missing value netlink: 24 bytes leftover after parsing attributes in process `syz-executor.3'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.3'. audit: type=1400 audit(1582824108.668:200): avc: denied { map } for pid=15960 comm="syz-executor.5" path="/dev/dlm-control" dev="devtmpfs" ino=17190 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:device_t:s0 tclass=chr_file permissive=1 overlayfs: conflicting lowerdir path overlayfs: failed to resolve '9/file0': -2 overlayfs: workdir and upperdir must reside under the same mount audit: type=1800 audit(1582824108.808:201): pid=15990 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=collect_data cause=failed(directio) comm="syz-executor.3" name="file0" dev="sda1" ino=17366 res=0 overlayfs: failed to resolve './file1': -2 overlayfs: conflicting lowerdir path overlayfs: workdir and upperdir must reside under the same mount overlayfs: conflicting lowerdir path overlayfs: workdir and upperdir must reside under the same mount ptrace attach of "/root/syz-executor.0"[8095] was attempted by "/root/syz-executor.0"[16424] ptrace attach of "/root/syz-executor.0"[8095] was attempted by "/root/syz-executor.0"[16432] overlayfs: unrecognized mount option "lo" or missing value overlayfs: conflicting lowerdir path overlayfs: workdir and upperdir must reside under the same mount overlayfs: missing 'lowerdir' SELinux: security_context_str_to_sid(unconfined_u) failed for (dev bpf, type bpf) errno=-22 overlayfs: missing 'lowerdir' SELinux: security_context_str_to_sid(unconfined_u) failed for (dev bpf, type bpf) errno=-22 overlayfs: conflicting lowerdir path overlayfs: workdir and upperdir must reside under the same mount ptrace attach of "/root/syz-executor.1"[8098] was attempted by "/root/syz-executor.1"[16982] overlayfs: conflicting lowerdir path overlayfs: workdir and upperdir must reside under the same mount overlayfs: conflicting lowerdir path overlayfs: conflicting lowerdir path ptrace attach of "/root/syz-executor.1"[8098] was attempted by "/root/syz-executor.1"[17422] overlayfs: conflicting lowerdir path overlayfs: workdir and upperdir must reside under the same mount netlink: 20 bytes leftover after parsing attributes in process `syz-executor.3'. ptrace attach of "/root/syz-executor.1"[8098] was attempted by "/root/syz-executor.1"[17644] netlink: 20 bytes leftover after parsing attributes in process `syz-executor.3'. overlayfs: conflicting lowerdir path overlayfs: workdir and upperdir must reside under the same mount SELinux: unrecognized netlink message: protocol=0 nlmsg_type=57344 sclass=netlink_route_socket pig=17758 comm=syz-executor.3 ptrace attach of "/root/syz-executor.1"[8098] was attempted by "/root/syz-executor.1"[17756] SELinux: unrecognized netlink message: protocol=0 nlmsg_type=57344 sclass=netlink_route_socket pig=17758 comm=syz-executor.3