Warning: Permanently added '10.128.0.155' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program syzkaller login: [ 74.725648][ C0] [ 74.728057][ C0] ================================ [ 74.733144][ C0] WARNING: inconsistent lock state [ 74.738229][ C0] 5.9.0-rc8-next-20201008-syzkaller #0 Not tainted [ 74.744710][ C0] -------------------------------- [ 74.749810][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 74.756644][ C0] ksoftirqd/0/9 [HC0[0]:SC1[1]:HE0:SE0] takes: [ 74.762782][ C0] ffff88801a0d6e18 (&xa->xa_lock#7){+.?.}-{2:2}, at: xa_destroy+0xaa/0x350 [ 74.771373][ C0] {SOFTIRQ-ON-W} state was registered at: [ 74.777100][ C0] lock_acquire+0x1f2/0xaa0 [ 74.781674][ C0] _raw_spin_lock+0x2a/0x40 [ 74.786257][ C0] io_uring_add_task_file+0x207/0x430 [ 74.791735][ C0] io_uring_setup+0x2727/0x3660 [ 74.796655][ C0] do_syscall_64+0x2d/0x70 [ 74.802115][ C0] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 74.808066][ C0] irq event stamp: 318215 [ 74.812374][ C0] hardirqs last enabled at (318214): [] _raw_spin_unlock_irqrestore+0x6f/0x90 [ 74.823290][ C0] hardirqs last disabled at (318215): [] _raw_spin_lock_irqsave+0xa9/0xd0 [ 74.833416][ C0] softirqs last enabled at (318196): [] run_ksoftirqd+0xcf/0x170 [ 74.842775][ C0] softirqs last disabled at (318201): [] run_ksoftirqd+0xcf/0x170 [ 74.852128][ C0] [ 74.852128][ C0] other info that might help us debug this: [ 74.860172][ C0] Possible unsafe locking scenario: [ 74.860172][ C0] [ 74.867686][ C0] CPU0 [ 74.870943][ C0] ---- [ 74.874205][ C0] lock(&xa->xa_lock#7); [ 74.878513][ C0] [ 74.881939][ C0] lock(&xa->xa_lock#7); [ 74.886418][ C0] [ 74.886418][ C0] *** DEADLOCK *** [ 74.886418][ C0] [ 74.894555][ C0] 1 lock held by ksoftirqd/0/9: [ 74.899639][ C0] #0: ffffffff8a554c80 (rcu_callback){....}-{0:0}, at: rcu_core+0x5d8/0x1240 [ 74.908539][ C0] [ 74.908539][ C0] stack backtrace: [ 74.914414][ C0] CPU: 0 PID: 9 Comm: ksoftirqd/0 Not tainted 5.9.0-rc8-next-20201008-syzkaller #0 [ 74.923673][ C0] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 74.933729][ C0] Call Trace: [ 74.937002][ C0] dump_stack+0x198/0x1fb [ 74.941406][ C0] mark_lock.cold+0x32/0x74 [ 74.945909][ C0] ? arch_stack_walk+0x5c/0xe0 [ 74.950648][ C0] ? lock_chain_count+0x20/0x20 [ 74.955489][ C0] ? mark_lock+0xf7/0x2420 [ 74.959895][ C0] ? lock_chain_count+0x20/0x20 [ 74.964735][ C0] __lock_acquire+0x118a/0x56d0 [ 74.969590][ C0] ? lock_chain_count+0x20/0x20 [ 74.974509][ C0] ? lockdep_hardirqs_on_prepare+0x530/0x530 [ 74.980486][ C0] lock_acquire+0x1f2/0xaa0 [ 74.985070][ C0] ? xa_destroy+0xaa/0x350 [ 74.989484][ C0] ? lock_release+0x890/0x890 [ 74.994192][ C0] ? _raw_spin_lock_irqsave+0xa9/0xd0 [ 74.999548][ C0] _raw_spin_lock_irqsave+0x94/0xd0 [ 75.004733][ C0] ? xa_destroy+0xaa/0x350 [ 75.009139][ C0] xa_destroy+0xaa/0x350 [ 75.013360][ C0] ? xas_pause+0x3b0/0x3b0 [ 75.017754][ C0] ? lock_acquire+0x1f2/0xaa0 [ 75.022415][ C0] ? lock_release+0x890/0x890 [ 75.027089][ C0] ? free_obj_work+0x5b0/0x5b0 [ 75.031843][ C0] ? lock_downgrade+0x830/0x830 [ 75.036674][ C0] ? _raw_spin_lock_irqsave+0xa9/0xd0 [ 75.042025][ C0] __io_uring_free+0x60/0xc0 [ 75.046593][ C0] __put_task_struct+0xff/0x3f0 [ 75.051428][ C0] delayed_put_task_struct+0x1f6/0x340 [ 75.056881][ C0] rcu_core+0x645/0x1240 [ 75.061103][ C0] ? rcu_gp_kthread+0x1ca0/0x1ca0 [ 75.066106][ C0] ? lock_is_held_type+0xbb/0xf0 [ 75.071037][ C0] __do_softirq+0x203/0xab6 executing program executing program executing program executing program executing program executing program [ 75.076238][ C0] ? __local_bh_disable_ip+0x190/0x190 [ 75.081698][ C0] run_ksoftirqd+0xcf/0x170 [ 75.086215][ C0] smpboot_thread_fn+0x655/0x9e0 [ 75.091137][ C0] ? __smpboot_create_thread.part.0+0x360/0x360 [ 75.097485][ C0] ? __kthread_parkme+0x13f/0x1e0 [ 75.102512][ C0] ? __smpboot_create_thread.part.0+0x360/0x360 [ 75.108742][ C0] kthread+0x3af/0x4a0 [ 75.112804][ C0] ? __kthread_bind_mask+0xc0/0xc0 [ 75.117892][ C0] ret_from_fork+0x1f/0x30 [ 75.158117][ T6987] ================================================================== [ 75.166226][ T6987] BUG: KASAN: use-after-free in __io_uring_files_cancel+0x417/0x440 [ 75.174266][ T6987] Read of size 1 at addr ffff888033959b40 by task syz-executor044/6987 [ 75.182492][ T6987] [ 75.184819][ T6987] CPU: 1 PID: 6987 Comm: syz-executor044 Not tainted 5.9.0-rc8-next-20201008-syzkaller #0 [ 75.194689][ T6987] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 75.204870][ T6987] Call Trace: [ 75.208151][ T6987] dump_stack+0x198/0x1fb [ 75.212466][ T6987] ? __io_uring_files_cancel+0x417/0x440 [ 75.218088][ T6987] ? __io_uring_files_cancel+0x417/0x440 [ 75.223703][ T6987] print_address_description.constprop.0.cold+0xae/0x497 [ 75.230702][ T6987] ? lock_release+0x890/0x890 [ 75.235357][ T6987] ? io_uring_del_task_file+0x129/0x1a0 [ 75.240920][ T6987] ? vprintk_func+0x95/0x1e0 [ 75.245496][ T6987] ? __io_uring_files_cancel+0x417/0x440 [ 75.251120][ T6987] ? __io_uring_files_cancel+0x417/0x440 [ 75.256731][ T6987] kasan_report.cold+0x1f/0x37 [ 75.261475][ T6987] ? __io_uring_files_cancel+0x417/0x440 [ 75.267085][ T6987] __io_uring_files_cancel+0x417/0x440 [ 75.272527][ T6987] ? __io_uring_free+0xc0/0xc0 [ 75.277281][ T6987] ? copy_semundo+0x2f0/0x2f0 [ 75.281937][ T6987] ? fput_many+0x2f/0x1a0 [ 75.286245][ T6987] exit_files+0xe4/0x170 [ 75.290485][ T6987] do_exit+0xae9/0x2930 [ 75.294650][ T6987] ? mm_update_next_owner+0x7a0/0x7a0 [ 75.300025][ T6987] ? vmacache_update+0xce/0x140 [ 75.304901][ T6987] ? check_preemption_disabled+0x50/0x130 [ 75.310599][ T6987] do_group_exit+0x125/0x310 [ 75.315170][ T6987] __x64_sys_exit_group+0x3a/0x50 [ 75.320173][ T6987] do_syscall_64+0x2d/0x70 [ 75.324567][ T6987] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 75.330437][ T6987] RIP: 0033:0x43ff18 [ 75.334310][ T6987] Code: Unable to access opcode bytes at RIP 0x43feee. [ 75.341143][ T6987] RSP: 002b:00007fff4122e498 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 75.349535][ T6987] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043ff18 [ 75.357486][ T6987] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 75.365454][ T6987] RBP: 00000000004bf7b0 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 75.373412][ T6987] R10: 0000000000008011 R11: 0000000000000246 R12: 0000000000000001 [ 75.381374][ T6987] R13: 00000000006d1180 R14: 0000000000000000 R15: 0000000000000000 [ 75.389340][ T6987] [ 75.391673][ T6987] Allocated by task 6987: [ 75.395984][ T6987] kasan_save_stack+0x1b/0x40 [ 75.400635][ T6987] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 75.406243][ T6987] kmem_cache_alloc+0x162/0x550 [ 75.411069][ T6987] xas_alloc+0x330/0x440 [ 75.418330][ T6987] xas_create+0x2db/0x1020 [ 75.422750][ T6987] xas_store+0x8a/0x1bb0 [ 75.426990][ T6987] io_uring_add_task_file+0x212/0x430 [ 75.432340][ T6987] io_uring_setup+0x2727/0x3660 [ 75.437178][ T6987] do_syscall_64+0x2d/0x70 [ 75.441586][ T6987] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 75.447450][ T6987] [ 75.449758][ T6987] Freed by task 16: [ 75.453545][ T6987] kasan_save_stack+0x1b/0x40 [ 75.458208][ T6987] kasan_set_track+0x1c/0x30 [ 75.462775][ T6987] kasan_set_free_info+0x1b/0x30 [ 75.467691][ T6987] __kasan_slab_free+0xd8/0x120 [ 75.472522][ T6987] kmem_cache_free.part.0+0x74/0x1d0 [ 75.477786][ T6987] rcu_core+0x645/0x1240 [ 75.482064][ T6987] __do_softirq+0x203/0xab6 [ 75.486541][ T6987] [ 75.488851][ T6987] Last call_rcu(): [ 75.492563][ T6987] kasan_save_stack+0x1b/0x40 [ 75.497214][ T6987] kasan_record_aux_stack+0x82/0xb0 [ 75.502401][ T6987] call_rcu+0x15e/0x7d0 [ 75.506554][ T6987] xas_store+0xbcc/0x1bb0 [ 75.510867][ T6987] io_uring_del_task_file+0x105/0x1a0 [ 75.516413][ T6987] __io_uring_files_cancel+0x3dd/0x440 [ 75.521956][ T6987] exit_files+0xe4/0x170 [ 75.526179][ T6987] do_exit+0xae9/0x2930 [ 75.530309][ T6987] do_group_exit+0x125/0x310 [ 75.534873][ T6987] __x64_sys_exit_group+0x3a/0x50 [ 75.539876][ T6987] do_syscall_64+0x2d/0x70 [ 75.544269][ T6987] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 75.550132][ T6987] [ 75.552439][ T6987] The buggy address belongs to the object at ffff888033959b40 [ 75.552439][ T6987] which belongs to the cache radix_tree_node of size 576 [ 75.567604][ T6987] The buggy address is located 0 bytes inside of [ 75.567604][ T6987] 576-byte region [ffff888033959b40, ffff888033959d80) [ 75.580676][ T6987] The buggy address belongs to the page: [ 75.586291][ T6987] page:00000000ec55d161 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff888033959ffb pfn:0x33959 [ 75.597719][ T6987] flags: 0xfffe0000000200(slab) [ 75.602562][ T6987] raw: 00fffe0000000200 ffffea0000ce5608 ffff88800ec6e150 ffff88800ec6f000 [ 75.611123][ T6987] raw: ffff888033959ffb ffff888033959040 0000000100000005 0000000000000000 [ 75.619728][ T6987] page dumped because: kasan: bad access detected [ 75.626159][ T6987] [ 75.628468][ T6987] Memory state around the buggy address: [ 75.634076][ T6987] ffff888033959a00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 75.642125][ T6987] ffff888033959a80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 75.650251][ T6987] >ffff888033959b00: fc fc fc fc fc fc fc fc fa fb fb fb fb fb fb fb [ 75.658285][ T6987] ^ [ 75.664433][ T6987] ffff888033959b80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 75.672565][ T6987] ffff888033959c00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 75.680615][ T6987] ================================================================== [ 75.688915][ T6987] Kernel panic - not syncing: panic_on_warn set ... [ 75.695516][ T6987] CPU: 1 PID: 6987 Comm: syz-executor044 Tainted: G B 5.9.0-rc8-next-20201008-syzkaller #0 [ 75.706783][ T6987] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 75.716948][ T6987] Call Trace: [ 75.720241][ T6987] dump_stack+0x198/0x1fb [ 75.724570][ T6987] ? __io_uring_files_cancel+0x370/0x440 [ 75.730179][ T6987] panic+0x382/0x7fb [ 75.734054][ T6987] ? __warn_printk+0xf3/0xf3 [ 75.738644][ T6987] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 75.744776][ T6987] ? trace_hardirqs_on+0x51/0x1c0 [ 75.749779][ T6987] ? __io_uring_files_cancel+0x417/0x440 [ 75.755400][ T6987] ? __io_uring_files_cancel+0x417/0x440 [ 75.761027][ T6987] end_report+0x58/0x5e [ 75.765164][ T6987] kasan_report.cold+0xd/0x37 [ 75.769837][ T6987] ? __io_uring_files_cancel+0x417/0x440 [ 75.775453][ T6987] __io_uring_files_cancel+0x417/0x440 [ 75.780892][ T6987] ? __io_uring_free+0xc0/0xc0 [ 75.785641][ T6987] ? copy_semundo+0x2f0/0x2f0 [ 75.790305][ T6987] ? fput_many+0x2f/0x1a0 [ 75.794636][ T6987] exit_files+0xe4/0x170 [ 75.798857][ T6987] do_exit+0xae9/0x2930 [ 75.802993][ T6987] ? mm_update_next_owner+0x7a0/0x7a0 [ 75.808339][ T6987] ? vmacache_update+0xce/0x140 [ 75.813177][ T6987] ? check_preemption_disabled+0x50/0x130 [ 75.818874][ T6987] do_group_exit+0x125/0x310 [ 75.823444][ T6987] __x64_sys_exit_group+0x3a/0x50 [ 75.828448][ T6987] do_syscall_64+0x2d/0x70 [ 75.832843][ T6987] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 75.838728][ T6987] RIP: 0033:0x43ff18 [ 75.842595][ T6987] Code: Unable to access opcode bytes at RIP 0x43feee. [ 75.849417][ T6987] RSP: 002b:00007fff4122e498 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 75.857808][ T6987] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043ff18 [ 75.865757][ T6987] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 75.873733][ T6987] RBP: 00000000004bf7b0 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 75.881682][ T6987] R10: 0000000000008011 R11: 0000000000000246 R12: 0000000000000001 [ 75.889637][ T6987] R13: 00000000006d1180 R14: 0000000000000000 R15: 0000000000000000 [ 75.898864][ T6987] Kernel Offset: disabled [ 75.903182][ T6987] Rebooting in 86400 seconds..