./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor553078280 <...> Warning: Permanently added '10.128.10.36' (ECDSA) to the list of known hosts. execve("./syz-executor553078280", ["./syz-executor553078280"], 0x7fffc1eb5ad0 /* 10 vars */) = 0 brk(NULL) = 0x5555560bb000 brk(0x5555560bbc40) = 0x5555560bbc40 arch_prctl(ARCH_SET_FS, 0x5555560bb300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 readlink("/proc/self/exe", "/root/syz-executor553078280", 4096) = 27 brk(0x5555560dcc40) = 0x5555560dcc40 brk(0x5555560dd000) = 0x5555560dd000 mprotect(0x7f1d5a1ba000, 16384, PROT_READ) = 0 mmap(0x1ffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1ffff000 mmap(0x20000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x20000000 mmap(0x21000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x21000000 signalfd4(-1, [], 8, 0) = 3 io_uring_setup(135, {flags=0, sq_thread_cpu=0, sq_thread_idle=0, sq_entries=256, cq_entries=512, features=IORING_FEAT_SINGLE_MMAP|IORING_FEAT_NODROP|IORING_FEAT_SUBMIT_STABLE|IORING_FEAT_RW_CUR_POS|IORING_FEAT_CUR_PERSONALITY|IORING_FEAT_FAST_POLL|IORING_FEAT_POLL_32BITS|IORING_FEAT_SQPOLL_NONFIXED|IORING_FEAT_EXT_ARG|IORING_FEAT_NATIVE_WORKERS|IORING_FEAT_RSRC_TAGS|IORING_FEAT_CQE_SKIP|IORING_FEAT_LINKED_FILE, sq_off={head=0, tail=64, ring_mask=256, ring_entries=264, flags=276, dropped=272, array=8512}, cq_off={head=128, tail=192, ring_mask=260, ring_entries=268, overflow=284, cqes=320, flags=280}}) = 4 mmap(0x20ee7000, 9536, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_FIXED|MAP_POPULATE, 4, 0) = 0x20ee7000 mmap(0x206d7000, 16384, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_FIXED|MAP_POPULATE, 4, 0x10000000) = 0x206d7000 io_uring_enter(4, 14609, 0, 0, NULL, 0) = 1 signalfd(3, [], 8) = 3 exit_group(0) = ? syzkaller login: [ 60.948333][ T5077] ================================================================== [ 60.956453][ T5077] BUG: KASAN: use-after-free in io_fallback_tw+0x6d/0x119 [ 60.963570][ T5077] Read of size 8 at addr ffff8880265ea948 by task syz-executor553/5077 [ 60.971792][ T5077] [ 60.974106][ T5077] CPU: 0 PID: 5077 Comm: syz-executor553 Not tainted 6.2.0-rc3-next-20230112-syzkaller #0 [ 60.983980][ T5077] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 60.994021][ T5077] Call Trace: [ 60.997308][ T5077] [ 61.000230][ T5077] dump_stack_lvl+0xd1/0x138 [ 61.004824][ T5077] print_report+0x15e/0x45d [ 61.009319][ T5077] ? __phys_addr+0xc8/0x140 [ 61.013828][ T5077] ? io_fallback_tw+0x6d/0x119 [ 61.018605][ T5077] kasan_report+0xc0/0xf0 [ 61.022952][ T5077] ? io_fallback_tw+0x6d/0x119 [ 61.027733][ T5077] io_fallback_tw+0x6d/0x119 [ 61.032360][ T5077] tctx_task_work.cold+0xf/0x2c [ 61.037229][ T5077] ? handle_tw_list+0x460/0x460 [ 61.042114][ T5077] ? lock_downgrade+0x6e0/0x6e0 [ 61.046976][ T5077] ? do_raw_spin_lock+0x124/0x2b0 [ 61.052017][ T5077] ? rwlock_bug.part.0+0x90/0x90 [ 61.056965][ T5077] ? _raw_spin_unlock_irq+0x23/0x50 [ 61.062187][ T5077] task_work_run+0x16f/0x270 [ 61.066802][ T5077] ? task_work_cancel+0x30/0x30 [ 61.071675][ T5077] ? do_raw_spin_unlock+0x175/0x230 [ 61.076892][ T5077] do_exit+0xb17/0x2a90 [ 61.081070][ T5077] ? lock_downgrade+0x6e0/0x6e0 [ 61.085939][ T5077] ? do_raw_spin_lock+0x124/0x2b0 [ 61.090976][ T5077] ? mm_update_next_owner+0x7b0/0x7b0 [ 61.096367][ T5077] ? rwlock_bug.part.0+0x90/0x90 [ 61.101317][ T5077] ? _raw_spin_unlock_irq+0x23/0x50 [ 61.106543][ T5077] do_group_exit+0xd4/0x2a0 [ 61.111073][ T5077] __x64_sys_exit_group+0x3e/0x50 [ 61.116127][ T5077] do_syscall_64+0x39/0xb0 [ 61.120563][ T5077] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 61.127095][ T5077] RIP: 0033:0x7f1d5a14c859 [ 61.131518][ T5077] Code: Unable to access opcode bytes at 0x7f1d5a14c82f. [ 61.138536][ T5077] RSP: 002b:00007ffdc80d0578 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 61.146960][ T5077] RAX: ffffffffffffffda RBX: 00007f1d5a1c0290 RCX: 00007f1d5a14c859 [ 61.154941][ T5077] RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000 [ 61.163282][ T5077] RBP: 0000000000000000 R08: ffffffffffffffc0 R09: 0000000000000000 [ 61.171267][ T5077] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f1d5a1c0290 [ 61.179245][ T5077] R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001 [ 61.187229][ T5077] [ 61.190249][ T5077] [ 61.192570][ T5077] Allocated by task 5077: [ 61.196906][ T5077] kasan_save_stack+0x22/0x40 [ 61.201601][ T5077] kasan_set_track+0x25/0x30 [ 61.206202][ T5077] __kasan_slab_alloc+0x7f/0x90 [ 61.211069][ T5077] kmem_cache_alloc_bulk+0x3aa/0x730 [ 61.216374][ T5077] __io_alloc_req_refill+0xcc/0x40b [ 61.221585][ T5077] io_submit_sqes.cold+0x7c/0xc2 [ 61.226532][ T5077] __do_sys_io_uring_enter+0x9e4/0x2c10 [ 61.232093][ T5077] do_syscall_64+0x39/0xb0 [ 61.236519][ T5077] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 61.242442][ T5077] [ 61.244763][ T5077] Freed by task 76: [ 61.248565][ T5077] kasan_save_stack+0x22/0x40 [ 61.253253][ T5077] kasan_set_track+0x25/0x30 [ 61.257852][ T5077] kasan_save_free_info+0x2e/0x40 [ 61.262897][ T5077] ____kasan_slab_free+0x160/0x1c0 [ 61.268018][ T5077] slab_free_freelist_hook+0x8b/0x1c0 [ 61.273396][ T5077] kmem_cache_free+0xec/0x4e0 [ 61.278084][ T5077] io_req_caches_free+0x1a9/0x1e6 [ 61.283119][ T5077] io_ring_exit_work+0x2e7/0xc80 [ 61.288073][ T5077] process_one_work+0x9bf/0x1750 [ 61.293025][ T5077] worker_thread+0x669/0x1090 [ 61.297802][ T5077] kthread+0x2e8/0x3a0 [ 61.301881][ T5077] ret_from_fork+0x1f/0x30 [ 61.306315][ T5077] [ 61.308640][ T5077] The buggy address belongs to the object at ffff8880265ea8c0 [ 61.308640][ T5077] which belongs to the cache io_kiocb of size 216 [ 61.322439][ T5077] The buggy address is located 136 bytes inside of [ 61.322439][ T5077] 216-byte region [ffff8880265ea8c0, ffff8880265ea998) [ 61.335718][ T5077] [ 61.338039][ T5077] The buggy address belongs to the physical page: [ 61.344451][ T5077] page:ffffea0000997a80 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x265ea [ 61.354610][ T5077] flags: 0xfff00000000200(slab|node=0|zone=1|lastcpupid=0x7ff) [ 61.362174][ T5077] raw: 00fff00000000200 ffff8881463c8b40 dead000000000122 0000000000000000 [ 61.370764][ T5077] raw: 0000000000000000 00000000800c000c 00000001ffffffff 0000000000000000 [ 61.379341][ T5077] page dumped because: kasan: bad access detected [ 61.385754][ T5077] page_owner tracks the page as allocated [ 61.391470][ T5077] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x12cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY), pid 5077, tgid 5077 (syz-executor553), ts 60945454891, free_ts 60929858794 [ 61.410068][ T5077] get_page_from_freelist+0x11bb/0x2d50 [ 61.415634][ T5077] __alloc_pages+0x1cb/0x5c0 [ 61.420237][ T5077] alloc_pages+0x1aa/0x270 [ 61.424662][ T5077] allocate_slab+0x25f/0x350 [ 61.429259][ T5077] ___slab_alloc+0xa91/0x1400 [ 61.433948][ T5077] kmem_cache_alloc_bulk+0x23d/0x730 [ 61.439249][ T5077] __io_alloc_req_refill+0xcc/0x40b [ 61.444463][ T5077] io_submit_sqes.cold+0x7c/0xc2 [ 61.449423][ T5077] __do_sys_io_uring_enter+0x9e4/0x2c10 [ 61.454984][ T5077] do_syscall_64+0x39/0xb0 [ 61.459412][ T5077] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 61.465322][ T5077] page last free stack trace: [ 61.469990][ T5077] free_pcp_prepare+0x4d0/0x910 [ 61.474852][ T5077] free_unref_page_list+0x176/0xcd0 [ 61.480068][ T5077] release_pages+0xcb1/0x1330 [ 61.484761][ T5077] tlb_batch_pages_flush+0xa8/0x1a0 [ 61.489974][ T5077] tlb_finish_mmu+0x14b/0x7e0 [ 61.494664][ T5077] exit_mmap+0x202/0x7c0 [ 61.498917][ T5077] __mmput+0x128/0x4c0 [ 61.502993][ T5077] mmput+0x60/0x70 [ 61.506724][ T5077] begin_new_exec+0x1027/0x2f80 [ 61.511588][ T5077] load_elf_binary+0x801/0x4ff0 [ 61.516443][ T5077] bprm_execve+0x7fd/0x1ae0 [ 61.520958][ T5077] do_execveat_common+0x72c/0x880 [ 61.525991][ T5077] __x64_sys_execve+0x93/0xc0 [ 61.530684][ T5077] do_syscall_64+0x39/0xb0 [ 61.535114][ T5077] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 61.541026][ T5077] [ 61.543351][ T5077] Memory state around the buggy address: [ 61.548983][ T5077] ffff8880265ea800: fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc fc [ 61.557044][ T5077] ffff8880265ea880: fc fc fc fc fc fc fc fc fa fb fb fb fb fb fb fb [ 61.565110][ T5077] >ffff8880265ea900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.573172][ T5077] ^ [ 61.579585][ T5077] ffff8880265ea980: fb fb fb fc fc fc fc fc fc fc fc fc fc fc fc fc [ 61.587648][ T5077] ffff8880265eaa00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 61.595712][ T5077] ================================================================== [ 61.604871][ T5077] Kernel panic - not syncing: KASAN: panic_on_warn set ... [ 61.612091][ T5077] CPU: 1 PID: 5077 Comm: syz-executor553 Not tainted 6.2.0-rc3-next-20230112-syzkaller #0 [ 61.621996][ T5077] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 61.632039][ T5077] Call Trace: [ 61.635310][ T5077] [ 61.638229][ T5077] dump_stack_lvl+0xd1/0x138 [ 61.642816][ T5077] panic+0x2cc/0x626 [ 61.646708][ T5077] ? panic_print_sys_info.part.0+0x112/0x112 [ 61.652686][ T5077] ? preempt_schedule_thunk+0x1a/0x20 [ 61.658061][ T5077] ? preempt_schedule_common+0x59/0xc0 [ 61.663513][ T5077] check_panic_on_warn.cold+0x19/0x35 [ 61.668885][ T5077] end_report.part.0+0x36/0x73 [ 61.673987][ T5077] ? io_fallback_tw+0x6d/0x119 [ 61.678738][ T5077] kasan_report.cold+0xa/0xf [ 61.683406][ T5077] ? io_fallback_tw+0x6d/0x119 [ 61.688162][ T5077] io_fallback_tw+0x6d/0x119 [ 61.692742][ T5077] tctx_task_work.cold+0xf/0x2c [ 61.697602][ T5077] ? handle_tw_list+0x460/0x460 [ 61.702445][ T5077] ? lock_downgrade+0x6e0/0x6e0 [ 61.707287][ T5077] ? do_raw_spin_lock+0x124/0x2b0 [ 61.712304][ T5077] ? rwlock_bug.part.0+0x90/0x90 [ 61.717246][ T5077] ? _raw_spin_unlock_irq+0x23/0x50 [ 61.722535][ T5077] task_work_run+0x16f/0x270 [ 61.727124][ T5077] ? task_work_cancel+0x30/0x30 [ 61.731975][ T5077] ? do_raw_spin_unlock+0x175/0x230 [ 61.737242][ T5077] do_exit+0xb17/0x2a90 [ 61.741398][ T5077] ? lock_downgrade+0x6e0/0x6e0 [ 61.746237][ T5077] ? do_raw_spin_lock+0x124/0x2b0 [ 61.751252][ T5077] ? mm_update_next_owner+0x7b0/0x7b0 [ 61.756624][ T5077] ? rwlock_bug.part.0+0x90/0x90 [ 61.761552][ T5077] ? _raw_spin_unlock_irq+0x23/0x50 [ 61.766753][ T5077] do_group_exit+0xd4/0x2a0 [ 61.771268][ T5077] __x64_sys_exit_group+0x3e/0x50 [ 61.776281][ T5077] do_syscall_64+0x39/0xb0 [ 61.780687][ T5077] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 61.786574][ T5077] RIP: 0033:0x7f1d5a14c859 [ 61.790975][ T5077] Code: Unable to access opcode bytes at 0x7f1d5a14c82f. [ 61.797975][ T5077] RSP: 002b:00007ffdc80d0578 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 61.807434][ T5077] RAX: ffffffffffffffda RBX: 00007f1d5a1c0290 RCX: 00007f1d5a14c859 [ 61.815400][ T5077] RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000 [ 61.823362][ T5077] RBP: 0000000000000000 R08: ffffffffffffffc0 R09: 0000000000000000 [ 61.831322][ T5077] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f1d5a1c0290 [ 61.839284][ T5077] R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001 [ 61.847248][ T5077] [ 61.850423][ T5077] Kernel Offset: disabled [ 61.854742][ T5077] Rebooting in 86400 seconds..