DUID 00:04:15:32:48:1d:3b:73:54:4f:46:a6:7d:b2:d0:ec:1f:b1 forked to background, child pid 4644 [ 34.880090][ T4645] 8021q: adding VLAN 0 to HW filter on device bond0 [ 34.889605][ T4645] eql: remember to turn off Van-Jacobson compression on your slave devices Starting sshd: OK syzkaller syzkaller login: [ 76.295488][ T7] cfg80211: failed to load regulatory.db Warning: Permanently added '10.128.1.8' (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 [ 185.535523][ T6485] ================================================================== [ 185.543634][ T6485] BUG: KASAN: use-after-free in io_wq_worker_running+0x114/0x130 [ 185.551409][ T6485] Read of size 4 at addr ffff888022186804 by task iou-wrk-6473/6485 [ 185.559407][ T6485] [ 185.561737][ T6485] CPU: 0 PID: 6485 Comm: iou-wrk-6473 Not tainted 6.2.0-rc3-syzkaller-00060-gc757fc92a3f7 #0 [ 185.571906][ T6485] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 185.581980][ T6485] Call Trace: [ 185.585273][ T6485] [ 185.588217][ T6485] dump_stack_lvl+0xd1/0x138 [ 185.592838][ T6485] print_report+0x15e/0x45d [ 185.597378][ T6485] ? __phys_addr+0xc8/0x140 [ 185.601911][ T6485] ? io_wq_worker_running+0x114/0x130 [ 185.607322][ T6485] kasan_report+0xbf/0x1f0 [ 185.611762][ T6485] ? io_wq_worker_running+0x114/0x130 [ 185.617172][ T6485] io_wq_worker_running+0x114/0x130 [ 185.622404][ T6485] schedule_preempt_disabled+0x13/0x20 [ 185.627898][ T6485] __mutex_lock+0xa48/0x1360 [ 185.632497][ T6485] ? io_wq_submit_work+0x5f7/0xdc0 [ 185.637628][ T6485] ? mutex_lock_io_nested+0x11a0/0x11a0 [ 185.643179][ T6485] ? find_held_lock+0x2d/0x110 [ 185.647965][ T6485] ? io_worker_handle_work+0x599/0x1c60 [ 185.653524][ T6485] ? lock_downgrade+0x6e0/0x6e0 [ 185.658380][ T6485] ? do_raw_spin_lock+0x124/0x2b0 [ 185.663413][ T6485] io_wq_submit_work+0x5f7/0xdc0 [ 185.668372][ T6485] io_worker_handle_work+0xc41/0x1c60 [ 185.673766][ T6485] io_wqe_worker+0xa5b/0xe40 [ 185.678372][ T6485] ? io_worker_handle_work+0x1c60/0x1c60 [ 185.684020][ T6485] ? ret_from_fork+0x8/0x30 [ 185.688539][ T6485] ? lock_downgrade+0x6e0/0x6e0 [ 185.693392][ T6485] ? do_raw_spin_lock+0x124/0x2b0 [ 185.698426][ T6485] ? rwlock_bug.part.0+0x90/0x90 [ 185.703375][ T6485] ? _raw_spin_unlock_irq+0x23/0x50 [ 185.708583][ T6485] ? io_worker_handle_work+0x1c60/0x1c60 [ 185.714232][ T6485] ret_from_fork+0x1f/0x30 [ 185.718669][ T6485] [ 185.721686][ T6485] [ 185.724003][ T6485] Allocated by task 6473: [ 185.728326][ T6485] kasan_save_stack+0x22/0x40 [ 185.733007][ T6485] kasan_set_track+0x25/0x30 [ 185.737598][ T6485] __kasan_kmalloc+0xa5/0xb0 [ 185.742190][ T6485] create_io_worker+0x10c/0x630 [ 185.747052][ T6485] io_wqe_enqueue+0x6c3/0xbc0 [ 185.751751][ T6485] io_queue_iowq+0x282/0x5c0 [ 185.756356][ T6485] io_queue_sqe_fallback+0xf3/0x190 [ 185.761565][ T6485] io_submit_sqes+0x11db/0x1e60 [ 185.766426][ T6485] __do_sys_io_uring_enter+0xc1d/0x2540 [ 185.771982][ T6485] do_syscall_64+0x39/0xb0 [ 185.776413][ T6485] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 185.782319][ T6485] [ 185.784638][ T6485] Freed by task 6485: [ 185.788610][ T6485] kasan_save_stack+0x22/0x40 [ 185.793290][ T6485] kasan_set_track+0x25/0x30 [ 185.797889][ T6485] kasan_save_free_info+0x2e/0x40 [ 185.802922][ T6485] ____kasan_slab_free+0x160/0x1c0 [ 185.808035][ T6485] slab_free_freelist_hook+0x8b/0x1c0 [ 185.813420][ T6485] __kmem_cache_free+0xaf/0x3b0 [ 185.818272][ T6485] io_queue_worker_create+0x567/0x660 [ 185.823670][ T6485] io_wqe_dec_running+0x1e4/0x240 [ 185.828704][ T6485] io_wq_worker_sleeping+0xa6/0xc0 [ 185.833827][ T6485] schedule+0x16e/0x1b0 [ 185.837995][ T6485] schedule_preempt_disabled+0x13/0x20 [ 185.843470][ T6485] __mutex_lock+0xa48/0x1360 [ 185.848061][ T6485] io_wq_submit_work+0x5f7/0xdc0 [ 185.853008][ T6485] io_worker_handle_work+0xc41/0x1c60 [ 185.858395][ T6485] io_wqe_worker+0xa5b/0xe40 [ 185.863012][ T6485] ret_from_fork+0x1f/0x30 [ 185.867443][ T6485] [ 185.869762][ T6485] Last potentially related work creation: [ 185.875466][ T6485] kasan_save_stack+0x22/0x40 [ 185.880148][ T6485] __kasan_record_aux_stack+0xbc/0xd0 [ 185.885528][ T6485] task_work_add+0x7f/0x2c0 [ 185.890041][ T6485] io_queue_worker_create+0x41d/0x660 [ 185.895425][ T6485] io_wqe_dec_running+0x1e4/0x240 [ 185.900459][ T6485] io_wq_worker_sleeping+0xa6/0xc0 [ 185.905580][ T6485] schedule+0x16e/0x1b0 [ 185.909746][ T6485] schedule_preempt_disabled+0x13/0x20 [ 185.915220][ T6485] __mutex_lock+0xa48/0x1360 [ 185.919811][ T6485] io_wq_submit_work+0x5f7/0xdc0 [ 185.924758][ T6485] io_worker_handle_work+0xc41/0x1c60 [ 185.930141][ T6485] io_wqe_worker+0xa5b/0xe40 [ 185.934740][ T6485] ret_from_fork+0x1f/0x30 [ 185.939165][ T6485] [ 185.941483][ T6485] The buggy address belongs to the object at ffff888022186800 [ 185.941483][ T6485] which belongs to the cache kmalloc-512 of size 512 [ 185.955537][ T6485] The buggy address is located 4 bytes inside of [ 185.955537][ T6485] 512-byte region [ffff888022186800, ffff888022186a00) [ 185.968638][ T6485] [ 185.970955][ T6485] The buggy address belongs to the physical page: [ 185.977358][ T6485] page:ffffea0000886100 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x22184 [ 185.987511][ T6485] head:ffffea0000886100 order:2 compound_mapcount:0 subpages_mapcount:0 compound_pincount:0 [ 185.997572][ T6485] flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) [ 186.005561][ T6485] raw: 00fff00000010200 ffff888012441c80 dead000000000122 0000000000000000 [ 186.014146][ T6485] raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000 [ 186.022722][ T6485] page dumped because: kasan: bad access detected [ 186.029123][ T6485] page_owner tracks the page as allocated [ 186.034828][ T6485] page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 6430, tgid 6420 (syz-executor127), ts 185130769293, free_ts 36123067660 [ 186.056541][ T6485] get_page_from_freelist+0x119c/0x2ce0 [ 186.062096][ T6485] __alloc_pages+0x1cb/0x5b0 [ 186.066694][ T6485] allocate_slab+0xa7/0x350 [ 186.071213][ T6485] ___slab_alloc+0xa91/0x1400 [ 186.075890][ T6485] __slab_alloc.constprop.0+0x56/0xa0 [ 186.081264][ T6485] __kmem_cache_alloc_node+0x1a4/0x430 [ 186.086728][ T6485] kmalloc_node_trace+0x21/0x60 [ 186.091607][ T6485] create_io_worker+0x10c/0x630 [ 186.096490][ T6485] io_wqe_enqueue+0x6c3/0xbc0 [ 186.101197][ T6485] io_queue_iowq+0x282/0x5c0 [ 186.105810][ T6485] io_queue_sqe_fallback+0xf3/0x190 [ 186.111023][ T6485] io_submit_sqes+0x11db/0x1e60 [ 186.115882][ T6485] __do_sys_io_uring_enter+0xc1d/0x2540 [ 186.121441][ T6485] do_syscall_64+0x39/0xb0 [ 186.125871][ T6485] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 186.131771][ T6485] page last free stack trace: [ 186.136472][ T6485] free_pcp_prepare+0x65c/0xc00 [ 186.141330][ T6485] free_unref_page+0x1d/0x490 [ 186.146014][ T6485] __unfreeze_partials+0x17c/0x1a0 [ 186.151142][ T6485] qlist_free_all+0x6a/0x170 [ 186.155743][ T6485] kasan_quarantine_reduce+0x192/0x220 [ 186.161219][ T6485] __kasan_slab_alloc+0x66/0x90 [ 186.166071][ T6485] __kmem_cache_alloc_node+0x1ea/0x430 [ 186.171534][ T6485] kmalloc_trace+0x26/0x60 [ 186.175960][ T6485] load_elf_binary+0x5ef/0x4f10 [ 186.180824][ T6485] bprm_execve+0x7ef/0x19f0 [ 186.185330][ T6485] do_execveat_common+0x724/0x890 [ 186.190360][ T6485] __x64_sys_execve+0x93/0xc0 [ 186.195044][ T6485] do_syscall_64+0x39/0xb0 [ 186.199474][ T6485] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 186.205373][ T6485] [ 186.207692][ T6485] Memory state around the buggy address: [ 186.213317][ T6485] ffff888022186700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 186.221394][ T6485] ffff888022186780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 186.229468][ T6485] >ffff888022186800: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 186.237531][ T6485] ^ [ 186.241596][ T6485] ffff888022186880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 186.249660][ T6485] ffff888022186900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 186.257715][ T6485] ================================================================== executing program [ 186.446184][ T6485] Kernel panic - not syncing: KASAN: panic_on_warn set ... [ 186.453417][ T6485] CPU: 1 PID: 6485 Comm: iou-wrk-6473 Not tainted 6.2.0-rc3-syzkaller-00060-gc757fc92a3f7 #0 [ 186.463591][ T6485] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 186.473664][ T6485] Call Trace: [ 186.476954][ T6485] [ 186.479898][ T6485] dump_stack_lvl+0xd1/0x138 [ 186.484522][ T6485] panic+0x2cc/0x626 [ 186.488449][ T6485] ? panic_print_sys_info.part.0+0x110/0x110 [ 186.494462][ T6485] ? preempt_schedule_thunk+0x1a/0x20 [ 186.499871][ T6485] ? preempt_schedule_common+0x59/0xc0 [ 186.505372][ T6485] check_panic_on_warn.cold+0x19/0x35 [ 186.510777][ T6485] end_report.part.0+0x36/0x73 [ 186.515577][ T6485] ? io_wq_worker_running+0x114/0x130 [ 186.520980][ T6485] kasan_report.cold+0xa/0xf [ 186.525607][ T6485] ? io_wq_worker_running+0x114/0x130 [ 186.531005][ T6485] io_wq_worker_running+0x114/0x130 [ 186.536198][ T6485] schedule_preempt_disabled+0x13/0x20 [ 186.541650][ T6485] __mutex_lock+0xa48/0x1360 [ 186.546230][ T6485] ? io_wq_submit_work+0x5f7/0xdc0 [ 186.551339][ T6485] ? mutex_lock_io_nested+0x11a0/0x11a0 [ 186.556869][ T6485] ? find_held_lock+0x2d/0x110 [ 186.561626][ T6485] ? io_worker_handle_work+0x599/0x1c60 [ 186.567163][ T6485] ? lock_downgrade+0x6e0/0x6e0 [ 186.571996][ T6485] ? do_raw_spin_lock+0x124/0x2b0 [ 186.577006][ T6485] io_wq_submit_work+0x5f7/0xdc0 [ 186.581935][ T6485] io_worker_handle_work+0xc41/0x1c60 [ 186.587302][ T6485] io_wqe_worker+0xa5b/0xe40 [ 186.591886][ T6485] ? io_worker_handle_work+0x1c60/0x1c60 [ 186.597511][ T6485] ? ret_from_fork+0x8/0x30 [ 186.602002][ T6485] ? lock_downgrade+0x6e0/0x6e0 [ 186.606836][ T6485] ? do_raw_spin_lock+0x124/0x2b0 [ 186.611844][ T6485] ? rwlock_bug.part.0+0x90/0x90 [ 186.616768][ T6485] ? _raw_spin_unlock_irq+0x23/0x50 [ 186.621953][ T6485] ? io_worker_handle_work+0x1c60/0x1c60 [ 186.627577][ T6485] ret_from_fork+0x1f/0x30 [ 186.631987][ T6485] [ 186.635145][ T6485] Kernel Offset: disabled [ 186.639462][ T6485] Rebooting in 86400 seconds..