DUID 00:04:bb:a2:40:ae:48:ac:17:b5:4c:fd:37:63:df:39:12:a9 forked to background, child pid 4644 [ 34.586857][ T4645] 8021q: adding VLAN 0 to HW filter on device bond0 [ 34.606165][ T4645] eql: remember to turn off Van-Jacobson compression on your slave devices Starting sshd: OK syzkaller syzkaller login: [ 76.315860][ T2544] cfg80211: failed to load regulatory.db Warning: Permanently added '10.128.0.145' (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 [ 198.904260][T14024] ================================================================== [ 198.912455][T14024] BUG: KASAN: use-after-free in io_wq_worker_running+0x114/0x130 [ 198.920190][T14024] Read of size 4 at addr ffff8880711eec04 by task iou-wrk-14021/14024 [ 198.928328][T14024] [ 198.930646][T14024] CPU: 1 PID: 14024 Comm: iou-wrk-14021 Not tainted 6.2.0-rc2-syzkaller-00313-g9b43a525db12 #0 [ 198.940987][T14024] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 198.951057][T14024] Call Trace: [ 198.954328][T14024] [ 198.957259][T14024] dump_stack_lvl+0xd1/0x138 [ 198.961850][T14024] print_report+0x15e/0x45d [ 198.966355][T14024] ? __phys_addr+0xc8/0x140 [ 198.970864][T14024] ? io_wq_worker_running+0x114/0x130 [ 198.976233][T14024] kasan_report+0xbf/0x1f0 [ 198.980642][T14024] ? io_wq_worker_running+0x114/0x130 [ 198.986024][T14024] io_wq_worker_running+0x114/0x130 [ 198.991232][T14024] schedule_preempt_disabled+0x13/0x20 [ 198.996697][T14024] __mutex_lock+0xa48/0x1360 [ 199.001286][T14024] ? io_buffer_select+0x8e5/0xbe0 [ 199.006308][T14024] ? mutex_lock_io_nested+0x11a0/0x11a0 [ 199.011842][T14024] ? __xa_clear_mark+0x120/0x120 [ 199.016770][T14024] io_buffer_select+0x8e5/0xbe0 [ 199.021616][T14024] io_recv+0x851/0x1140 [ 199.025761][T14024] ? io_recvmsg+0x1e00/0x1e00 [ 199.030428][T14024] ? lockdep_hardirqs_on_prepare+0x410/0x410 [ 199.036401][T14024] ? __lock_acquire+0x166e/0x56d0 [ 199.041424][T14024] ? find_held_lock+0x2d/0x110 [ 199.046187][T14024] ? io_recvmsg+0x1e00/0x1e00 [ 199.050853][T14024] io_issue_sqe+0x156/0x1220 [ 199.055442][T14024] ? do_raw_spin_lock+0x124/0x2b0 [ 199.060473][T14024] io_wq_submit_work+0x29c/0xdc0 [ 199.065413][T14024] io_worker_handle_work+0xc41/0x1c60 [ 199.070791][T14024] io_wqe_worker+0xa5b/0xe40 [ 199.075399][T14024] ? io_worker_handle_work+0x1c60/0x1c60 [ 199.081046][T14024] ? ret_from_fork+0x8/0x30 [ 199.085578][T14024] ? lock_downgrade+0x6e0/0x6e0 [ 199.090427][T14024] ? do_raw_spin_lock+0x124/0x2b0 [ 199.095443][T14024] ? rwlock_bug.part.0+0x90/0x90 [ 199.100372][T14024] ? _raw_spin_unlock_irq+0x23/0x50 [ 199.105653][T14024] ? io_worker_handle_work+0x1c60/0x1c60 [ 199.111286][T14024] ret_from_fork+0x1f/0x30 [ 199.115702][T14024] [ 199.118707][T14024] [ 199.121018][T14024] Allocated by task 14021: [ 199.125417][T14024] kasan_save_stack+0x22/0x40 [ 199.130088][T14024] kasan_set_track+0x25/0x30 [ 199.134668][T14024] __kasan_kmalloc+0xa5/0xb0 [ 199.139251][T14024] create_io_worker+0x10c/0x630 [ 199.144095][T14024] io_wqe_enqueue+0x6c3/0xbc0 [ 199.148784][T14024] io_queue_iowq+0x282/0x5c0 [ 199.153370][T14024] io_queue_sqe_fallback+0xf3/0x190 [ 199.158567][T14024] io_submit_sqes+0x11db/0x1e60 [ 199.163417][T14024] __do_sys_io_uring_enter+0xc1d/0x2540 [ 199.169220][T14024] do_syscall_64+0x39/0xb0 [ 199.173633][T14024] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 199.179535][T14024] [ 199.181849][T14024] Freed by task 14024: [ 199.185907][T14024] kasan_save_stack+0x22/0x40 [ 199.190572][T14024] kasan_set_track+0x25/0x30 [ 199.195151][T14024] kasan_save_free_info+0x2e/0x40 [ 199.200167][T14024] ____kasan_slab_free+0x160/0x1c0 [ 199.205275][T14024] slab_free_freelist_hook+0x8b/0x1c0 [ 199.210641][T14024] __kmem_cache_free+0xaf/0x3b0 [ 199.215479][T14024] io_queue_worker_create+0x567/0x660 [ 199.220842][T14024] io_wqe_dec_running+0x1e4/0x240 [ 199.225858][T14024] io_wq_worker_sleeping+0xa6/0xc0 [ 199.230962][T14024] schedule+0x16e/0x1b0 [ 199.235114][T14024] schedule_preempt_disabled+0x13/0x20 [ 199.240570][T14024] __mutex_lock+0xa48/0x1360 [ 199.245148][T14024] io_buffer_select+0x8e5/0xbe0 [ 199.250081][T14024] io_recv+0x851/0x1140 [ 199.254223][T14024] io_issue_sqe+0x156/0x1220 [ 199.258806][T14024] io_wq_submit_work+0x29c/0xdc0 [ 199.263737][T14024] io_worker_handle_work+0xc41/0x1c60 [ 199.269108][T14024] io_wqe_worker+0xa5b/0xe40 [ 199.273719][T14024] ret_from_fork+0x1f/0x30 [ 199.278162][T14024] [ 199.280475][T14024] Last potentially related work creation: [ 199.286333][T14024] kasan_save_stack+0x22/0x40 [ 199.291040][T14024] __kasan_record_aux_stack+0xbc/0xd0 [ 199.296419][T14024] task_work_add+0x7f/0x2c0 [ 199.300928][T14024] io_queue_worker_create+0x41d/0x660 [ 199.306300][T14024] io_wqe_dec_running+0x1e4/0x240 [ 199.311321][T14024] io_wq_worker_sleeping+0xa6/0xc0 [ 199.316458][T14024] schedule+0x16e/0x1b0 [ 199.320612][T14024] schedule_preempt_disabled+0x13/0x20 [ 199.326071][T14024] __mutex_lock+0xa48/0x1360 [ 199.330673][T14024] io_buffer_select+0x8e5/0xbe0 [ 199.335518][T14024] io_recv+0x851/0x1140 [ 199.339678][T14024] io_issue_sqe+0x156/0x1220 [ 199.344262][T14024] io_wq_submit_work+0x29c/0xdc0 [ 199.349194][T14024] io_worker_handle_work+0xc41/0x1c60 [ 199.354577][T14024] io_wqe_worker+0xa5b/0xe40 [ 199.359165][T14024] ret_from_fork+0x1f/0x30 [ 199.363584][T14024] [ 199.365897][T14024] The buggy address belongs to the object at ffff8880711eec00 [ 199.365897][T14024] which belongs to the cache kmalloc-512 of size 512 [ 199.379973][T14024] The buggy address is located 4 bytes inside of [ 199.379973][T14024] 512-byte region [ffff8880711eec00, ffff8880711eee00) [ 199.393061][T14024] [ 199.395376][T14024] The buggy address belongs to the physical page: [ 199.401770][T14024] page:ffffea0001c47b00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x711ec [ 199.411908][T14024] head:ffffea0001c47b00 order:2 compound_mapcount:0 subpages_mapcount:0 compound_pincount:0 [ 199.421977][T14024] flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) [ 199.429972][T14024] raw: 00fff00000010200 ffff888012441c80 ffffea0001c41300 dead000000000002 [ 199.438544][T14024] raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000 [ 199.447114][T14024] page dumped because: kasan: bad access detected [ 199.453509][T14024] page_owner tracks the page as allocated [ 199.459204][T14024] page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 10034, tgid 9964 (syz-executor298), ts 183338734897, free_ts 183321124718 [ 199.481094][T14024] get_page_from_freelist+0x119c/0x2ce0 [ 199.486645][T14024] __alloc_pages+0x1cb/0x5b0 [ 199.491243][T14024] allocate_slab+0xa7/0x350 [ 199.495742][T14024] ___slab_alloc+0xa91/0x1400 [ 199.500408][T14024] __slab_alloc.constprop.0+0x56/0xa0 [ 199.505790][T14024] __kmem_cache_alloc_node+0x1a4/0x430 [ 199.511239][T14024] kmalloc_node_trace+0x21/0x60 [ 199.516092][T14024] create_io_worker+0x10c/0x630 [ 199.520954][T14024] io_wqe_enqueue+0x6c3/0xbc0 [ 199.525625][T14024] io_queue_iowq+0x282/0x5c0 [ 199.530210][T14024] io_queue_sqe_fallback+0xf3/0x190 [ 199.535404][T14024] io_submit_sqes+0x11db/0x1e60 [ 199.540267][T14024] __do_sys_io_uring_enter+0xc1d/0x2540 [ 199.545808][T14024] do_syscall_64+0x39/0xb0 [ 199.550225][T14024] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 199.556131][T14024] page last free stack trace: [ 199.560790][T14024] free_pcp_prepare+0x65c/0xc00 [ 199.565631][T14024] free_unref_page+0x1d/0x490 [ 199.570355][T14024] __unfreeze_partials+0x17c/0x1a0 [ 199.575464][T14024] qlist_free_all+0x6a/0x170 [ 199.580045][T14024] kasan_quarantine_reduce+0x192/0x220 [ 199.585499][T14024] __kasan_slab_alloc+0x66/0x90 [ 199.590345][T14024] __kmem_cache_alloc_node+0x1ea/0x430 [ 199.595818][T14024] kmalloc_node_trace+0x21/0x60 [ 199.600680][T14024] create_io_worker+0x10c/0x630 [ 199.605533][T14024] io_wqe_enqueue+0x6c3/0xbc0 [ 199.610201][T14024] io_queue_iowq+0x282/0x5c0 [ 199.614803][T14024] io_queue_sqe_fallback+0xf3/0x190 [ 199.619995][T14024] io_submit_sqes+0x11db/0x1e60 [ 199.624840][T14024] __do_sys_io_uring_enter+0xc1d/0x2540 [ 199.630378][T14024] do_syscall_64+0x39/0xb0 [ 199.634793][T14024] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 199.640678][T14024] [ 199.643006][T14024] Memory state around the buggy address: [ 199.648624][T14024] ffff8880711eeb00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 199.656672][T14024] ffff8880711eeb80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 199.664716][T14024] >ffff8880711eec00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 199.672759][T14024] ^ [ 199.676822][T14024] ffff8880711eec80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 199.684885][T14024] ffff8880711eed00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 199.692957][T14024] ================================================================== [ 199.717345][T14024] Kernel panic - not syncing: KASAN: panic_on_warn set ... [ 199.724591][T14024] CPU: 1 PID: 14024 Comm: iou-wrk-14021 Not tainted 6.2.0-rc2-syzkaller-00313-g9b43a525db12 #0 [ 199.734935][T14024] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 199.744989][T14024] Call Trace: [ 199.748268][T14024] [ 199.751205][T14024] dump_stack_lvl+0xd1/0x138 [ 199.755807][T14024] panic+0x2cc/0x626 [ 199.759706][T14024] ? panic_print_sys_info.part.0+0x110/0x110 [ 199.765695][T14024] ? preempt_schedule_thunk+0x1a/0x20 [ 199.771077][T14024] ? preempt_schedule_common+0x59/0xc0 [ 199.776543][T14024] check_panic_on_warn.cold+0x19/0x35 [ 199.782029][T14024] end_report.part.0+0x36/0x73 [ 199.786818][T14024] ? io_wq_worker_running+0x114/0x130 [ 199.792197][T14024] kasan_report.cold+0xa/0xf [ 199.796789][T14024] ? io_wq_worker_running+0x114/0x130 [ 199.802158][T14024] io_wq_worker_running+0x114/0x130 [ 199.807361][T14024] schedule_preempt_disabled+0x13/0x20 [ 199.812839][T14024] __mutex_lock+0xa48/0x1360 [ 199.817436][T14024] ? io_buffer_select+0x8e5/0xbe0 [ 199.822529][T14024] ? mutex_lock_io_nested+0x11a0/0x11a0 [ 199.828085][T14024] ? __xa_clear_mark+0x120/0x120 [ 199.833028][T14024] io_buffer_select+0x8e5/0xbe0 [ 199.837875][T14024] io_recv+0x851/0x1140 [ 199.842035][T14024] ? io_recvmsg+0x1e00/0x1e00 [ 199.846723][T14024] ? lockdep_hardirqs_on_prepare+0x410/0x410 [ 199.852714][T14024] ? __lock_acquire+0x166e/0x56d0 [ 199.857741][T14024] ? find_held_lock+0x2d/0x110 [ 199.862509][T14024] ? io_recvmsg+0x1e00/0x1e00 [ 199.867181][T14024] io_issue_sqe+0x156/0x1220 [ 199.871766][T14024] ? do_raw_spin_lock+0x124/0x2b0 [ 199.876783][T14024] io_wq_submit_work+0x29c/0xdc0 [ 199.881713][T14024] io_worker_handle_work+0xc41/0x1c60 [ 199.887085][T14024] io_wqe_worker+0xa5b/0xe40 [ 199.891666][T14024] ? io_worker_handle_work+0x1c60/0x1c60 [ 199.897327][T14024] ? ret_from_fork+0x8/0x30 [ 199.901830][T14024] ? lock_downgrade+0x6e0/0x6e0 [ 199.906679][T14024] ? do_raw_spin_lock+0x124/0x2b0 [ 199.911702][T14024] ? rwlock_bug.part.0+0x90/0x90 [ 199.916632][T14024] ? _raw_spin_unlock_irq+0x23/0x50 [ 199.922447][T14024] ? io_worker_handle_work+0x1c60/0x1c60 [ 199.928087][T14024] ret_from_fork+0x1f/0x30 [ 199.932504][T14024] [ 199.935695][T14024] Kernel Offset: disabled [ 199.940016][T14024] Rebooting in 86400 seconds..