Warning: Permanently added '10.128.1.67' (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 syzkaller login: [ 59.815296][ T5115] ================================================================== [ 59.823423][ T5115] BUG: KASAN: use-after-free in io_fallback_tw+0x6d/0x119 [ 59.830572][ T5115] Read of size 8 at addr ffff88807f058448 by task syz-executor330/5115 [ 59.838837][ T5115] [ 59.841175][ T5115] CPU: 1 PID: 5115 Comm: syz-executor330 Not tainted 6.2.0-rc3-next-20230112-syzkaller #0 [ 59.851084][ T5115] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 59.861161][ T5115] Call Trace: executing program executing program executing program executing program [ 59.864452][ T5115] [ 59.867395][ T5115] dump_stack_lvl+0xd1/0x138 [ 59.872018][ T5115] print_report+0x15e/0x45d [ 59.876547][ T5115] ? __phys_addr+0xc8/0x140 [ 59.881080][ T5115] ? io_fallback_tw+0x6d/0x119 [ 59.885872][ T5115] kasan_report+0xc0/0xf0 [ 59.890231][ T5115] ? io_fallback_tw+0x6d/0x119 [ 59.895026][ T5115] io_fallback_tw+0x6d/0x119 [ 59.899642][ T5115] tctx_task_work.cold+0xf/0x2c [ 59.904525][ T5115] ? handle_tw_list+0x460/0x460 [ 59.909414][ T5115] task_work_run+0x16f/0x270 executing program executing program executing program executing program executing program [ 59.914043][ T5115] ? task_work_cancel+0x30/0x30 [ 59.918927][ T5115] ? do_raw_spin_unlock+0x175/0x230 [ 59.924156][ T5115] do_exit+0xb17/0x2a90 [ 59.928354][ T5115] ? lock_downgrade+0x6e0/0x6e0 [ 59.933229][ T5115] ? do_raw_spin_lock+0x124/0x2b0 [ 59.938280][ T5115] ? mm_update_next_owner+0x7b0/0x7b0 [ 59.943690][ T5115] ? rwlock_bug.part.0+0x90/0x90 [ 59.948657][ T5115] ? _raw_spin_unlock_irq+0x23/0x50 [ 59.953919][ T5115] do_group_exit+0xd4/0x2a0 [ 59.958459][ T5115] __x64_sys_exit_group+0x3e/0x50 executing program executing program executing program [ 59.963501][ T5115] do_syscall_64+0x39/0xb0 [ 59.967945][ T5115] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 59.973877][ T5115] RIP: 0033:0x7fd875e8fc99 [ 59.978314][ T5115] Code: Unable to access opcode bytes at 0x7fd875e8fc6f. [ 59.985341][ T5115] RSP: 002b:00007ffd4b1c4fd8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 59.993775][ T5115] RAX: ffffffffffffffda RBX: 00007fd875f04350 RCX: 00007fd875e8fc99 [ 60.001765][ T5115] RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000 executing program executing program executing program executing program [ 60.009752][ T5115] RBP: 0000000000000000 R08: ffffffffffffffc0 R09: 0000000000000000 [ 60.017742][ T5115] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fd875f04350 [ 60.025730][ T5115] R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001 [ 60.033729][ T5115] [ 60.036757][ T5115] [ 60.039090][ T5115] Allocated by task 5115: [ 60.043423][ T5115] kasan_save_stack+0x22/0x40 [ 60.048124][ T5115] kasan_set_track+0x25/0x30 [ 60.052738][ T5115] __kasan_slab_alloc+0x7f/0x90 [ 60.057609][ T5115] kmem_cache_alloc_bulk+0x3aa/0x730 executing program executing program executing program executing program executing program [ 60.062914][ T5115] __io_alloc_req_refill+0xcc/0x40b [ 60.068139][ T5115] io_submit_sqes.cold+0x7c/0xc2 [ 60.073104][ T5115] __do_sys_io_uring_enter+0x9e4/0x2c10 [ 60.078679][ T5115] do_syscall_64+0x39/0xb0 [ 60.083121][ T5115] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 60.089044][ T5115] [ 60.091382][ T5115] Freed by task 34: [ 60.095193][ T5115] kasan_save_stack+0x22/0x40 [ 60.099896][ T5115] kasan_set_track+0x25/0x30 [ 60.104520][ T5115] kasan_save_free_info+0x2e/0x40 [ 60.109581][ T5115] ____kasan_slab_free+0x160/0x1c0 executing program executing program executing program executing program executing program [ 60.114725][ T5115] slab_free_freelist_hook+0x8b/0x1c0 [ 60.120120][ T5115] kmem_cache_free+0xec/0x4e0 [ 60.124819][ T5115] io_req_caches_free+0x1a9/0x1e6 [ 60.129871][ T5115] io_ring_exit_work+0x2e7/0xc80 [ 60.134828][ T5115] process_one_work+0x9bf/0x1750 [ 60.139791][ T5115] worker_thread+0x669/0x1090 [ 60.144488][ T5115] kthread+0x2e8/0x3a0 [ 60.148603][ T5115] ret_from_fork+0x1f/0x30 [ 60.153046][ T5115] [ 60.155381][ T5115] The buggy address belongs to the object at ffff88807f0583c0 executing program executing program executing program executing program [ 60.155381][ T5115] which belongs to the cache io_kiocb of size 216 [ 60.169191][ T5115] The buggy address is located 136 bytes inside of [ 60.169191][ T5115] 216-byte region [ffff88807f0583c0, ffff88807f058498) [ 60.182486][ T5115] [ 60.184818][ T5115] The buggy address belongs to the physical page: [ 60.191235][ T5115] page:ffffea0001fc1600 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x7f058 [ 60.201491][ T5115] flags: 0xfff00000000200(slab|node=0|zone=1|lastcpupid=0x7ff) executing program executing program executing program executing program [ 60.209067][ T5115] raw: 00fff00000000200 ffff88801c5893c0 dead000000000122 0000000000000000 [ 60.217669][ T5115] raw: 0000000000000000 00000000000c000c 00000001ffffffff 0000000000000000 [ 60.226265][ T5115] page dumped because: kasan: bad access detected [ 60.232701][ T5115] page_owner tracks the page as allocated [ 60.238423][ T5115] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x12cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY), pid 5115, tgid 5115 (syz-executor330), ts 59796444534, free_ts 59697860463 [ 60.257032][ T5115] get_page_from_freelist+0x11bb/0x2d50 [ 60.262617][ T5115] __alloc_pages+0x1cb/0x5c0 executing program executing program executing program executing program [ 60.267235][ T5115] alloc_pages+0x1aa/0x270 [ 60.271674][ T5115] allocate_slab+0x25f/0x350 [ 60.276281][ T5115] ___slab_alloc+0xa91/0x1400 [ 60.280987][ T5115] kmem_cache_alloc_bulk+0x23d/0x730 [ 60.286310][ T5115] __io_alloc_req_refill+0xcc/0x40b [ 60.291532][ T5115] io_submit_sqes.cold+0x7c/0xc2 [ 60.296503][ T5115] __do_sys_io_uring_enter+0x9e4/0x2c10 [ 60.302084][ T5115] do_syscall_64+0x39/0xb0 [ 60.306527][ T5115] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 60.312456][ T5115] page last free stack trace: executing program executing program executing program executing program [ 60.317132][ T5115] free_pcp_prepare+0x4d0/0x910 [ 60.322008][ T5115] free_unref_page_list+0x176/0xcd0 [ 60.327243][ T5115] release_pages+0xcb1/0x1330 [ 60.331951][ T5115] tlb_batch_pages_flush+0xa8/0x1a0 [ 60.337176][ T5115] tlb_finish_mmu+0x14b/0x7e0 [ 60.341882][ T5115] exit_mmap+0x202/0x7c0 [ 60.346147][ T5115] __mmput+0x128/0x4c0 [ 60.350235][ T5115] mmput+0x60/0x70 [ 60.353977][ T5115] do_exit+0x9ac/0x2a90 [ 60.358178][ T5115] do_group_exit+0xd4/0x2a0 [ 60.362713][ T5115] __x64_sys_exit_group+0x3e/0x50 executing program executing program executing program executing program executing program [ 60.367753][ T5115] do_syscall_64+0x39/0xb0 [ 60.372191][ T5115] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 60.378158][ T5115] [ 60.380488][ T5115] Memory state around the buggy address: [ 60.386127][ T5115] ffff88807f058300: fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc fc [ 60.394202][ T5115] ffff88807f058380: fc fc fc fc fc fc fc fc fa fb fb fb fb fb fb fb [ 60.402284][ T5115] >ffff88807f058400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.410360][ T5115] ^ executing program executing program executing program executing program executing program executing program executing program [ 60.416784][ T5115] ffff88807f058480: fb fb fb fc fc fc fc fc fc fc fc fc fc fc fc fc [ 60.424865][ T5115] ffff88807f058500: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 60.432943][ T5115] ================================================================== executing program executing program [ 60.483649][ T5115] Kernel panic - not syncing: KASAN: panic_on_warn set ... [ 60.490877][ T5115] CPU: 1 PID: 5115 Comm: syz-executor330 Not tainted 6.2.0-rc3-next-20230112-syzkaller #0 [ 60.500786][ T5115] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 60.510861][ T5115] Call Trace: [ 60.514147][ T5115] [ 60.517093][ T5115] dump_stack_lvl+0xd1/0x138 [ 60.521708][ T5115] panic+0x2cc/0x626 [ 60.525643][ T5115] ? panic_print_sys_info.part.0+0x112/0x112 [ 60.531665][ T5115] ? preempt_schedule_thunk+0x1a/0x20 [ 60.537073][ T5115] ? preempt_schedule_common+0x59/0xc0 [ 60.542570][ T5115] check_panic_on_warn.cold+0x19/0x35 [ 60.547992][ T5115] end_report.part.0+0x36/0x73 [ 60.552780][ T5115] ? io_fallback_tw+0x6d/0x119 [ 60.557565][ T5115] kasan_report.cold+0xa/0xf [ 60.562175][ T5115] ? io_fallback_tw+0x6d/0x119 [ 60.566951][ T5115] io_fallback_tw+0x6d/0x119 [ 60.571556][ T5115] tctx_task_work.cold+0xf/0x2c [ 60.576419][ T5115] ? handle_tw_list+0x460/0x460 [ 60.581291][ T5115] task_work_run+0x16f/0x270 [ 60.585903][ T5115] ? task_work_cancel+0x30/0x30 [ 60.590775][ T5115] ? do_raw_spin_unlock+0x175/0x230 [ 60.595988][ T5115] do_exit+0xb17/0x2a90 [ 60.600164][ T5115] ? lock_downgrade+0x6e0/0x6e0 [ 60.605019][ T5115] ? do_raw_spin_lock+0x124/0x2b0 [ 60.610050][ T5115] ? mm_update_next_owner+0x7b0/0x7b0 [ 60.615439][ T5115] ? rwlock_bug.part.0+0x90/0x90 [ 60.620387][ T5115] ? _raw_spin_unlock_irq+0x23/0x50 [ 60.625609][ T5115] do_group_exit+0xd4/0x2a0 [ 60.630131][ T5115] __x64_sys_exit_group+0x3e/0x50 [ 60.635162][ T5115] do_syscall_64+0x39/0xb0 [ 60.639585][ T5115] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 60.645499][ T5115] RIP: 0033:0x7fd875e8fc99 [ 60.649917][ T5115] Code: Unable to access opcode bytes at 0x7fd875e8fc6f. [ 60.656928][ T5115] RSP: 002b:00007ffd4b1c4fd8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 60.665344][ T5115] RAX: ffffffffffffffda RBX: 00007fd875f04350 RCX: 00007fd875e8fc99 [ 60.673317][ T5115] RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000 [ 60.681288][ T5115] RBP: 0000000000000000 R08: ffffffffffffffc0 R09: 0000000000000000 [ 60.689261][ T5115] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fd875f04350 [ 60.697232][ T5115] R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001 [ 60.705215][ T5115] [ 60.708382][ T5115] Kernel Offset: disabled [ 60.712700][ T5115] Rebooting in 86400 seconds..