Warning: Permanently added '10.128.0.247' (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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 executing program executing program executing program executing program executing program executing program executing program syzkaller login: [ 52.473469][ C1] ================================================================== [ 52.481778][ C1] BUG: KASAN: use-after-free in io_rsrc_node_ref_zero+0x5a/0x274 [ 52.481922][ T10] ------------[ cut here ]------------ [ 52.489547][ C1] Read of size 8 at addr ffff888013de6900 by task ksoftirqd/1/19 [ 52.502780][ C1] [ 52.505114][ C1] CPU: 1 PID: 19 Comm: ksoftirqd/1 Not tainted 5.17.0-rc4-syzkaller-00241-g7f25f0412c9e #0 [ 52.508078][ T10] WARNING: CPU: 0 PID: 10 at fs/io_uring.c:9457 io_ring_exit_work+0x90f/0xbcc [ 52.515101][ C1] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 52.515120][ C1] Call Trace: [ 52.515130][ C1] [ 52.515142][ C1] dump_stack_lvl+0xcd/0x134 [ 52.515179][ C1] print_address_description.constprop.0.cold+0x8d/0x336 [ 52.515219][ C1] ? io_rsrc_node_ref_zero+0x5a/0x274 [ 52.524918][ T10] Modules linked in: [ 52.534126][ C1] ? io_rsrc_node_ref_zero+0x5a/0x274 [ 52.534164][ C1] kasan_report.cold+0x83/0xdf [ 52.534205][ C1] ? io_rsrc_node_ref_zero+0x5a/0x274 [ 52.534240][ C1] io_rsrc_node_ref_zero+0x5a/0x274 [ 52.537704][ T10] [ 52.540441][ C1] percpu_ref_put_many.constprop.0+0x22b/0x260 [ 52.540480][ C1] rcu_core+0x7b1/0x1820 [ 52.540525][ C1] ? rcu_momentary_dyntick_idle+0x30/0x30 [ 52.545294][ T10] CPU: 0 PID: 10 Comm: kworker/u4:1 Not tainted 5.17.0-rc4-syzkaller-00241-g7f25f0412c9e #0 [ 52.552102][ C1] __do_softirq+0x29b/0x9c2 [ 52.552144][ C1] ? __irq_exit_rcu+0x180/0x180 [ 52.552180][ C1] run_ksoftirqd+0x2d/0x60 [ 52.558598][ T10] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 52.561413][ C1] smpboot_thread_fn+0x645/0x9c0 [ 52.561454][ C1] ? smpboot_register_percpu_thread+0x370/0x370 [ 52.561495][ C1] kthread+0x2e9/0x3a0 [ 52.561527][ C1] ? kthread_complete_and_exit+0x40/0x40 [ 52.567096][ T10] Workqueue: events_unbound io_ring_exit_work [ 52.571628][ C1] ret_from_fork+0x1f/0x30 [ 52.571681][ C1] [ 52.571697][ C1] [ 52.571703][ C1] Allocated by task 4252: [ 52.571716][ C1] kasan_save_stack+0x1e/0x40 [ 52.578159][ T10] [ 52.582261][ C1] __kasan_kmalloc+0xa9/0xd0 [ 52.582296][ C1] io_rsrc_data_alloc+0x40/0x3b8 [ 52.582326][ C1] io_sqe_buffers_register.cold+0x1f/0x443 [ 52.582358][ C1] __do_sys_io_uring_register+0x109b/0x15a0 [ 52.582389][ C1] do_syscall_64+0x35/0xb0 [ 52.584930][ T10] RIP: 0010:io_ring_exit_work+0x90f/0xbcc [ 52.590832][ C1] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 52.590863][ C1] [ 52.590870][ C1] Freed by task 4252: [ 52.590883][ C1] kasan_save_stack+0x1e/0x40 [ 52.590914][ C1] kasan_set_track+0x21/0x30 [ 52.590944][ C1] kasan_set_free_info+0x20/0x30 [ 52.595409][ T10] Code: ff 37 00 48 c1 ea 03 48 c1 e0 2a 80 3c 02 00 74 08 4c 89 e7 e8 94 a5 b3 f8 48 8b 83 e0 fe ff ff 49 39 c4 74 07 e8 93 13 6c f8 <0f> 0b e8 8c 13 6c f8 48 8d bb d8 fe ff ff b8 ff ff 37 00 48 89 fa [ 52.600870][ C1] ____kasan_slab_free+0x126/0x160 [ 52.600903][ C1] slab_free_freelist_hook+0x8b/0x1c0 [ 52.600934][ C1] kfree+0xd0/0x390 [ 52.600961][ C1] __io_sqe_buffers_unregister+0xf6/0x18d [ 52.600990][ C1] __do_sys_io_uring_register.cold+0x28f/0x1611 [ 52.611295][ T10] RSP: 0018:ffffc90000cf7bc8 EFLAGS: 00010293 [ 52.615514][ C1] do_syscall_64+0x35/0xb0 [ 52.615543][ C1] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 52.615571][ C1] [ 52.615578][ C1] The buggy address belongs to the object at ffff888013de6900 [ 52.615578][ C1] which belongs to the cache kmalloc-192 of size 192 [ 52.615601][ C1] The buggy address is located 0 bytes inside of [ 52.615601][ C1] 192-byte region [ffff888013de6900, ffff888013de69c0) [ 52.615629][ C1] The buggy address belongs to the page: [ 52.620667][ T10] [ 52.624847][ C1] page:ffffea00004f7980 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x13de6 [ 52.624876][ C1] flags: 0xfff00000000200(slab|node=0|zone=1|lastcpupid=0x7ff) [ 52.624914][ C1] raw: 00fff00000000200 0000000000000000 dead000000000001 ffff888010c41a00 [ 52.624941][ C1] raw: 0000000000000000 0000000080100010 00000001ffffffff 0000000000000000 [ 52.624957][ C1] page dumped because: kasan: bad access detected [ 52.624970][ C1] page_owner tracks the page as allocated [ 52.624978][ C1] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x12cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY), pid 1, ts 2185796206, free_ts 0 [ 52.635273][ T10] RAX: 0000000000000000 RBX: ffff88801f523688 RCX: 0000000000000000 [ 52.639929][ C1] get_page_from_freelist+0xa72/0x2f50 [ 52.639961][ C1] __alloc_pages+0x1b2/0x500 [ 52.639987][ C1] alloc_page_interleave+0x1e/0x200 [ 52.640020][ C1] alloc_pages+0x2b1/0x310 [ 52.646503][ T10] RDX: ffff888011911d00 RSI: ffffffff890ccbed RDI: 0000000000000000 [ 52.650300][ C1] allocate_slab+0x27f/0x3c0 [ 52.650330][ C1] ___slab_alloc+0xbe1/0x12b0 [ 52.650359][ C1] __slab_alloc.constprop.0+0x4d/0xa0 [ 52.650391][ C1] kmem_cache_alloc_trace+0x2f8/0x3d0 [ 52.656263][ T10] RBP: ffff88801f523000 R08: 0000000000000000 R09: 0000000000000000 [ 52.662061][ C1] call_usermodehelper_setup+0x97/0x340 [ 52.662102][ C1] kobject_uevent_env+0xf28/0x1600 [ 52.662134][ C1] param_sysfs_init+0x367/0x43b [ 52.662161][ C1] do_one_initcall+0x103/0x650 [ 52.662190][ C1] kernel_init_freeable+0x6b1/0x73a [ 52.666807][ T10] R10: 0000000000000001 R11: 0000000000000000 R12: ffff88801f523568 [ 52.669611][ C1] kernel_init+0x1a/0x1d0 [ 52.669644][ C1] ret_from_fork+0x1f/0x30 [ 52.669673][ C1] page_owner free stack trace missing [ 52.669688][ C1] [ 52.669693][ C1] Memory state around the buggy address: [ 52.669708][ C1] ffff888013de6800: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 52.669729][ C1] ffff888013de6880: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 52.672282][ T10] R13: ffff88801f523010 R14: ffffc90000cf7c20 R15: 0000000000000000 [ 52.676343][ C1] >ffff888013de6900: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 52.676360][ C1] ^ [ 52.676374][ C1] ffff888013de6980: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 52.676393][ C1] ffff888013de6a00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 52.676409][ C1] ================================================================== [ 52.676419][ C1] Disabling lock debugging due to kernel taint [ 52.676525][ C1] Kernel panic - not syncing: panic_on_warn set ... [ 52.681517][ T10] FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 [ 52.683394][ C1] CPU: 1 PID: 19 Comm: ksoftirqd/1 Tainted: G B 5.17.0-rc4-syzkaller-00241-g7f25f0412c9e #0 [ 52.683428][ C1] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 52.683444][ C1] Call Trace: [ 52.688121][ T10] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 52.692914][ C1] [ 52.692925][ C1] dump_stack_lvl+0xcd/0x134 [ 52.692959][ C1] panic+0x2b0/0x6dd [ 52.698861][ T10] CR2: 0000000020000140 CR3: 000000007a99e000 CR4: 00000000003506f0 [ 52.704615][ C1] ? __warn_printk+0xf3/0xf3 [ 52.704648][ C1] ? asm_common_interrupt+0x1e/0x40 [ 52.709178][ T10] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 52.714752][ C1] ? trace_hardirqs_on+0x38/0x1c0 [ 52.714783][ C1] ? trace_hardirqs_on+0x51/0x1c0 [ 52.714810][ C1] ? io_rsrc_node_ref_zero+0x5a/0x274 [ 52.720796][ T10] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 52.722979][ C1] ? io_rsrc_node_ref_zero+0x5a/0x274 [ 52.723012][ C1] end_report.cold+0x63/0x6f [ 52.727093][ T10] Call Trace: [ 52.731632][ C1] kasan_report.cold+0x71/0xdf [ 52.731672][ C1] ? io_rsrc_node_ref_zero+0x5a/0x274 [ 52.736362][ T10] [ 52.741160][ C1] io_rsrc_node_ref_zero+0x5a/0x274 [ 52.741196][ C1] percpu_ref_put_many.constprop.0+0x22b/0x260 [ 52.760931][ T10] ? io_sq_thread_finish+0x1f6/0x1f6 [ 52.765888][ C1] rcu_core+0x7b1/0x1820 [ 52.765926][ C1] ? rcu_momentary_dyntick_idle+0x30/0x30 [ 52.771417][ T10] ? io_uring_del_tctx_node+0x20a/0x20a [ 52.775071][ C1] __do_softirq+0x29b/0x9c2 [ 52.775105][ C1] ? __irq_exit_rcu+0x180/0x180 [ 52.780936][ T10] process_one_work+0x9ac/0x1650 [ 52.787020][ C1] run_ksoftirqd+0x2d/0x60 [ 52.787053][ C1] smpboot_thread_fn+0x645/0x9c0 [ 52.793238][ T10] ? pwq_dec_nr_in_flight+0x2a0/0x2a0 [ 52.797494][ C1] ? smpboot_register_percpu_thread+0x370/0x370 [ 52.797531][ C1] kthread+0x2e9/0x3a0 [ 52.803533][ T10] ? rwlock_bug.part.0+0x90/0x90 [ 52.805713][ C1] ? kthread_complete_and_exit+0x40/0x40 [ 52.805751][ C1] ret_from_fork+0x1f/0x30 [ 52.819905][ T10] ? _raw_spin_lock_irq+0x41/0x50 [ 52.832856][ C1] [ 52.833060][ C1] Kernel Offset: disabled [ 53.318132][ C1] Rebooting in 86400 seconds..