DUID 00:04:dc:6c:a8:75:19:b8:f7:30:df:f1:e8:1e:24:9d:66:1e forked to background, child pid 4644 [ 34.668390][ T4645] 8021q: adding VLAN 0 to HW filter on device bond0 [ 34.678136][ T4645] eql: remember to turn off Van-Jacobson compression on your slave devices Starting sshd: OK syzkaller syzkaller login: [ 76.323846][ T898] cfg80211: failed to load regulatory.db Warning: Permanently added '10.128.1.102' (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 [ 573.729890][ T7347] ================================================================== [ 573.737998][ T7347] BUG: KASAN: use-after-free in io_wq_worker_running+0x114/0x130 [ 573.745794][ T7347] Read of size 4 at addr ffff88807d07d004 by task iou-wrk-7345/7347 [ 573.753760][ T7347] [ 573.756070][ T7347] CPU: 0 PID: 7347 Comm: iou-wrk-7345 Not tainted 6.2.0-rc3-syzkaller-00021-g7dd4b804e080 #0 [ 573.766208][ T7347] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 573.776250][ T7347] Call Trace: [ 573.779519][ T7347] [ 573.782444][ T7347] dump_stack_lvl+0xd1/0x138 [ 573.787047][ T7347] print_report+0x15e/0x45d [ 573.791585][ T7347] ? __phys_addr+0xc8/0x140 [ 573.796094][ T7347] ? io_wq_worker_running+0x114/0x130 [ 573.801466][ T7347] kasan_report+0xbf/0x1f0 [ 573.805933][ T7347] ? io_wq_worker_running+0x114/0x130 [ 573.811322][ T7347] io_wq_worker_running+0x114/0x130 [ 573.816516][ T7347] schedule_preempt_disabled+0x13/0x20 [ 573.821994][ T7347] __mutex_lock+0xa48/0x1360 [ 573.826612][ T7347] ? io_buffer_select+0x8e5/0xbe0 [ 573.831632][ T7347] ? mutex_lock_io_nested+0x11a0/0x11a0 [ 573.837177][ T7347] ? __xa_clear_mark+0x120/0x120 [ 573.842116][ T7347] io_buffer_select+0x8e5/0xbe0 [ 573.846985][ T7347] io_recv+0x851/0x1140 [ 573.851129][ T7347] ? io_recvmsg+0x1e00/0x1e00 [ 573.855796][ T7347] ? lockdep_hardirqs_on_prepare+0x410/0x410 [ 573.861781][ T7347] ? __lock_acquire+0x166e/0x56d0 [ 573.866802][ T7347] ? find_held_lock+0x2d/0x110 [ 573.871589][ T7347] ? io_recvmsg+0x1e00/0x1e00 [ 573.876255][ T7347] io_issue_sqe+0x156/0x1220 [ 573.880882][ T7347] ? do_raw_spin_lock+0x124/0x2b0 [ 573.885898][ T7347] io_wq_submit_work+0x29c/0xdc0 [ 573.890832][ T7347] io_worker_handle_work+0xc41/0x1c60 [ 573.896212][ T7347] io_wqe_worker+0xa5b/0xe40 [ 573.900799][ T7347] ? io_worker_handle_work+0x1c60/0x1c60 [ 573.906430][ T7347] ? ret_from_fork+0x8/0x30 [ 573.910927][ T7347] ? lock_downgrade+0x6e0/0x6e0 [ 573.915768][ T7347] ? do_raw_spin_lock+0x124/0x2b0 [ 573.920781][ T7347] ? rwlock_bug.part.0+0x90/0x90 [ 573.925711][ T7347] ? _raw_spin_unlock_irq+0x23/0x50 [ 573.930905][ T7347] ? io_worker_handle_work+0x1c60/0x1c60 [ 573.936538][ T7347] ret_from_fork+0x1f/0x30 [ 573.940956][ T7347] [ 573.943961][ T7347] [ 573.946270][ T7347] Allocated by task 7345: [ 573.950575][ T7347] kasan_save_stack+0x22/0x40 [ 573.955240][ T7347] kasan_set_track+0x25/0x30 [ 573.959818][ T7347] __kasan_kmalloc+0xa5/0xb0 [ 573.964452][ T7347] create_io_worker+0x10c/0x630 [ 573.969297][ T7347] io_wqe_enqueue+0x6c3/0xbc0 [ 573.973967][ T7347] io_queue_iowq+0x282/0x5c0 [ 573.978548][ T7347] io_queue_sqe_fallback+0xf3/0x190 [ 573.983740][ T7347] io_submit_sqes+0x11db/0x1e60 [ 573.988583][ T7347] __do_sys_io_uring_enter+0xc1d/0x2540 [ 573.994124][ T7347] do_syscall_64+0x39/0xb0 [ 573.998532][ T7347] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 574.004463][ T7347] [ 574.006806][ T7347] Freed by task 7347: [ 574.010771][ T7347] kasan_save_stack+0x22/0x40 [ 574.015456][ T7347] kasan_set_track+0x25/0x30 [ 574.020051][ T7347] kasan_save_free_info+0x2e/0x40 [ 574.025151][ T7347] ____kasan_slab_free+0x160/0x1c0 [ 574.030249][ T7347] slab_free_freelist_hook+0x8b/0x1c0 [ 574.035657][ T7347] __kmem_cache_free+0xaf/0x3b0 [ 574.040521][ T7347] io_queue_worker_create+0x567/0x660 [ 574.045886][ T7347] io_wqe_dec_running+0x1e4/0x240 [ 574.050923][ T7347] io_wq_worker_sleeping+0xa6/0xc0 [ 574.056030][ T7347] schedule+0x16e/0x1b0 [ 574.060201][ T7347] schedule_preempt_disabled+0x13/0x20 [ 574.065668][ T7347] __mutex_lock+0xa48/0x1360 [ 574.070255][ T7347] io_buffer_select+0x8e5/0xbe0 [ 574.075110][ T7347] io_recv+0x851/0x1140 [ 574.079261][ T7347] io_issue_sqe+0x156/0x1220 [ 574.083848][ T7347] io_wq_submit_work+0x29c/0xdc0 [ 574.088777][ T7347] io_worker_handle_work+0xc41/0x1c60 [ 574.094165][ T7347] io_wqe_worker+0xa5b/0xe40 [ 574.098750][ T7347] ret_from_fork+0x1f/0x30 [ 574.103158][ T7347] [ 574.105468][ T7347] Last potentially related work creation: [ 574.111163][ T7347] kasan_save_stack+0x22/0x40 [ 574.115926][ T7347] __kasan_record_aux_stack+0xbc/0xd0 [ 574.121291][ T7347] task_work_add+0x7f/0x2c0 [ 574.125792][ T7347] io_queue_worker_create+0x41d/0x660 [ 574.131179][ T7347] io_wqe_dec_running+0x1e4/0x240 [ 574.136217][ T7347] io_wq_worker_sleeping+0xa6/0xc0 [ 574.141335][ T7347] schedule+0x16e/0x1b0 [ 574.145486][ T7347] schedule_preempt_disabled+0x13/0x20 [ 574.150941][ T7347] __mutex_lock+0xa48/0x1360 [ 574.155518][ T7347] io_buffer_select+0x8e5/0xbe0 [ 574.160362][ T7347] io_recv+0x851/0x1140 [ 574.164503][ T7347] io_issue_sqe+0x156/0x1220 [ 574.169090][ T7347] io_wq_submit_work+0x29c/0xdc0 [ 574.174019][ T7347] io_worker_handle_work+0xc41/0x1c60 [ 574.179382][ T7347] io_wqe_worker+0xa5b/0xe40 [ 574.183965][ T7347] ret_from_fork+0x1f/0x30 [ 574.188370][ T7347] [ 574.190681][ T7347] The buggy address belongs to the object at ffff88807d07d000 [ 574.190681][ T7347] which belongs to the cache kmalloc-512 of size 512 [ 574.204720][ T7347] The buggy address is located 4 bytes inside of [ 574.204720][ T7347] 512-byte region [ffff88807d07d000, ffff88807d07d200) [ 574.217804][ T7347] [ 574.220111][ T7347] The buggy address belongs to the physical page: [ 574.226504][ T7347] page:ffffea0001f41f00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x7d07c [ 574.236666][ T7347] head:ffffea0001f41f00 order:2 compound_mapcount:0 subpages_mapcount:0 compound_pincount:0 [ 574.246730][ T7347] flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) [ 574.254701][ T7347] raw: 00fff00000010200 ffff888012441c80 dead000000000122 0000000000000000 [ 574.263278][ T7347] raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000 [ 574.271842][ T7347] page dumped because: kasan: bad access detected [ 574.278238][ T7347] page_owner tracks the page as allocated [ 574.283936][ T7347] page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 7295, tgid 7294 (syz-executor472), ts 573234305610, free_ts 572226277677 [ 574.305719][ T7347] get_page_from_freelist+0x119c/0x2ce0 [ 574.311317][ T7347] __alloc_pages+0x1cb/0x5b0 [ 574.315902][ T7347] allocate_slab+0xa7/0x350 [ 574.320401][ T7347] ___slab_alloc+0xa91/0x1400 [ 574.325082][ T7347] __slab_alloc.constprop.0+0x56/0xa0 [ 574.330441][ T7347] __kmem_cache_alloc_node+0x1a4/0x430 [ 574.335892][ T7347] kmalloc_node_trace+0x21/0x60 [ 574.340778][ T7347] create_io_worker+0x10c/0x630 [ 574.345622][ T7347] io_wqe_enqueue+0x6c3/0xbc0 [ 574.350291][ T7347] io_queue_iowq+0x282/0x5c0 [ 574.354874][ T7347] io_queue_sqe_fallback+0xf3/0x190 [ 574.360063][ T7347] io_submit_sqes+0x11db/0x1e60 [ 574.364905][ T7347] __do_sys_io_uring_enter+0xc1d/0x2540 [ 574.370465][ T7347] do_syscall_64+0x39/0xb0 [ 574.374894][ T7347] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 574.380779][ T7347] page last free stack trace: [ 574.385440][ T7347] free_pcp_prepare+0x65c/0xc00 [ 574.390282][ T7347] free_unref_page+0x1d/0x490 [ 574.394948][ T7347] __unfreeze_partials+0x17c/0x1a0 [ 574.400056][ T7347] qlist_free_all+0x6a/0x170 [ 574.404679][ T7347] kasan_quarantine_reduce+0x192/0x220 [ 574.410129][ T7347] __kasan_slab_alloc+0x66/0x90 [ 574.414967][ T7347] __kmem_cache_alloc_node+0x1ea/0x430 [ 574.420413][ T7347] kmalloc_node_trace+0x21/0x60 [ 574.425255][ T7347] create_io_worker+0x10c/0x630 [ 574.430103][ T7347] io_wqe_enqueue+0x6c3/0xbc0 [ 574.434770][ T7347] io_queue_iowq+0x282/0x5c0 [ 574.439350][ T7347] io_queue_sqe_fallback+0xf3/0x190 [ 574.444541][ T7347] io_submit_sqes+0x11db/0x1e60 [ 574.449390][ T7347] __do_sys_io_uring_enter+0xc1d/0x2540 [ 574.454927][ T7347] do_syscall_64+0x39/0xb0 [ 574.459360][ T7347] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 574.465246][ T7347] [ 574.467557][ T7347] Memory state around the buggy address: [ 574.473168][ T7347] ffff88807d07cf00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 574.481219][ T7347] ffff88807d07cf80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 574.489274][ T7347] >ffff88807d07d000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 574.497318][ T7347] ^ [ 574.501365][ T7347] ffff88807d07d080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 574.509413][ T7347] ffff88807d07d100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 574.517455][ T7347] ================================================================== [ 574.560259][ T7347] Kernel panic - not syncing: KASAN: panic_on_warn set ... [ 574.567490][ T7347] CPU: 0 PID: 7347 Comm: iou-wrk-7345 Not tainted 6.2.0-rc3-syzkaller-00021-g7dd4b804e080 #0 [ 574.577638][ T7347] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 574.587683][ T7347] Call Trace: [ 574.590951][ T7347] [ 574.593872][ T7347] dump_stack_lvl+0xd1/0x138 [ 574.598464][ T7347] panic+0x2cc/0x626 [ 574.602378][ T7347] ? panic_print_sys_info.part.0+0x110/0x110 [ 574.608360][ T7347] ? preempt_schedule_thunk+0x1a/0x20 [ 574.613733][ T7347] ? preempt_schedule_common+0x59/0xc0 [ 574.619218][ T7347] check_panic_on_warn.cold+0x19/0x35 [ 574.624593][ T7347] end_report.part.0+0x36/0x73 [ 574.629526][ T7347] ? io_wq_worker_running+0x114/0x130 [ 574.634893][ T7347] kasan_report.cold+0xa/0xf [ 574.639484][ T7347] ? io_wq_worker_running+0x114/0x130 [ 574.644853][ T7347] io_wq_worker_running+0x114/0x130 [ 574.650048][ T7347] schedule_preempt_disabled+0x13/0x20 [ 574.655504][ T7347] __mutex_lock+0xa48/0x1360 [ 574.660087][ T7347] ? io_buffer_select+0x8e5/0xbe0 [ 574.665109][ T7347] ? mutex_lock_io_nested+0x11a0/0x11a0 [ 574.670654][ T7347] ? __xa_clear_mark+0x120/0x120 [ 574.675584][ T7347] io_buffer_select+0x8e5/0xbe0 [ 574.680430][ T7347] io_recv+0x851/0x1140 [ 574.684574][ T7347] ? io_recvmsg+0x1e00/0x1e00 [ 574.689240][ T7347] ? lockdep_hardirqs_on_prepare+0x410/0x410 [ 574.695239][ T7347] ? __lock_acquire+0x166e/0x56d0 [ 574.700264][ T7347] ? find_held_lock+0x2d/0x110 [ 574.705034][ T7347] ? io_recvmsg+0x1e00/0x1e00 [ 574.709704][ T7347] io_issue_sqe+0x156/0x1220 [ 574.714292][ T7347] ? do_raw_spin_lock+0x124/0x2b0 [ 574.719337][ T7347] io_wq_submit_work+0x29c/0xdc0 [ 574.724275][ T7347] io_worker_handle_work+0xc41/0x1c60 [ 574.729658][ T7347] io_wqe_worker+0xa5b/0xe40 [ 574.734250][ T7347] ? io_worker_handle_work+0x1c60/0x1c60 [ 574.739884][ T7347] ? ret_from_fork+0x8/0x30 [ 574.744382][ T7347] ? lock_downgrade+0x6e0/0x6e0 [ 574.749223][ T7347] ? do_raw_spin_lock+0x124/0x2b0 [ 574.754245][ T7347] ? rwlock_bug.part.0+0x90/0x90 [ 574.759175][ T7347] ? _raw_spin_unlock_irq+0x23/0x50 [ 574.764365][ T7347] ? io_worker_handle_work+0x1c60/0x1c60 [ 574.769992][ T7347] ret_from_fork+0x1f/0x30 [ 574.774408][ T7347] [ 574.777574][ T7347] Kernel Offset: disabled [ 574.781894][ T7347] Rebooting in 86400 seconds..