Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.75' (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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program 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: [ 69.209793][ T9695] ================================================================== [ 69.217894][ T9695] BUG: KASAN: use-after-free in __lock_acquire+0x3e6f/0x54c0 [ 69.225309][ T9695] Read of size 8 at addr ffff88801b3edcd0 by task iou-sqp-9689/9695 [ 69.233303][ T9695] [ 69.235638][ T9695] CPU: 1 PID: 9695 Comm: iou-sqp-9689 Not tainted 5.11.0-next-20210224-syzkaller #0 [ 69.245013][ T9695] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 69.257058][ T9695] Call Trace: [ 69.260358][ T9695] dump_stack+0xfa/0x151 [ 69.264643][ T9695] ? __lock_acquire+0x3e6f/0x54c0 [ 69.269681][ T9695] print_address_description.constprop.0.cold+0x5b/0x2f8 [ 69.276888][ T9695] ? __lock_acquire+0x3e6f/0x54c0 [ 69.281941][ T9695] ? __lock_acquire+0x3e6f/0x54c0 [ 69.287084][ T9695] kasan_report.cold+0x7c/0xd8 [ 69.291876][ T9695] ? __lock_acquire+0x3e6f/0x54c0 [ 69.297785][ T9695] __lock_acquire+0x3e6f/0x54c0 [ 69.302653][ T9695] ? lock_acquire+0x1bb/0x730 [ 69.307356][ T9695] ? lockdep_hardirqs_on_prepare+0x400/0x400 [ 69.313465][ T9695] lock_acquire+0x1ab/0x730 [ 69.317987][ T9695] ? try_to_wake_up+0x98/0x14a0 [ 69.323744][ T9695] ? lock_release+0x710/0x710 [ 69.328445][ T9695] ? lock_downgrade+0x6d0/0x6d0 [ 69.333332][ T9695] ? __cpuhp_state_remove_instance+0x15e/0x5b0 [ 69.339634][ T9695] ? lock_is_held_type+0xd5/0x130 [ 69.344686][ T9695] ? _raw_spin_lock_irqsave+0x4e/0x50 [ 69.350168][ T9695] ? io_sq_thread+0x95b/0x19a0 [ 69.354958][ T9695] ? io_sq_thread+0x95b/0x19a0 [ 69.359761][ T9695] _raw_spin_lock_irqsave+0x39/0x50 [ 69.364988][ T9695] ? try_to_wake_up+0x98/0x14a0 [ 69.373159][ T9695] try_to_wake_up+0x98/0x14a0 [ 69.377904][ T9695] ? migrate_swap_stop+0x9f0/0x9f0 [ 69.383123][ T9695] ? __sanitizer_cov_trace_const_cmp4+0x1c/0x70 [ 69.389387][ T9695] ? __cpuhp_state_remove_instance+0x3de/0x5b0 [ 69.395567][ T9695] ? io_sq_thread+0x95b/0x19a0 [ 69.400368][ T9695] io_wq_destroy+0x74/0x3d0 [ 69.404979][ T9695] ? io_sq_thread+0x95b/0x19a0 [ 69.409803][ T9695] __io_uring_files_cancel+0x195/0x230 [ 69.415350][ T9695] ? __io_uring_free+0xc0/0xc0 [ 69.420149][ T9695] ? __sanitizer_cov_trace_const_cmp4+0x1c/0x70 [ 69.426415][ T9695] ? __validate_process_creds+0x20c/0x370 [ 69.432159][ T9695] ? io_sq_thread+0x95b/0x19a0 [ 69.436943][ T9695] do_exit+0x299/0x2a60 [ 69.441123][ T9695] ? find_held_lock+0x2d/0x110 [ 69.445905][ T9695] ? lock_release+0x3bb/0x710 [ 69.451144][ T9695] ? mm_update_next_owner+0x7a0/0x7a0 [ 69.456806][ T9695] ? lock_downgrade+0x6d0/0x6d0 [ 69.461781][ T9695] ? io_sq_thread+0x95b/0x19a0 [ 69.466910][ T9695] ? io_sq_thread+0x95b/0x19a0 [ 69.471694][ T9695] ? _raw_spin_unlock_irqrestore+0x28/0x50 [ 69.477696][ T9695] ? io_sq_thread+0x95b/0x19a0 [ 69.482586][ T9695] ? io_sq_thread+0x95b/0x19a0 [ 69.487374][ T9695] io_sq_thread+0x1231/0x19a0 [ 69.492080][ T9695] ? io_submit_sqes+0x63d0/0x63d0 [ 69.497464][ T9695] ? lock_release+0x3bb/0x710 [ 69.502787][ T9695] ? ret_from_fork+0x8/0x30 [ 69.507303][ T9695] ? finish_wait+0x260/0x260 [ 69.511906][ T9695] ? rwlock_bug.part.0+0x90/0x90 [ 69.516862][ T9695] ? _raw_spin_unlock_irq+0x1f/0x40 [ 69.522076][ T9695] ? io_submit_sqes+0x63d0/0x63d0 [ 69.527290][ T9695] ret_from_fork+0x1f/0x30 [ 69.531744][ T9695] [ 69.534072][ T9695] Allocated by task 9689: [ 69.538397][ T9695] kasan_save_stack+0x1b/0x40 [ 69.543104][ T9695] __kasan_slab_alloc+0x75/0x90 [ 69.547962][ T9695] kmem_cache_alloc_node+0x16d/0x3c0 [ 69.553253][ T9695] copy_process+0x613/0x6fd0 [ 69.557853][ T9695] kernel_clone+0xe7/0xab0 [ 69.562283][ T9695] io_wq_fork_thread+0xa7/0xe0 [ 69.567066][ T9695] io_wq_create+0x81c/0xab0 [ 69.571585][ T9695] io_uring_alloc_task_context+0x185/0x510 [ 69.577407][ T9695] io_uring_setup+0x1e00/0x2c20 [ 69.582281][ T9695] do_syscall_64+0x2d/0x70 [ 69.586715][ T9695] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 69.592617][ T9695] [ 69.594942][ T9695] Freed by task 18: [ 69.598746][ T9695] kasan_save_stack+0x1b/0x40 [ 69.603434][ T9695] kasan_set_track+0x1c/0x30 [ 69.608030][ T9695] kasan_set_free_info+0x20/0x30 [ 69.612984][ T9695] __kasan_slab_free+0xf5/0x130 [ 69.617851][ T9695] slab_free_freelist_hook+0x72/0x1b0 [ 69.623268][ T9695] kmem_cache_free+0x8b/0x730 [ 69.627963][ T9695] __put_task_struct+0x267/0x3f0 [ 69.633771][ T9695] delayed_put_task_struct+0x1f6/0x340 [ 69.639351][ T9695] rcu_core+0x722/0x1280 [ 69.643713][ T9695] __do_softirq+0x29b/0x9f6 [ 69.648229][ T9695] [ 69.650550][ T9695] Last potentially related work creation: [ 69.656259][ T9695] kasan_save_stack+0x1b/0x40 [ 69.660960][ T9695] kasan_record_aux_stack+0xe5/0x110 [ 69.666258][ T9695] call_rcu+0xb1/0x700 [ 69.670336][ T9695] put_task_struct_rcu_user+0x7f/0xb0 [ 69.675719][ T9695] __schedule+0x914/0x21a0 [ 69.680152][ T9695] preempt_schedule_common+0x45/0xc0 [ 69.685534][ T9695] preempt_schedule_thunk+0x16/0x18 [ 69.690892][ T9695] _raw_spin_unlock_irqrestore+0x46/0x50 [ 69.696556][ T9695] io_wq_manager+0x13c/0x5b0 [ 69.701164][ T9695] ret_from_fork+0x1f/0x30 [ 69.705592][ T9695] [ 69.707915][ T9695] The buggy address belongs to the object at ffff88801b3ed400 [ 69.707915][ T9695] which belongs to the cache task_struct of size 6912 [ 69.722065][ T9695] The buggy address is located 2256 bytes inside of [ 69.722065][ T9695] 6912-byte region [ffff88801b3ed400, ffff88801b3eef00) [ 69.736398][ T9695] The buggy address belongs to the page: [ 69.742029][ T9695] page:000000001beb3d64 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1b3e8 [ 69.752202][ T9695] head:000000001beb3d64 order:3 compound_mapcount:0 compound_pincount:0 [ 69.760626][ T9695] flags: 0xfff00000010200(slab|head) [ 69.765928][ T9695] raw: 00fff00000010200 dead000000000100 dead000000000122 ffff888140004000 [ 69.774530][ T9695] raw: 0000000000000000 0000000000040004 00000001ffffffff 0000000000000000 [ 69.783115][ T9695] page dumped because: kasan: bad access detected [ 69.789522][ T9695] [ 69.791865][ T9695] Memory state around the buggy address: [ 69.797840][ T9695] ffff88801b3edb80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 69.805909][ T9695] ffff88801b3edc00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 69.814077][ T9695] >ffff88801b3edc80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 69.822155][ T9695] ^ [ 69.828837][ T9695] ffff88801b3edd00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 69.836992][ T9695] ffff88801b3edd80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 69.845944][ T9695] ================================================================== [ 69.854131][ T9695] Disabling lock debugging due to kernel taint [ 69.860316][ T9695] Kernel panic - not syncing: panic_on_warn set ... [ 69.866899][ T9695] CPU: 1 PID: 9695 Comm: iou-sqp-9689 Tainted: G B 5.11.0-next-20210224-syzkaller #0 [ 69.877663][ T9695] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 69.887719][ T9695] Call Trace: [ 69.891088][ T9695] dump_stack+0xfa/0x151 [ 69.895346][ T9695] panic+0x306/0x73d [ 69.899250][ T9695] ? __warn_printk+0xf3/0xf3 [ 69.903866][ T9695] ? __lock_acquire+0x3e6f/0x54c0 [ 69.908914][ T9695] ? __lock_acquire+0x3e6f/0x54c0 [ 69.913947][ T9695] ? __lock_acquire+0x3e6f/0x54c0 [ 69.918976][ T9695] end_report.cold+0x5a/0x5a [ 69.923577][ T9695] kasan_report.cold+0x6a/0xd8 [ 69.928368][ T9695] ? __lock_acquire+0x3e6f/0x54c0 [ 69.933410][ T9695] __lock_acquire+0x3e6f/0x54c0 [ 69.938273][ T9695] ? lock_acquire+0x1bb/0x730 [ 69.942963][ T9695] ? lockdep_hardirqs_on_prepare+0x400/0x400 [ 69.949042][ T9695] lock_acquire+0x1ab/0x730 [ 69.953551][ T9695] ? try_to_wake_up+0x98/0x14a0 [ 69.958428][ T9695] ? lock_release+0x710/0x710 [ 69.963119][ T9695] ? lock_downgrade+0x6d0/0x6d0 [ 69.967973][ T9695] ? __cpuhp_state_remove_instance+0x15e/0x5b0 [ 69.974139][ T9695] ? lock_is_held_type+0xd5/0x130 [ 69.979174][ T9695] ? _raw_spin_lock_irqsave+0x4e/0x50 [ 69.984555][ T9695] ? io_sq_thread+0x95b/0x19a0 [ 69.989330][ T9695] ? io_sq_thread+0x95b/0x19a0 [ 69.994101][ T9695] _raw_spin_lock_irqsave+0x39/0x50 [ 69.999327][ T9695] ? try_to_wake_up+0x98/0x14a0 [ 70.004882][ T9695] try_to_wake_up+0x98/0x14a0 [ 70.009573][ T9695] ? migrate_swap_stop+0x9f0/0x9f0 [ 70.014698][ T9695] ? __sanitizer_cov_trace_const_cmp4+0x1c/0x70 [ 70.020953][ T9695] ? __cpuhp_state_remove_instance+0x3de/0x5b0 [ 70.027137][ T9695] ? io_sq_thread+0x95b/0x19a0 [ 70.032000][ T9695] io_wq_destroy+0x74/0x3d0 [ 70.036540][ T9695] ? io_sq_thread+0x95b/0x19a0 [ 70.041397][ T9695] __io_uring_files_cancel+0x195/0x230 [ 70.046867][ T9695] ? __io_uring_free+0xc0/0xc0 [ 70.051642][ T9695] ? __sanitizer_cov_trace_const_cmp4+0x1c/0x70 [ 70.057891][ T9695] ? __validate_process_creds+0x20c/0x370 [ 70.063621][ T9695] ? io_sq_thread+0x95b/0x19a0 [ 70.068393][ T9695] do_exit+0x299/0x2a60 [ 70.072589][ T9695] ? find_held_lock+0x2d/0x110 [ 70.077361][ T9695] ? lock_release+0x3bb/0x710 [ 70.082043][ T9695] ? mm_update_next_owner+0x7a0/0x7a0 [ 70.087444][ T9695] ? lock_downgrade+0x6d0/0x6d0 [ 70.092307][ T9695] ? io_sq_thread+0x95b/0x19a0 [ 70.097081][ T9695] ? io_sq_thread+0x95b/0x19a0 [ 70.101853][ T9695] ? _raw_spin_unlock_irqrestore+0x28/0x50 [ 70.107967][ T9695] ? io_sq_thread+0x95b/0x19a0 [ 70.112743][ T9695] ? io_sq_thread+0x95b/0x19a0 [ 70.117516][ T9695] io_sq_thread+0x1231/0x19a0 [ 70.122223][ T9695] ? io_submit_sqes+0x63d0/0x63d0 [ 70.127265][ T9695] ? lock_release+0x3bb/0x710 [ 70.131958][ T9695] ? ret_from_fork+0x8/0x30 [ 70.136471][ T9695] ? finish_wait+0x260/0x260 [ 70.141065][ T9695] ? rwlock_bug.part.0+0x90/0x90 [ 70.146019][ T9695] ? _raw_spin_unlock_irq+0x1f/0x40 [ 70.151314][ T9695] ? io_submit_sqes+0x63d0/0x63d0 [ 70.156350][ T9695] ret_from_fork+0x1f/0x30 [ 70.161375][ T9695] Kernel Offset: disabled [ 70.165922][ T9695] Rebooting in 86400 seconds..