syzkaller syzkaller login: [ 12.655175][ T23] kauditd_printk_skb: 60 callbacks suppressed [ 12.655182][ T23] audit: type=1400 audit(1635639298.040:71): avc: denied { transition } for pid=290 comm="sshd" path="/bin/sh" dev="sda1" ino=73 scontext=system_u:system_r:initrc_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 12.661671][ T23] audit: type=1400 audit(1635639298.050:72): avc: denied { write } for pid=290 comm="sh" path="pipe:[11352]" dev="pipefs" ino=11352 scontext=root:sysadm_r:sysadm_t tcontext=system_u:system_r:initrc_t tclass=fifo_file permissive=1 [ 13.988997][ T0] NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #08!!! [ 14.569072][ T0] NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #80!!! [ 32.429095][ T0] NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #82!!! Warning: Permanently added '10.128.0.60' (ECDSA) to the list of known hosts. executing program executing program [ 38.005801][ T23] audit: type=1400 audit(1635639323.390:73): avc: denied { execmem } for pid=365 comm="syz-executor107" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 38.640805][ T745] ================================================================== [ 38.649002][ T745] BUG: KASAN: double-free or invalid-free in kfree+0xd5/0x320 [ 38.656434][ T745] [ 38.658754][ T745] CPU: 1 PID: 745 Comm: syz-executor107 Not tainted 5.10.76-syzkaller-01178-g4944ec82ebb9 #0 [ 38.668879][ T745] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 38.678914][ T745] Call Trace: [ 38.682192][ T745] dump_stack_lvl+0x1e2/0x24b [ 38.686853][ T745] ? show_regs_print_info+0x18/0x18 [ 38.692050][ T745] ? devkmsg_release+0x127/0x127 [ 38.696975][ T745] ? kfree+0xd5/0x320 [ 38.700975][ T745] print_address_description+0x8d/0x3d0 [ 38.706505][ T745] ? debug_smp_processor_id+0x1c/0x20 [ 38.711854][ T745] ? kfree+0xd5/0x320 [ 38.715822][ T745] ? kfree+0xd5/0x320 [ 38.719805][ T745] kasan_report_invalid_free+0x58/0x130 [ 38.725338][ T745] ____kasan_slab_free+0x14b/0x170 [ 38.730444][ T745] __kasan_slab_free+0x11/0x20 [ 38.735193][ T745] slab_free_freelist_hook+0xcc/0x1a0 [ 38.740561][ T745] ? io_dismantle_req+0x9b0/0xd90 [ 38.745580][ T745] kfree+0xd5/0x320 [ 38.749373][ T745] ? __kasan_check_write+0x14/0x20 [ 38.754466][ T745] io_dismantle_req+0x9b0/0xd90 [ 38.759300][ T745] io_do_iopoll+0x13b4/0x23f0 [ 38.763965][ T745] ? __rcu_read_lock+0x50/0x50 [ 38.768713][ T745] ? io_iopoll_try_reap_events+0x290/0x290 [ 38.774502][ T745] ? __kasan_check_write+0x14/0x20 [ 38.779595][ T745] ? mutex_lock+0xa6/0x110 [ 38.783997][ T745] ? mutex_trylock+0xb0/0xb0 [ 38.788574][ T745] io_iopoll_try_reap_events+0x116/0x290 [ 38.794195][ T745] ? io_poll_remove_all+0x210/0x210 [ 38.799377][ T745] ? syscall_exit_to_user_mode+0x24/0x40 [ 38.804991][ T745] ? do_syscall_64+0x3d/0x70 [ 38.809563][ T745] ? entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 38.815612][ T745] io_uring_cancel_task_requests+0x196d/0x1ed0 [ 38.821752][ T745] ? __io_uring_files_cancel+0x350/0x350 [ 38.827370][ T745] ? __kasan_check_write+0x14/0x20 [ 38.832466][ T745] ? task_work_add+0x2bf/0x320 [ 38.837215][ T745] ? asan.module_dtor+0x20/0x20 [ 38.842049][ T745] io_uring_flush+0x170/0x6d0 [ 38.846711][ T745] ? fput_many+0x15a/0x1a0 [ 38.851113][ T745] ? io_uring_mmap+0x360/0x360 [ 38.855858][ T745] filp_close+0xb0/0x150 [ 38.860085][ T745] put_files_struct+0x1d4/0x350 [ 38.864923][ T745] exit_files+0x80/0xa0 [ 38.869062][ T745] do_exit+0x6d9/0x23a0 [ 38.873204][ T745] ? mm_update_next_owner+0x6e0/0x6e0 [ 38.878562][ T745] ? __kasan_check_write+0x14/0x20 [ 38.883657][ T745] ? _raw_spin_lock_irq+0xa4/0x1b0 [ 38.888751][ T745] do_group_exit+0x16a/0x2d0 [ 38.893325][ T745] get_signal+0x133e/0x1f80 [ 38.897818][ T745] ? __kasan_check_write+0x14/0x20 [ 38.902912][ T745] ? ptrace_notify+0x340/0x340 [ 38.907773][ T745] ? fput+0x1a/0x20 [ 38.911568][ T745] ? __se_sys_io_uring_enter+0xf3e/0x12b0 [ 38.917273][ T745] arch_do_signal+0x8d/0x620 [ 38.921936][ T745] ? __do_sys_rt_sigreturn+0x1e0/0x1e0 [ 38.927497][ T745] ? debug_smp_processor_id+0x1c/0x20 [ 38.932854][ T745] exit_to_user_mode_prepare+0xaa/0xe0 [ 38.938295][ T745] syscall_exit_to_user_mode+0x24/0x40 [ 38.943737][ T745] do_syscall_64+0x3d/0x70 [ 38.948137][ T745] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 38.954012][ T745] RIP: 0033:0x7f4c2f5144f9 [ 38.958405][ T745] Code: Unable to access opcode bytes at RIP 0x7f4c2f5144cf. [ 38.965755][ T745] RSP: 002b:00007f4c2f4a4218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca [ 38.974152][ T745] RAX: fffffffffffffe00 RBX: 00007f4c2f59c438 RCX: 00007f4c2f5144f9 [ 38.982107][ T745] RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f4c2f59c438 [ 38.990062][ T745] RBP: 00007f4c2f59c430 R08: 0000000000000000 R09: 0000000000000000 [ 38.998018][ T745] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4c2f59c43c [ 39.005973][ T745] R13: 00007ffd3aa4160f R14: 00007f4c2f4a4300 R15: 0000000000022000 [ 39.013931][ T745] [ 39.016246][ T745] Allocated by task 739: [ 39.020476][ T745] ____kasan_kmalloc+0xdc/0x110 [ 39.025309][ T745] __kasan_kmalloc+0x9/0x10 [ 39.029797][ T745] kmem_cache_alloc_trace+0x210/0x3a0 [ 39.035153][ T745] io_uring_alloc_task_context+0x57/0x550 [ 39.040855][ T745] io_uring_add_task_file+0x1f7/0x290 [ 39.046207][ T745] io_uring_create+0x2195/0x3490 [ 39.051127][ T745] __x64_sys_io_uring_setup+0x1ce/0x290 [ 39.056673][ T745] do_syscall_64+0x31/0x70 [ 39.061072][ T745] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 39.066941][ T745] [ 39.069255][ T745] The buggy address belongs to the object at ffff88811dccd600 [ 39.069255][ T745] which belongs to the cache kmalloc-192 of size 192 [ 39.083292][ T745] The buggy address is located 88 bytes inside of [ 39.083292][ T745] 192-byte region [ffff88811dccd600, ffff88811dccd6c0) [ 39.096449][ T745] The buggy address belongs to the page: [ 39.102077][ T745] page:ffffea0004773340 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x11dccd [ 39.112288][ T745] flags: 0x8000000000000200(slab) [ 39.117301][ T745] raw: 8000000000000200 dead000000000100 dead000000000122 ffff888100043380 [ 39.125867][ T745] raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000 [ 39.134426][ T745] page dumped because: kasan: bad access detected [ 39.140818][ T745] page_owner tracks the page as allocated [ 39.146526][ T745] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x12cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY), pid 719, ts 38590936224, free_ts 38401483063 [ 39.162475][ T745] get_page_from_freelist+0xa74/0xa90 [ 39.167831][ T745] __alloc_pages_nodemask+0x3c8/0x820 [ 39.173182][ T745] allocate_slab+0x6b/0x350 [ 39.177669][ T745] ___slab_alloc+0x143/0x2f0 [ 39.182246][ T745] kmem_cache_alloc_trace+0x278/0x3a0 [ 39.187598][ T745] io_uring_alloc_task_context+0x57/0x550 [ 39.193298][ T745] io_uring_create+0x27dc/0x3490 [ 39.198228][ T745] __x64_sys_io_uring_setup+0x1ce/0x290 [ 39.203754][ T745] do_syscall_64+0x31/0x70 [ 39.208153][ T745] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 39.214022][ T745] page last free stack trace: [ 39.218680][ T745] free_pcp_prepare+0x18f/0x1c0 [ 39.223515][ T745] __free_pages+0x2e3/0x4a0 [ 39.227999][ T745] free_pages+0x7c/0x90 [ 39.232138][ T745] tlb_finish_mmu+0x123/0x1f0 [ 39.236799][ T745] exit_mmap+0x2e8/0x570 [ 39.241021][ T745] __mmput+0x95/0x2c0 [ 39.244985][ T745] mmput+0x4b/0x50 [ 39.248702][ T745] exit_mm+0x615/0x7e0 [ 39.252757][ T745] do_exit+0x6c4/0x23a0 [ 39.256895][ T745] do_group_exit+0x16a/0x2d0 [ 39.261465][ T745] get_signal+0x133e/0x1f80 [ 39.265954][ T745] arch_do_signal+0x8d/0x620 [ 39.270528][ T745] exit_to_user_mode_prepare+0xaa/0xe0 [ 39.275968][ T745] syscall_exit_to_user_mode+0x24/0x40 [ 39.281410][ T745] do_syscall_64+0x3d/0x70 [ 39.285811][ T745] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 39.291678][ T745] [ 39.293986][ T745] Memory state around the buggy address: [ 39.299600][ T745] ffff88811dccd500: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 39.307641][ T745] ffff88811dccd580: 00 00 fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 39.315680][ T745] >ffff88811dccd600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 39.323720][ T745] ^ [ 39.330634][ T745] ffff88811dccd680: 00 00 00 00 00 00 fc fc fc fc fc fc fc fc fc fc executing program executing program [ 39.338692][ T745] ffff88811dccd700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 39.346729][ T745] ================================================================== [ 39.354767][ T745] Disabling lock debugging due to kernel taint executing program [ 39.410128][ T412] ------------[ cut here ]------------ [ 39.415642][ T412] WARNING: CPU: 1 PID: 412 at fs/io_uring.c:7927 __io_uring_free+0x17f/0x1b0 [ 39.426051][ T412] Modules linked in: [ 39.430036][ T412] CPU: 1 PID: 412 Comm: kworker/u4:7 Tainted: G B 5.10.76-syzkaller-01178-g4944ec82ebb9 #0 [ 39.441507][ T412] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 39.453675][ T412] Workqueue: events_unbound io_ring_exit_work [ 39.460101][ T412] RIP: 0010:__io_uring_free+0x17f/0x1b0 [ 39.465642][ T412] Code: 87 e2 ff 49 c7 06 00 00 00 00 48 83 c4 08 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 bd b4 a8 ff 0f 0b e9 fc fe ff ff e8 b1 b4 a8 ff <0f> 0b e9 65 ff ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 39 ff ff [ 39.485346][ T412] RSP: 0018:ffffc90000ba7bc0 EFLAGS: 00010293 [ 39.491812][ T412] RAX: ffffffff81c4437f RBX: 0000000000000000 RCX: ffff88811dcf8000 [ 39.499953][ T412] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001 executing program [ 39.511214][ T412] RBP: ffffc90000ba7bf0 R08: ffffffff81c442dd R09: ffffed1023b99ad4 [ 39.519351][ T412] R10: ffffed1023b99ad4 R11: 0000000000000000 R12: ffff88811dccd600 [ 39.527330][ T412] R13: ffff88811dccd6a0 R14: ffff88811ddb56a0 R15: 1ffff11023b99ad4 [ 39.536126][ T412] FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 [ 39.546221][ T412] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 executing program [ 39.553849][ T412] CR2: 00007f4c2f4a3e00 CR3: 0000000109141000 CR4: 00000000003506a0 [ 39.561954][ T412] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 39.570045][ T412] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 39.578002][ T412] Call Trace: [ 39.581399][ T412] __put_task_struct+0xd5/0x440 [ 39.591541][ T412] ? io_ring_ctx_free+0xde/0xa80 [ 39.596872][ T412] io_ring_ctx_free+0xe6/0xa80 [ 39.601727][ T412] ? io_iopoll_try_reap_events+0x9d/0x290 [ 39.607562][ T412] ? io_ring_exit_work+0x60/0x60 [ 39.613412][ T412] ? __kasan_check_read+0x11/0x20 [ 39.618606][ T412] ? read_word_at_a_time+0x12/0x20 [ 39.624328][ T412] io_ring_exit_work+0x4e/0x60 [ 39.629295][ T412] process_one_work+0x6b4/0xfb0 [ 39.634254][ T412] worker_thread+0xb15/0x1600 [ 39.639169][ T412] ? __kasan_check_read+0x11/0x20 [ 39.644540][ T412] kthread+0x371/0x390 [ 39.649382][ T412] ? process_one_work+0xfb0/0xfb0 [ 39.654756][ T412] ? kthread_blkcg+0xd0/0xd0 executing program executing program executing program [ 39.659394][ T412] ret_from_fork+0x1f/0x30 [ 39.663907][ T412] ---[ end trace 0e5e53695a35912b ]--- executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 40.104472][ T1072] ================================================================== [ 40.112576][ T1072] BUG: KASAN: double-free or invalid-free in kfree+0xd5/0x320 [ 40.120016][ T1072] [ 40.122338][ T1072] CPU: 1 PID: 1072 Comm: syz-executor107 Tainted: G B W 5.10.76-syzkaller-01178-g4944ec82ebb9 #0 [ 40.133941][ T1072] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 40.144073][ T1072] Call Trace: [ 40.147351][ T1072] dump_stack_lvl+0x1e2/0x24b [ 40.152019][ T1072] ? show_regs_print_info+0x18/0x18 [ 40.157201][ T1072] ? devkmsg_release+0x127/0x127 [ 40.162122][ T1072] ? kfree+0xd5/0x320 [ 40.166088][ T1072] print_address_description+0x8d/0x3d0 [ 40.171620][ T1072] ? debug_smp_processor_id+0x1c/0x20 [ 40.176975][ T1072] ? kfree+0xd5/0x320 [ 40.180951][ T1072] ? kfree+0xd5/0x320 [ 40.184920][ T1072] kasan_report_invalid_free+0x58/0x130 [ 40.190449][ T1072] ____kasan_slab_free+0x14b/0x170 [ 40.195541][ T1072] __kasan_slab_free+0x11/0x20 [ 40.200298][ T1072] slab_free_freelist_hook+0xcc/0x1a0 [ 40.205654][ T1072] ? io_dismantle_req+0x9b0/0xd90 [ 40.210666][ T1072] kfree+0xd5/0x320 [ 40.214459][ T1072] ? __kasan_check_write+0x14/0x20 [ 40.219553][ T1072] io_dismantle_req+0x9b0/0xd90 [ 40.224392][ T1072] io_do_iopoll+0x13b4/0x23f0 [ 40.229054][ T1072] ? __rcu_read_lock+0x50/0x50 [ 40.233802][ T1072] ? io_iopoll_try_reap_events+0x290/0x290 [ 40.239590][ T1072] ? __kasan_check_write+0x14/0x20 [ 40.244692][ T1072] ? mutex_lock+0xa6/0x110 [ 40.249090][ T1072] ? mutex_trylock+0xb0/0xb0 [ 40.253665][ T1072] io_iopoll_try_reap_events+0x116/0x290 [ 40.259280][ T1072] ? io_poll_remove_all+0x210/0x210 [ 40.264467][ T1072] ? syscall_exit_to_user_mode+0x24/0x40 [ 40.270083][ T1072] ? do_syscall_64+0x3d/0x70 [ 40.274656][ T1072] ? entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 40.280705][ T1072] io_uring_cancel_task_requests+0x196d/0x1ed0 [ 40.286927][ T1072] ? __io_uring_files_cancel+0x350/0x350 [ 40.292542][ T1072] ? __kasan_check_write+0x14/0x20 [ 40.297640][ T1072] ? task_work_add+0x2bf/0x320 [ 40.302390][ T1072] ? asan.module_dtor+0x20/0x20 [ 40.307227][ T1072] io_uring_flush+0x170/0x6d0 [ 40.311885][ T1072] ? fput_many+0x15a/0x1a0 [ 40.316286][ T1072] ? io_uring_mmap+0x360/0x360 [ 40.321049][ T1072] filp_close+0xb0/0x150 [ 40.325278][ T1072] put_files_struct+0x1d4/0x350 [ 40.330202][ T1072] exit_files+0x80/0xa0 [ 40.334341][ T1072] do_exit+0x6d9/0x23a0 [ 40.338481][ T1072] ? mm_update_next_owner+0x6e0/0x6e0 [ 40.343837][ T1072] ? __kasan_check_write+0x14/0x20 [ 40.348929][ T1072] ? _raw_spin_lock_irq+0xa4/0x1b0 [ 40.354055][ T1072] do_group_exit+0x16a/0x2d0 [ 40.358629][ T1072] get_signal+0x133e/0x1f80 [ 40.363115][ T1072] ? __kasan_check_write+0x14/0x20 [ 40.368207][ T1072] ? ptrace_notify+0x340/0x340 [ 40.372952][ T1072] ? fput+0x1a/0x20 [ 40.376742][ T1072] ? __se_sys_io_uring_enter+0xf3e/0x12b0 [ 40.382443][ T1072] arch_do_signal+0x8d/0x620 [ 40.387020][ T1072] ? __do_sys_rt_sigreturn+0x1e0/0x1e0 [ 40.392479][ T1072] ? debug_smp_processor_id+0x1c/0x20 [ 40.397842][ T1072] exit_to_user_mode_prepare+0xaa/0xe0 [ 40.403289][ T1072] syscall_exit_to_user_mode+0x24/0x40 [ 40.408740][ T1072] do_syscall_64+0x3d/0x70 [ 40.413149][ T1072] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 40.419115][ T1072] RIP: 0033:0x7f4c2f5144f9 [ 40.423596][ T1072] Code: Unable to access opcode bytes at RIP 0x7f4c2f5144cf. [ 40.430941][ T1072] RSP: 002b:00007f4c2f483218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca [ 40.439343][ T1072] RAX: fffffffffffffe00 RBX: 00007f4c2f59c448 RCX: 00007f4c2f5144f9 [ 40.447296][ T1072] RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f4c2f59c448 [ 40.455249][ T1072] RBP: 00007f4c2f59c440 R08: 0000000000000000 R09: 0000000000000000 [ 40.463204][ T1072] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4c2f59c44c [ 40.471248][ T1072] R13: 00007ffd3aa4160f R14: 00007f4c2f483300 R15: 0000000000022000 [ 40.479201][ T1072] [ 40.481513][ T1072] Allocated by task 1060: [ 40.485826][ T1072] ____kasan_kmalloc+0xdc/0x110 [ 40.490659][ T1072] __kasan_kmalloc+0x9/0x10 [ 40.495231][ T1072] kmem_cache_alloc_trace+0x210/0x3a0 [ 40.500586][ T1072] io_uring_alloc_task_context+0x57/0x550 [ 40.506291][ T1072] io_uring_add_task_file+0x1f7/0x290 [ 40.511731][ T1072] io_uring_create+0x2195/0x3490 [ 40.516649][ T1072] __x64_sys_io_uring_setup+0x1ce/0x290 [ 40.522176][ T1072] do_syscall_64+0x31/0x70 [ 40.526574][ T1072] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 40.532440][ T1072] [ 40.534753][ T1072] The buggy address belongs to the object at ffff88810a376d00 [ 40.534753][ T1072] which belongs to the cache kmalloc-192 of size 192 [ 40.548787][ T1072] The buggy address is located 88 bytes inside of [ 40.548787][ T1072] 192-byte region [ffff88810a376d00, ffff88810a376dc0) [ 40.562030][ T1072] The buggy address belongs to the page: [ 40.567659][ T1072] page:ffffea000428dd80 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10a376 [ 40.577871][ T1072] flags: 0x8000000000000200(slab) [ 40.582894][ T1072] raw: 8000000000000200 ffffea000428dc80 0000000300000003 ffff888100043380 [ 40.591480][ T1072] raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000 [ 40.600063][ T1072] page dumped because: kasan: bad access detected [ 40.606455][ T1072] page_owner tracks the page as allocated [ 40.612163][ T1072] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x12c00(GFP_NOIO|__GFP_NOWARN|__GFP_NORETRY), pid 1, ts 1818221320, free_ts 0 [ 40.626835][ T1072] get_page_from_freelist+0xa74/0xa90 [ 40.632189][ T1072] __alloc_pages_nodemask+0x3c8/0x820 [ 40.637541][ T1072] allocate_slab+0x6b/0x350 [ 40.642029][ T1072] ___slab_alloc+0x143/0x2f0 [ 40.646603][ T1072] __kmalloc+0x2af/0x3d0 [ 40.650827][ T1072] sbitmap_init_node+0x148/0x3d0 [ 40.655750][ T1072] blk_mq_realloc_hw_ctxs+0x8a2/0x17e0 [ 40.661191][ T1072] blk_mq_init_allocated_queue+0x3ed/0x1a40 [ 40.667065][ T1072] blk_mq_init_queue+0x6c/0xc0 [ 40.671826][ T1072] scsi_mq_alloc_queue+0x42/0x140 [ 40.676832][ T1072] scsi_alloc_sdev+0x638/0x970 [ 40.681580][ T1072] scsi_probe_and_add_lun+0x1a8/0x3ff0 [ 40.687020][ T1072] __scsi_scan_target+0x1e9/0xf70 [ 40.692028][ T1072] scsi_scan_host_selected+0x342/0x610 [ 40.697468][ T1072] scsi_scan_host+0x4a8/0x680 [ 40.702128][ T1072] virtscsi_probe+0x17ef/0x1ac0 [ 40.706952][ T1072] page_owner free stack trace missing [ 40.712303][ T1072] [ 40.714613][ T1072] Memory state around the buggy address: [ 40.720227][ T1072] ffff88810a376c00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 40.728270][ T1072] ffff88810a376c80: 00 00 fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 40.736325][ T1072] >ffff88810a376d00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 40.744363][ T1072] ^ executing program executing program [ 40.751279][ T1072] ffff88810a376d80: 00 00 00 00 00 00 fc fc fc fc fc fc fc fc fc fc [ 40.759321][ T1072] ffff88810a376e00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 40.767368][ T1072] ================================================================== executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 41.149087][ T1263] ================================================================== [ 41.157190][ T1263] BUG: KASAN: double-free or invalid-free in kfree+0xd5/0x320 [ 41.164625][ T1263] [ 41.166946][ T1263] CPU: 1 PID: 1263 Comm: syz-executor107 Tainted: G B W 5.10.76-syzkaller-01178-g4944ec82ebb9 #0 [ 41.178545][ T1263] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 41.188582][ T1263] Call Trace: [ 41.191864][ T1263] dump_stack_lvl+0x1e2/0x24b [ 41.196527][ T1263] ? show_regs_print_info+0x18/0x18 [ 41.201712][ T1263] ? devkmsg_release+0x127/0x127 [ 41.206636][ T1263] ? kfree+0xd5/0x320 [ 41.210602][ T1263] print_address_description+0x8d/0x3d0 [ 41.216131][ T1263] ? debug_smp_processor_id+0x1c/0x20 [ 41.221485][ T1263] ? kfree+0xd5/0x320 [ 41.225453][ T1263] ? kfree+0xd5/0x320 [ 41.229419][ T1263] kasan_report_invalid_free+0x58/0x130 [ 41.234960][ T1263] ____kasan_slab_free+0x14b/0x170 [ 41.240059][ T1263] __kasan_slab_free+0x11/0x20 [ 41.244805][ T1263] slab_free_freelist_hook+0xcc/0x1a0 [ 41.250160][ T1263] ? io_dismantle_req+0x9b0/0xd90 [ 41.255172][ T1263] kfree+0xd5/0x320 [ 41.258965][ T1263] ? __kasan_check_write+0x14/0x20 [ 41.264061][ T1263] io_dismantle_req+0x9b0/0xd90 [ 41.268898][ T1263] io_do_iopoll+0x13b4/0x23f0 [ 41.273562][ T1263] ? __rcu_read_lock+0x50/0x50 [ 41.278310][ T1263] ? io_iopoll_try_reap_events+0x290/0x290 [ 41.284101][ T1263] ? __kasan_check_write+0x14/0x20 [ 41.289198][ T1263] ? mutex_lock+0xa6/0x110 [ 41.293599][ T1263] ? mutex_trylock+0xb0/0xb0 [ 41.298176][ T1263] io_iopoll_try_reap_events+0x116/0x290 [ 41.303795][ T1263] ? io_poll_remove_all+0x210/0x210 [ 41.308977][ T1263] ? io_poll_remove_all+0x1f1/0x210 [ 41.314163][ T1263] io_uring_cancel_task_requests+0x196d/0x1ed0 [ 41.320317][ T1263] ? __io_uring_files_cancel+0x350/0x350 [ 41.325951][ T1263] ? __kasan_check_write+0x14/0x20 [ 41.331060][ T1263] ? task_work_add+0x2bf/0x320 [ 41.335813][ T1263] ? asan.module_dtor+0x20/0x20 [ 41.340654][ T1263] io_uring_flush+0x170/0x6d0 [ 41.345329][ T1263] ? fput_many+0x15a/0x1a0 [ 41.349736][ T1263] ? io_uring_mmap+0x360/0x360 [ 41.354502][ T1263] filp_close+0xb0/0x150 [ 41.358739][ T1263] put_files_struct+0x1d4/0x350 [ 41.363575][ T1263] exit_files+0x80/0xa0 [ 41.367718][ T1263] do_exit+0x6d9/0x23a0 [ 41.371863][ T1263] ? mm_update_next_owner+0x6e0/0x6e0 [ 41.377231][ T1263] ? __kasan_check_write+0x14/0x20 [ 41.382331][ T1263] ? _raw_spin_lock_irq+0xa4/0x1b0 [ 41.387431][ T1263] do_group_exit+0x16a/0x2d0 [ 41.392006][ T1263] get_signal+0x133e/0x1f80 [ 41.396505][ T1263] ? __kasan_check_write+0x14/0x20 [ 41.401598][ T1263] ? ptrace_notify+0x340/0x340 [ 41.406347][ T1263] ? fput+0x1a/0x20 [ 41.410143][ T1263] ? __se_sys_io_uring_enter+0xf3e/0x12b0 [ 41.415866][ T1263] arch_do_signal+0x8d/0x620 [ 41.420458][ T1263] ? __do_sys_rt_sigreturn+0x1e0/0x1e0 [ 41.425919][ T1263] ? debug_smp_processor_id+0x1c/0x20 [ 41.431280][ T1263] exit_to_user_mode_prepare+0xaa/0xe0 [ 41.436725][ T1263] syscall_exit_to_user_mode+0x24/0x40 [ 41.442171][ T1263] do_syscall_64+0x3d/0x70 [ 41.446582][ T1263] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 41.452455][ T1263] RIP: 0033:0x7f4c2f5144f9 [ 41.456857][ T1263] Code: Unable to access opcode bytes at RIP 0x7f4c2f5144cf. [ 41.464227][ T1263] RSP: 002b:00007f4c2f4a4218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca [ 41.472628][ T1263] RAX: fffffffffffffe00 RBX: 00007f4c2f59c438 RCX: 00007f4c2f5144f9 [ 41.480583][ T1263] RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f4c2f59c438 [ 41.489581][ T1263] RBP: 00007f4c2f59c430 R08: 0000000000000000 R09: 0000000000000000 [ 41.497532][ T1263] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4c2f59c43c [ 41.505485][ T1263] R13: 00007ffd3aa4160f R14: 00007f4c2f4a4300 R15: 0000000000022000 [ 41.513440][ T1263] [ 41.515765][ T1263] Allocated by task 1257: [ 41.520099][ T1263] ____kasan_kmalloc+0xdc/0x110 [ 41.524931][ T1263] __kasan_kmalloc+0x9/0x10 [ 41.529414][ T1263] kmem_cache_alloc_trace+0x210/0x3a0 [ 41.534767][ T1263] io_uring_alloc_task_context+0x57/0x550 [ 41.540472][ T1263] io_uring_add_task_file+0x1f7/0x290 [ 41.545827][ T1263] io_uring_create+0x2195/0x3490 [ 41.550747][ T1263] __x64_sys_io_uring_setup+0x1ce/0x290 [ 41.556280][ T1263] do_syscall_64+0x31/0x70 [ 41.560679][ T1263] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 41.566545][ T1263] [ 41.568857][ T1263] The buggy address belongs to the object at ffff88810a6b3300 [ 41.568857][ T1263] which belongs to the cache kmalloc-192 of size 192 [ 41.582903][ T1263] The buggy address is located 88 bytes inside of [ 41.582903][ T1263] 192-byte region [ffff88810a6b3300, ffff88810a6b33c0) [ 41.596065][ T1263] The buggy address belongs to the page: [ 41.601683][ T1263] page:ffffea000429acc0 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10a6b3 [ 41.611901][ T1263] flags: 0x8000000000000200(slab) [ 41.616931][ T1263] raw: 8000000000000200 ffffea000429ac00 0000000200000002 ffff888100043380 [ 41.625498][ T1263] raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000 [ 41.634058][ T1263] page dumped because: kasan: bad access detected [ 41.640450][ T1263] page_owner tracks the page as allocated [ 41.646158][ T1263] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x12c00(GFP_NOIO|__GFP_NOWARN|__GFP_NORETRY), pid 1, ts 1831984903, free_ts 0 [ 41.660801][ T1263] get_page_from_freelist+0xa74/0xa90 [ 41.666157][ T1263] __alloc_pages_nodemask+0x3c8/0x820 [ 41.671531][ T1263] allocate_slab+0x6b/0x350 [ 41.676032][ T1263] ___slab_alloc+0x143/0x2f0 [ 41.680616][ T1263] __kmalloc+0x2af/0x3d0 [ 41.684844][ T1263] bio_alloc_bioset+0x15d/0x650 [ 41.689678][ T1263] blk_rq_map_kern+0x430/0x930 [ 41.694421][ T1263] __scsi_execute+0xe6/0x5d0 [ 41.698995][ T1263] scsi_probe_and_add_lun+0x512/0x3ff0 [ 41.704438][ T1263] __scsi_scan_target+0x1e9/0xf70 [ 41.709446][ T1263] scsi_scan_host_selected+0x342/0x610 [ 41.714884][ T1263] scsi_scan_host+0x4a8/0x680 [ 41.719543][ T1263] virtscsi_probe+0x17ef/0x1ac0 [ 41.724376][ T1263] virtio_dev_probe+0x815/0xbd0 [ 41.729208][ T1263] really_probe+0x5f0/0xfc0 [ 41.733728][ T1263] driver_probe_device+0x117/0x1c0 [ 41.738827][ T1263] page_owner free stack trace missing [ 41.744188][ T1263] [ 41.746509][ T1263] Memory state around the buggy address: [ 41.752127][ T1263] ffff88810a6b3200: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 41.760182][ T1263] ffff88810a6b3280: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 41.768248][ T1263] >ffff88810a6b3300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 41.776294][ T1263] ^ [ 41.783215][ T1263] ffff88810a6b3380: 00 00 00 00 00 00 fc fc fc fc fc fc fc fc fc fc [ 41.791283][ T1263] ffff88810a6b3400: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb executing program executing program [ 41.799328][ T1263] ================================================================== executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 42.509035][ T1641] ================================================================== [ 42.517133][ T1641] BUG: KASAN: double-free or invalid-free in kfree+0xd5/0x320 [ 42.524567][ T1641] [ 42.526889][ T1641] CPU: 0 PID: 1641 Comm: syz-executor107 Tainted: G B W 5.10.76-syzkaller-01178-g4944ec82ebb9 #0 [ 42.538490][ T1641] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 42.548526][ T1641] Call Trace: [ 42.551807][ T1641] dump_stack_lvl+0x1e2/0x24b [ 42.556471][ T1641] ? show_regs_print_info+0x18/0x18 [ 42.561654][ T1641] ? devkmsg_release+0x127/0x127 [ 42.566592][ T1641] ? kfree+0xd5/0x320 [ 42.570584][ T1641] print_address_description+0x8d/0x3d0 [ 42.576131][ T1641] ? debug_smp_processor_id+0x1c/0x20 [ 42.581494][ T1641] ? kfree+0xd5/0x320 [ 42.585466][ T1641] ? kfree+0xd5/0x320 [ 42.589446][ T1641] kasan_report_invalid_free+0x58/0x130 [ 42.594983][ T1641] ____kasan_slab_free+0x14b/0x170 [ 42.600083][ T1641] __kasan_slab_free+0x11/0x20 [ 42.604830][ T1641] slab_free_freelist_hook+0xcc/0x1a0 [ 42.610185][ T1641] ? io_dismantle_req+0x9b0/0xd90 [ 42.615189][ T1641] kfree+0xd5/0x320 [ 42.618981][ T1641] ? __kasan_check_write+0x14/0x20 [ 42.624076][ T1641] io_dismantle_req+0x9b0/0xd90 [ 42.628996][ T1641] io_do_iopoll+0x13b4/0x23f0 [ 42.633660][ T1641] ? __rcu_read_lock+0x50/0x50 [ 42.638409][ T1641] ? io_iopoll_try_reap_events+0x290/0x290 [ 42.644198][ T1641] ? __kasan_check_write+0x14/0x20 [ 42.649292][ T1641] ? mutex_lock+0xa6/0x110 [ 42.653692][ T1641] ? mutex_trylock+0xb0/0xb0 [ 42.658264][ T1641] io_iopoll_try_reap_events+0x116/0x290 [ 42.663876][ T1641] ? io_poll_remove_all+0x210/0x210 [ 42.669057][ T1641] ? io_poll_remove_all+0x1f1/0x210 [ 42.674237][ T1641] io_uring_cancel_task_requests+0x196d/0x1ed0 [ 42.680374][ T1641] ? __io_uring_files_cancel+0x350/0x350 [ 42.685989][ T1641] ? __kasan_check_write+0x14/0x20 [ 42.691081][ T1641] ? task_work_add+0x2bf/0x320 [ 42.695838][ T1641] ? asan.module_dtor+0x20/0x20 [ 42.700683][ T1641] io_uring_flush+0x170/0x6d0 [ 42.705347][ T1641] ? fput_many+0x15a/0x1a0 [ 42.709766][ T1641] ? io_uring_mmap+0x360/0x360 [ 42.714516][ T1641] filp_close+0xb0/0x150 [ 42.718748][ T1641] put_files_struct+0x1d4/0x350 [ 42.723584][ T1641] exit_files+0x80/0xa0 [ 42.727727][ T1641] do_exit+0x6d9/0x23a0 [ 42.731872][ T1641] ? mm_update_next_owner+0x6e0/0x6e0 [ 42.737228][ T1641] ? __kasan_check_write+0x14/0x20 [ 42.742326][ T1641] ? _raw_spin_lock_irq+0xa4/0x1b0 [ 42.747421][ T1641] do_group_exit+0x16a/0x2d0 [ 42.751995][ T1641] get_signal+0x133e/0x1f80 [ 42.756483][ T1641] ? __kasan_check_write+0x14/0x20 [ 42.761576][ T1641] ? ptrace_notify+0x340/0x340 [ 42.766318][ T1641] ? fput+0x1a/0x20 [ 42.770109][ T1641] ? __se_sys_io_uring_enter+0xf3e/0x12b0 [ 42.775813][ T1641] arch_do_signal+0x8d/0x620 [ 42.780393][ T1641] ? __do_sys_rt_sigreturn+0x1e0/0x1e0 [ 42.785840][ T1641] ? debug_smp_processor_id+0x1c/0x20 [ 42.791195][ T1641] exit_to_user_mode_prepare+0xaa/0xe0 [ 42.796641][ T1641] syscall_exit_to_user_mode+0x24/0x40 [ 42.802081][ T1641] do_syscall_64+0x3d/0x70 [ 42.806480][ T1641] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 42.812350][ T1641] RIP: 0033:0x7f4c2f5144f9 [ 42.816747][ T1641] Code: Unable to access opcode bytes at RIP 0x7f4c2f5144cf. [ 42.824095][ T1641] RSP: 002b:00007f4c2f4a4218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca [ 42.832499][ T1641] RAX: fffffffffffffe00 RBX: 00007f4c2f59c438 RCX: 00007f4c2f5144f9 [ 42.840459][ T1641] RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f4c2f59c438 [ 42.848411][ T1641] RBP: 00007f4c2f59c430 R08: 0000000000000000 R09: 0000000000000000 [ 42.856365][ T1641] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4c2f59c43c [ 42.864318][ T1641] R13: 00007ffd3aa4160f R14: 00007f4c2f4a4300 R15: 0000000000022000 [ 42.872271][ T1641] [ 42.874580][ T1641] Allocated by task 1635: [ 42.878895][ T1641] ____kasan_kmalloc+0xdc/0x110 [ 42.883726][ T1641] __kasan_kmalloc+0x9/0x10 [ 42.888210][ T1641] kmem_cache_alloc_trace+0x210/0x3a0 [ 42.893566][ T1641] io_uring_alloc_task_context+0x57/0x550 [ 42.899265][ T1641] io_uring_add_task_file+0x1f7/0x290 [ 42.904618][ T1641] io_uring_create+0x2195/0x3490 [ 42.909543][ T1641] __x64_sys_io_uring_setup+0x1ce/0x290 [ 42.915066][ T1641] do_syscall_64+0x31/0x70 [ 42.919462][ T1641] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 42.925330][ T1641] [ 42.927643][ T1641] The buggy address belongs to the object at ffff88810c071300 [ 42.927643][ T1641] which belongs to the cache kmalloc-192 of size 192 [ 42.941673][ T1641] The buggy address is located 88 bytes inside of [ 42.941673][ T1641] 192-byte region [ffff88810c071300, ffff88810c0713c0) [ 42.954834][ T1641] The buggy address belongs to the page: [ 42.960449][ T1641] page:ffffea0004301c40 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10c071 [ 42.970663][ T1641] flags: 0x8000000000000200(slab) [ 42.975672][ T1641] raw: 8000000000000200 dead000000000100 dead000000000122 ffff888100043380 [ 42.984238][ T1641] raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000 [ 42.992794][ T1641] page dumped because: kasan: bad access detected [ 42.999287][ T1641] page_owner tracks the page as allocated [ 43.005022][ T1641] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x12cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY), pid 1617, ts 42427951918, free_ts 42392989394 [ 43.021049][ T1641] get_page_from_freelist+0xa74/0xa90 [ 43.026389][ T1641] __alloc_pages_nodemask+0x3c8/0x820 [ 43.031731][ T1641] allocate_slab+0x6b/0x350 [ 43.036200][ T1641] ___slab_alloc+0x143/0x2f0 [ 43.040764][ T1641] kmem_cache_alloc_trace+0x278/0x3a0 [ 43.046104][ T1641] create_io_worker+0x5e/0x670 [ 43.050838][ T1641] io_wq_manager+0xe2/0x8b0 [ 43.055935][ T1641] kthread+0x371/0x390 [ 43.059982][ T1641] ret_from_fork+0x1f/0x30 [ 43.064369][ T1641] page last free stack trace: [ 43.069015][ T1641] free_pcp_prepare+0x18f/0x1c0 [ 43.073835][ T1641] __free_pages+0x2e3/0x4a0 [ 43.078314][ T1641] __vunmap+0x856/0x980 [ 43.082443][ T1641] free_work+0x66/0x90 [ 43.086486][ T1641] process_one_work+0x6b4/0xfb0 [ 43.091307][ T1641] worker_thread+0xb15/0x1600 [ 43.095953][ T1641] kthread+0x371/0x390 [ 43.099994][ T1641] ret_from_fork+0x1f/0x30 [ 43.104378][ T1641] [ 43.106675][ T1641] Memory state around the buggy address: [ 43.112277][ T1641] ffff88810c071200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 43.120313][ T1641] ffff88810c071280: 00 00 fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 43.128451][ T1641] >ffff88810c071300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 43.136571][ T1641] ^ [ 43.143475][ T1641] ffff88810c071380: 00 00 00 00 00 00 fc fc fc fc fc fc fc fc fc fc [ 43.151509][ T1641] ffff88810c071400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 executing program executing program executing program [ 43.159578][ T1641] ================================================================== executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 43.929530][ T2033] ================================================================== [ 43.937625][ T2033] BUG: KASAN: double-free or invalid-free in kfree+0xd5/0x320 [ 43.945059][ T2033] [ 43.947378][ T2033] CPU: 1 PID: 2033 Comm: syz-executor107 Tainted: G B W 5.10.76-syzkaller-01178-g4944ec82ebb9 #0 [ 43.958980][ T2033] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 43.969019][ T2033] Call Trace: [ 43.972298][ T2033] dump_stack_lvl+0x1e2/0x24b [ 43.976961][ T2033] ? show_regs_print_info+0x18/0x18 [ 43.982142][ T2033] ? devkmsg_release+0x127/0x127 [ 43.987080][ T2033] ? kfree+0xd5/0x320 [ 43.991048][ T2033] print_address_description+0x8d/0x3d0 [ 43.996581][ T2033] ? debug_smp_processor_id+0x1c/0x20 [ 44.001935][ T2033] ? kfree+0xd5/0x320 [ 44.005900][ T2033] ? kfree+0xd5/0x320 [ 44.009868][ T2033] kasan_report_invalid_free+0x58/0x130 [ 44.015395][ T2033] ____kasan_slab_free+0x14b/0x170 [ 44.020491][ T2033] __kasan_slab_free+0x11/0x20 [ 44.025243][ T2033] slab_free_freelist_hook+0xcc/0x1a0 [ 44.030606][ T2033] ? io_dismantle_req+0x9b0/0xd90 [ 44.035614][ T2033] kfree+0xd5/0x320 [ 44.039407][ T2033] ? __kasan_check_write+0x14/0x20 [ 44.044502][ T2033] io_dismantle_req+0x9b0/0xd90 [ 44.049343][ T2033] io_do_iopoll+0x13b4/0x23f0 [ 44.054005][ T2033] ? __rcu_read_lock+0x50/0x50 [ 44.058760][ T2033] ? io_iopoll_try_reap_events+0x290/0x290 [ 44.064551][ T2033] ? __kasan_check_write+0x14/0x20 [ 44.069642][ T2033] ? mutex_lock+0xa6/0x110 [ 44.074039][ T2033] ? mutex_trylock+0xb0/0xb0 [ 44.078612][ T2033] io_iopoll_try_reap_events+0x116/0x290 [ 44.084229][ T2033] ? io_poll_remove_all+0x210/0x210 [ 44.089409][ T2033] ? io_poll_remove_all+0x1f1/0x210 [ 44.094589][ T2033] io_uring_cancel_task_requests+0x196d/0x1ed0 [ 44.100730][ T2033] ? __io_uring_files_cancel+0x350/0x350 [ 44.106347][ T2033] ? __kasan_check_write+0x14/0x20 [ 44.111482][ T2033] ? task_work_add+0x2bf/0x320 [ 44.116227][ T2033] ? asan.module_dtor+0x20/0x20 [ 44.121061][ T2033] io_uring_flush+0x170/0x6d0 [ 44.125729][ T2033] ? fput_many+0x15a/0x1a0 [ 44.130144][ T2033] ? io_uring_mmap+0x360/0x360 [ 44.134891][ T2033] filp_close+0xb0/0x150 [ 44.139118][ T2033] put_files_struct+0x1d4/0x350 [ 44.143955][ T2033] exit_files+0x80/0xa0 [ 44.148099][ T2033] do_exit+0x6d9/0x23a0 [ 44.152240][ T2033] ? mm_update_next_owner+0x6e0/0x6e0 [ 44.157595][ T2033] ? register_for_each_vma+0xc10/0xc10 [ 44.163036][ T2033] ? __kasan_check_write+0x14/0x20 [ 44.168131][ T2033] ? _raw_spin_lock_irq+0xa4/0x1b0 [ 44.173224][ T2033] do_group_exit+0x16a/0x2d0 [ 44.177795][ T2033] get_signal+0x133e/0x1f80 [ 44.182282][ T2033] ? __up_write+0xad/0x290 [ 44.186679][ T2033] ? ptrace_notify+0x340/0x340 [ 44.191427][ T2033] arch_do_signal+0x8d/0x620 [ 44.196007][ T2033] ? account_locked_vm+0x1a0/0x1a0 [ 44.201203][ T2033] ? __do_sys_rt_sigreturn+0x1e0/0x1e0 [ 44.206646][ T2033] ? debug_smp_processor_id+0x1c/0x20 [ 44.212002][ T2033] exit_to_user_mode_prepare+0xaa/0xe0 [ 44.217442][ T2033] syscall_exit_to_user_mode+0x24/0x40 [ 44.222884][ T2033] do_syscall_64+0x3d/0x70 [ 44.227284][ T2033] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 44.233160][ T2033] RIP: 0033:0x7f4c2f5144f9 [ 44.237557][ T2033] Code: Unable to access opcode bytes at RIP 0x7f4c2f5144cf. [ 44.244904][ T2033] RSP: 002b:00007f4c2f4a4218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca [ 44.253304][ T2033] RAX: fffffffffffffe00 RBX: 00007f4c2f59c438 RCX: 00007f4c2f5144f9 [ 44.261260][ T2033] RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f4c2f59c438 [ 44.269214][ T2033] RBP: 00007f4c2f59c430 R08: 0000000000000000 R09: 0000000000000000 [ 44.277172][ T2033] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4c2f59c43c [ 44.285130][ T2033] R13: 00007ffd3aa4160f R14: 00007f4c2f4a4300 R15: 0000000000022000 [ 44.293081][ T2033] [ 44.295409][ T2033] Allocated by task 2026: [ 44.299952][ T2033] ____kasan_kmalloc+0xdc/0x110 [ 44.304856][ T2033] __kasan_kmalloc+0x9/0x10 [ 44.309341][ T2033] kmem_cache_alloc_trace+0x210/0x3a0 [ 44.314698][ T2033] io_uring_alloc_task_context+0x57/0x550 [ 44.320397][ T2033] io_uring_add_task_file+0x1f7/0x290 [ 44.325753][ T2033] io_uring_create+0x2195/0x3490 [ 44.330673][ T2033] __x64_sys_io_uring_setup+0x1ce/0x290 [ 44.336202][ T2033] do_syscall_64+0x31/0x70 [ 44.340601][ T2033] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 44.346468][ T2033] [ 44.348785][ T2033] The buggy address belongs to the object at ffff88810c01bc00 [ 44.348785][ T2033] which belongs to the cache kmalloc-192 of size 192 [ 44.362837][ T2033] The buggy address is located 88 bytes inside of [ 44.362837][ T2033] 192-byte region [ffff88810c01bc00, ffff88810c01bcc0) [ 44.376089][ T2033] The buggy address belongs to the page: [ 44.381716][ T2033] page:ffffea00043006c0 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10c01b [ 44.391934][ T2033] flags: 0x8000000000000200(slab) [ 44.396947][ T2033] raw: 8000000000000200 dead000000000100 dead000000000122 ffff888100043380 [ 44.405519][ T2033] raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000 [ 44.414079][ T2033] page dumped because: kasan: bad access detected [ 44.420471][ T2033] page_owner tracks the page as allocated [ 44.426182][ T2033] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x12cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY), pid 1998, ts 43864133093, free_ts 43859915771 [ 44.442216][ T2033] get_page_from_freelist+0xa74/0xa90 [ 44.447569][ T2033] __alloc_pages_nodemask+0x3c8/0x820 [ 44.452921][ T2033] allocate_slab+0x6b/0x350 [ 44.457404][ T2033] ___slab_alloc+0x143/0x2f0 [ 44.461974][ T2033] kmem_cache_alloc_trace+0x278/0x3a0 [ 44.467326][ T2033] io_uring_create+0x168b/0x3490 [ 44.472247][ T2033] __x64_sys_io_uring_setup+0x1ce/0x290 [ 44.477773][ T2033] do_syscall_64+0x31/0x70 [ 44.482173][ T2033] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 44.488042][ T2033] page last free stack trace: [ 44.492703][ T2033] free_pcp_prepare+0x18f/0x1c0 [ 44.497537][ T2033] free_unref_page_list+0x116/0x5d0 [ 44.502715][ T2033] release_pages+0xa62/0xaa0 [ 44.507286][ T2033] free_pages_and_swap_cache+0x88/0xa0 [ 44.512725][ T2033] tlb_flush_mmu+0x860/0xa00 [ 44.517298][ T2033] tlb_finish_mmu+0xd2/0x1f0 [ 44.521868][ T2033] exit_mmap+0x2e8/0x570 [ 44.526093][ T2033] __mmput+0x95/0x2c0 [ 44.530060][ T2033] mmput+0x4b/0x50 [ 44.533764][ T2033] exit_mm+0x615/0x7e0 [ 44.537814][ T2033] do_exit+0x6c4/0x23a0 [ 44.541952][ T2033] do_group_exit+0x16a/0x2d0 [ 44.546524][ T2033] get_signal+0x133e/0x1f80 [ 44.551009][ T2033] arch_do_signal+0x8d/0x620 [ 44.555580][ T2033] exit_to_user_mode_prepare+0xaa/0xe0 [ 44.561020][ T2033] syscall_exit_to_user_mode+0x24/0x40 [ 44.566452][ T2033] [ 44.568769][ T2033] Memory state around the buggy address: [ 44.574380][ T2033] ffff88810c01bb00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 executing program executing program [ 44.582421][ T2033] ffff88810c01bb80: 00 00 00 00 00 00 fc fc fc fc fc fc fc fc fc fc [ 44.590467][ T2033] >ffff88810c01bc00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 44.598508][ T2033] ^ [ 44.605422][ T2033] ffff88810c01bc80: 00 00 00 00 00 00 fc fc fc fc fc fc fc fc fc fc [ 44.613554][ T2033] ffff88810c01bd00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 44.621708][ T2033] ================================================================== executing program executing program executing program [ 44.762575][ T2102] ================================================================== [ 44.770675][ T2102] BUG: KASAN: double-free or invalid-free in kfree+0xd5/0x320 [ 44.778107][ T2102] [ 44.780428][ T2102] CPU: 1 PID: 2102 Comm: syz-executor107 Tainted: G B W 5.10.76-syzkaller-01178-g4944ec82ebb9 #0 [ 44.792029][ T2102] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 44.802064][ T2102] Call Trace: [ 44.805341][ T2102] dump_stack_lvl+0x1e2/0x24b [ 44.810002][ T2102] ? show_regs_print_info+0x18/0x18 [ 44.815183][ T2102] ? devkmsg_release+0x127/0x127 [ 44.820106][ T2102] ? kfree+0xd5/0x320 [ 44.824075][ T2102] print_address_description+0x8d/0x3d0 [ 44.829604][ T2102] ? debug_smp_processor_id+0x1c/0x20 [ 44.834960][ T2102] ? kfree+0xd5/0x320 [ 44.838925][ T2102] ? kfree+0xd5/0x320 [ 44.842892][ T2102] kasan_report_invalid_free+0x58/0x130 [ 44.848426][ T2102] ____kasan_slab_free+0x14b/0x170 [ 44.853521][ T2102] __kasan_slab_free+0x11/0x20 [ 44.858267][ T2102] slab_free_freelist_hook+0xcc/0x1a0 [ 44.863622][ T2102] ? io_dismantle_req+0x9b0/0xd90 [ 44.868635][ T2102] kfree+0xd5/0x320 [ 44.872437][ T2102] ? __kasan_check_write+0x14/0x20 [ 44.877536][ T2102] io_dismantle_req+0x9b0/0xd90 [ 44.882385][ T2102] io_do_iopoll+0x13b4/0x23f0 [ 44.887047][ T2102] ? __rcu_read_lock+0x50/0x50 [ 44.891793][ T2102] ? io_iopoll_try_reap_events+0x290/0x290 [ 44.897585][ T2102] ? __kasan_check_write+0x14/0x20 [ 44.902686][ T2102] ? mutex_lock+0xa6/0x110 [ 44.907087][ T2102] ? mutex_trylock+0xb0/0xb0 [ 44.911663][ T2102] io_iopoll_try_reap_events+0x116/0x290 [ 44.917278][ T2102] ? io_poll_remove_all+0x210/0x210 [ 44.922460][ T2102] ? syscall_exit_to_user_mode+0x24/0x40 [ 44.928077][ T2102] ? do_syscall_64+0x3d/0x70 [ 44.932653][ T2102] ? entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 44.938704][ T2102] io_uring_cancel_task_requests+0x196d/0x1ed0 [ 44.944842][ T2102] ? __io_uring_files_cancel+0x350/0x350 [ 44.950460][ T2102] ? __kasan_check_write+0x14/0x20 [ 44.955557][ T2102] ? task_work_add+0x2bf/0x320 [ 44.960304][ T2102] ? asan.module_dtor+0x20/0x20 [ 44.965144][ T2102] io_uring_flush+0x170/0x6d0 [ 44.969803][ T2102] ? fput_many+0x15a/0x1a0 [ 44.974206][ T2102] ? io_uring_mmap+0x360/0x360 [ 44.978986][ T2102] filp_close+0xb0/0x150 [ 44.983218][ T2102] put_files_struct+0x1d4/0x350 [ 44.988051][ T2102] exit_files+0x80/0xa0 [ 44.992191][ T2102] do_exit+0x6d9/0x23a0 [ 44.996337][ T2102] ? mm_update_next_owner+0x6e0/0x6e0 [ 45.001697][ T2102] ? __kasan_check_write+0x14/0x20 [ 45.006796][ T2102] ? _raw_spin_lock_irq+0xa4/0x1b0 [ 45.011892][ T2102] do_group_exit+0x16a/0x2d0 [ 45.016467][ T2102] get_signal+0x133e/0x1f80 [ 45.020961][ T2102] ? __kasan_check_write+0x14/0x20 [ 45.026053][ T2102] ? ptrace_notify+0x340/0x340 [ 45.030799][ T2102] ? fput+0x1a/0x20 [ 45.034592][ T2102] ? __se_sys_io_uring_enter+0xf3e/0x12b0 [ 45.040294][ T2102] arch_do_signal+0x8d/0x620 [ 45.044869][ T2102] ? __do_sys_rt_sigreturn+0x1e0/0x1e0 [ 45.050324][ T2102] ? debug_smp_processor_id+0x1c/0x20 [ 45.055704][ T2102] exit_to_user_mode_prepare+0xaa/0xe0 [ 45.061145][ T2102] syscall_exit_to_user_mode+0x24/0x40 [ 45.066601][ T2102] do_syscall_64+0x3d/0x70 [ 45.071004][ T2102] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 45.076879][ T2102] RIP: 0033:0x7f4c2f5144f9 [ 45.081274][ T2102] Code: Unable to access opcode bytes at RIP 0x7f4c2f5144cf. [ 45.088624][ T2102] RSP: 002b:00007f4c2f4a4218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca [ 45.097024][ T2102] RAX: fffffffffffffe00 RBX: 00007f4c2f59c438 RCX: 00007f4c2f5144f9 [ 45.104983][ T2102] RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f4c2f59c438 [ 45.112941][ T2102] RBP: 00007f4c2f59c430 R08: 0000000000000000 R09: 0000000000000000 [ 45.120898][ T2102] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4c2f59c43c [ 45.128851][ T2102] R13: 00007ffd3aa4160f R14: 00007f4c2f4a4300 R15: 0000000000022000 [ 45.136806][ T2102] [ 45.139119][ T2102] Allocated by task 2095: [ 45.143440][ T2102] ____kasan_kmalloc+0xdc/0x110 [ 45.148274][ T2102] __kasan_kmalloc+0x9/0x10 [ 45.152758][ T2102] kmem_cache_alloc_trace+0x210/0x3a0 [ 45.158115][ T2102] io_uring_alloc_task_context+0x57/0x550 [ 45.163814][ T2102] io_uring_add_task_file+0x1f7/0x290 [ 45.169170][ T2102] io_uring_create+0x2195/0x3490 [ 45.174094][ T2102] __x64_sys_io_uring_setup+0x1ce/0x290 [ 45.179624][ T2102] do_syscall_64+0x31/0x70 [ 45.184022][ T2102] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 45.189890][ T2102] [ 45.192204][ T2102] The buggy address belongs to the object at ffff88810ca71900 [ 45.192204][ T2102] which belongs to the cache kmalloc-192 of size 192 [ 45.206251][ T2102] The buggy address is located 88 bytes inside of [ 45.206251][ T2102] 192-byte region [ffff88810ca71900, ffff88810ca719c0) [ 45.219411][ T2102] The buggy address belongs to the page: [ 45.225032][ T2102] page:ffffea0004329c40 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10ca71 [ 45.235246][ T2102] flags: 0x8000000000000200(slab) [ 45.240256][ T2102] raw: 8000000000000200 dead000000000100 dead000000000122 ffff888100043380 [ 45.248823][ T2102] raw: 0000000000000000 0000000080100010 00000001ffffffff 0000000000000000 [ 45.257384][ T2102] page dumped because: kasan: bad access detected [ 45.263779][ T2102] page_owner tracks the page as allocated [ 45.269488][ T2102] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x12cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY), pid 2082, ts 44705533904, free_ts 44702754916 [ 45.285523][ T2102] get_page_from_freelist+0xa74/0xa90 [ 45.290875][ T2102] __alloc_pages_nodemask+0x3c8/0x820 [ 45.296231][ T2102] allocate_slab+0x6b/0x350 [ 45.300724][ T2102] ___slab_alloc+0x143/0x2f0 [ 45.305298][ T2102] kmem_cache_alloc_trace+0x278/0x3a0 [ 45.310651][ T2102] io_uring_alloc_task_context+0x57/0x550 [ 45.316364][ T2102] io_uring_create+0x27dc/0x3490 [ 45.321297][ T2102] __x64_sys_io_uring_setup+0x1ce/0x290 [ 45.326825][ T2102] do_syscall_64+0x31/0x70 [ 45.331225][ T2102] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 45.337093][ T2102] page last free stack trace: [ 45.341750][ T2102] free_pcp_prepare+0x18f/0x1c0 [ 45.346580][ T2102] __free_pages+0x2e3/0x4a0 [ 45.351067][ T2102] __vunmap+0x856/0x980 [ 45.355204][ T2102] free_work+0x66/0x90 [ 45.359258][ T2102] process_one_work+0x6b4/0xfb0 [ 45.364090][ T2102] worker_thread+0xb15/0x1600 [ 45.368750][ T2102] kthread+0x371/0x390 [ 45.372803][ T2102] ret_from_fork+0x1f/0x30 [ 45.377197][ T2102] [ 45.379508][ T2102] Memory state around the buggy address: [ 45.385151][ T2102] ffff88810ca71800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 45.393207][ T2102] ffff88810ca71880: 00 00 fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 45.401373][ T2102] >ffff88810ca71900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 executing program executing program [ 45.409557][ T2102] ^ [ 45.416477][ T2102] ffff88810ca71980: 00 00 00 00 00 00 fc fc fc fc fc fc fc fc fc fc [ 45.424523][ T2102] ffff88810ca71a00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 45.432573][ T2102] ================================================================== executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 45.699022][ T0] NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #10!!! executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 46.419019][ T2664] ================================================================== [ 46.427111][ T2664] BUG: KASAN: double-free or invalid-free in kfree+0xd5/0x320 [ 46.434543][ T2664] [ 46.436861][ T2664] CPU: 0 PID: 2664 Comm: syz-executor107 Tainted: G B W 5.10.76-syzkaller-01178-g4944ec82ebb9 #0 [ 46.448463][ T2664] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 46.458501][ T2664] Call Trace: [ 46.461782][ T2664] dump_stack_lvl+0x1e2/0x24b [ 46.466474][ T2664] ? show_regs_print_info+0x18/0x18 [ 46.471661][ T2664] ? devkmsg_release+0x127/0x127 [ 46.476585][ T2664] ? kfree+0xd5/0x320 [ 46.480640][ T2664] print_address_description+0x8d/0x3d0 [ 46.486171][ T2664] ? debug_smp_processor_id+0x1c/0x20 [ 46.491525][ T2664] ? kfree+0xd5/0x320 [ 46.495486][ T2664] ? kfree+0xd5/0x320 [ 46.499456][ T2664] kasan_report_invalid_free+0x58/0x130 [ 46.504990][ T2664] ____kasan_slab_free+0x14b/0x170 [ 46.510085][ T2664] __kasan_slab_free+0x11/0x20 [ 46.514834][ T2664] slab_free_freelist_hook+0xcc/0x1a0 [ 46.520196][ T2664] ? io_dismantle_req+0x9b0/0xd90 [ 46.525203][ T2664] kfree+0xd5/0x320 [ 46.529001][ T2664] ? __kasan_check_write+0x14/0x20 [ 46.534110][ T2664] io_dismantle_req+0x9b0/0xd90 [ 46.538944][ T2664] io_do_iopoll+0x13b4/0x23f0 [ 46.543606][ T2664] ? __rcu_read_lock+0x50/0x50 [ 46.548357][ T2664] ? io_iopoll_try_reap_events+0x290/0x290 [ 46.554149][ T2664] ? __kasan_check_write+0x14/0x20 [ 46.559246][ T2664] ? mutex_lock+0xa6/0x110 [ 46.563649][ T2664] ? mutex_trylock+0xb0/0xb0 [ 46.568223][ T2664] ? _raw_spin_lock_irq+0xa4/0x1b0 [ 46.573325][ T2664] io_iopoll_try_reap_events+0x116/0x290 [ 46.578940][ T2664] ? io_poll_remove_all+0x210/0x210 [ 46.584120][ T2664] ? io_poll_remove_all+0x1f1/0x210 [ 46.589303][ T2664] io_uring_cancel_task_requests+0x196d/0x1ed0 [ 46.595443][ T2664] ? __io_uring_files_cancel+0x350/0x350 [ 46.601077][ T2664] ? __kasan_check_write+0x14/0x20 [ 46.606178][ T2664] ? task_work_add+0x2bf/0x320 [ 46.610930][ T2664] ? asan.module_dtor+0x20/0x20 [ 46.615775][ T2664] io_uring_flush+0x170/0x6d0 [ 46.620442][ T2664] ? fput_many+0x15a/0x1a0 [ 46.624846][ T2664] ? io_uring_mmap+0x360/0x360 [ 46.629596][ T2664] filp_close+0xb0/0x150 [ 46.633825][ T2664] put_files_struct+0x1d4/0x350 [ 46.638659][ T2664] exit_files+0x80/0xa0 [ 46.642797][ T2664] do_exit+0x6d9/0x23a0 [ 46.646950][ T2664] ? mm_update_next_owner+0x6e0/0x6e0 [ 46.652399][ T2664] ? __kasan_check_write+0x14/0x20 [ 46.657496][ T2664] ? _raw_spin_lock_irq+0xa4/0x1b0 [ 46.662682][ T2664] do_group_exit+0x16a/0x2d0 [ 46.667257][ T2664] get_signal+0x133e/0x1f80 [ 46.671837][ T2664] ? __kasan_check_write+0x14/0x20 [ 46.676948][ T2664] ? ptrace_notify+0x340/0x340 [ 46.681692][ T2664] ? fput+0x1a/0x20 [ 46.685493][ T2664] ? __se_sys_io_uring_enter+0xf3e/0x12b0 [ 46.691227][ T2664] arch_do_signal+0x8d/0x620 [ 46.695808][ T2664] ? __do_sys_rt_sigreturn+0x1e0/0x1e0 [ 46.701253][ T2664] ? debug_smp_processor_id+0x1c/0x20 [ 46.706607][ T2664] exit_to_user_mode_prepare+0xaa/0xe0 [ 46.712053][ T2664] syscall_exit_to_user_mode+0x24/0x40 [ 46.717494][ T2664] do_syscall_64+0x3d/0x70 [ 46.721895][ T2664] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 46.727768][ T2664] RIP: 0033:0x7f4c2f5144f9 [ 46.732163][ T2664] Code: Unable to access opcode bytes at RIP 0x7f4c2f5144cf. [ 46.739516][ T2664] RSP: 002b:00007f4c2f4a4218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca [ 46.747916][ T2664] RAX: fffffffffffffe00 RBX: 00007f4c2f59c438 RCX: 00007f4c2f5144f9 [ 46.755874][ T2664] RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f4c2f59c438 [ 46.763827][ T2664] RBP: 00007f4c2f59c430 R08: 0000000000000000 R09: 0000000000000000 [ 46.771781][ T2664] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4c2f59c43c [ 46.779735][ T2664] R13: 00007ffd3aa4160f R14: 00007f4c2f4a4300 R15: 0000000000022000 [ 46.787712][ T2664] [ 46.790027][ T2664] Allocated by task 2657: [ 46.794345][ T2664] ____kasan_kmalloc+0xdc/0x110 [ 46.799177][ T2664] __kasan_kmalloc+0x9/0x10 [ 46.803666][ T2664] kmem_cache_alloc_trace+0x210/0x3a0 [ 46.809022][ T2664] io_uring_alloc_task_context+0x57/0x550 [ 46.814726][ T2664] io_uring_add_task_file+0x1f7/0x290 [ 46.820083][ T2664] io_uring_create+0x2195/0x3490 [ 46.825003][ T2664] __x64_sys_io_uring_setup+0x1ce/0x290 [ 46.830532][ T2664] do_syscall_64+0x31/0x70 [ 46.834939][ T2664] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 46.840805][ T2664] [ 46.843120][ T2664] The buggy address belongs to the object at ffff88810d7e3700 [ 46.843120][ T2664] which belongs to the cache kmalloc-192 of size 192 [ 46.857154][ T2664] The buggy address is located 88 bytes inside of [ 46.857154][ T2664] 192-byte region [ffff88810d7e3700, ffff88810d7e37c0) [ 46.870316][ T2664] The buggy address belongs to the page: [ 46.875940][ T2664] page:ffffea000435f8c0 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10d7e3 [ 46.886151][ T2664] flags: 0x8000000000000200(slab) [ 46.891162][ T2664] raw: 8000000000000200 dead000000000100 dead000000000122 ffff888100043380 [ 46.899723][ T2664] raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000 [ 46.908282][ T2664] page dumped because: kasan: bad access detected [ 46.914676][ T2664] page_owner tracks the page as allocated [ 46.920372][ T2664] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x12cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY), pid 2618, ts 46305537728, free_ts 46302936010 [ 46.936402][ T2664] get_page_from_freelist+0xa74/0xa90 [ 46.941750][ T2664] __alloc_pages_nodemask+0x3c8/0x820 [ 46.947095][ T2664] allocate_slab+0x6b/0x350 [ 46.951569][ T2664] ___slab_alloc+0x143/0x2f0 [ 46.956127][ T2664] kmem_cache_alloc_trace+0x278/0x3a0 [ 46.961493][ T2664] create_io_worker+0x5e/0x670 [ 46.966226][ T2664] io_wq_manager+0xe2/0x8b0 [ 46.970700][ T2664] kthread+0x371/0x390 [ 46.974736][ T2664] ret_from_fork+0x1f/0x30 [ 46.979131][ T2664] page last free stack trace: [ 46.983777][ T2664] free_pcp_prepare+0x18f/0x1c0 [ 46.988646][ T2664] __free_pages+0x2e3/0x4a0 [ 46.993130][ T2664] __vunmap+0x856/0x980 [ 46.997254][ T2664] free_work+0x66/0x90 [ 47.001292][ T2664] process_one_work+0x6b4/0xfb0 [ 47.006110][ T2664] worker_thread+0xb15/0x1600 [ 47.010936][ T2664] kthread+0x371/0x390 [ 47.014977][ T2664] ret_from_fork+0x1f/0x30 [ 47.019362][ T2664] [ 47.021660][ T2664] Memory state around the buggy address: [ 47.027272][ T2664] ffff88810d7e3600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 47.035405][ T2664] ffff88810d7e3680: 00 00 fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 47.043437][ T2664] >ffff88810d7e3700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 47.051479][ T2664] ^ [ 47.058382][ T2664] ffff88810d7e3780: 00 00 00 00 00 00 fc fc fc fc fc fc fc fc fc fc executing program executing program executing program [ 47.066419][ T2664] ffff88810d7e3800: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 47.074444][ T2664] ================================================================== executing program executing program [ 47.190937][ T2733] ================================================================== [ 47.199024][ T2733] BUG: KASAN: double-free or invalid-free in kfree+0xd5/0x320 [ 47.206457][ T2733] [ 47.208768][ T2733] CPU: 1 PID: 2733 Comm: syz-executor107 Tainted: G B W 5.10.76-syzkaller-01178-g4944ec82ebb9 #0 [ 47.220358][ T2733] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 47.230405][ T2733] Call Trace: [ 47.233676][ T2733] dump_stack_lvl+0x1e2/0x24b [ 47.238327][ T2733] ? show_regs_print_info+0x18/0x18 [ 47.243500][ T2733] ? devkmsg_release+0x127/0x127 [ 47.248414][ T2733] ? kfree+0xd5/0x320 [ 47.252373][ T2733] print_address_description+0x8d/0x3d0 [ 47.257893][ T2733] ? debug_smp_processor_id+0x1c/0x20 [ 47.263235][ T2733] ? kfree+0xd5/0x320 [ 47.267191][ T2733] ? kfree+0xd5/0x320 [ 47.271147][ T2733] kasan_report_invalid_free+0x58/0x130 [ 47.276676][ T2733] ____kasan_slab_free+0x14b/0x170 [ 47.281761][ T2733] __kasan_slab_free+0x11/0x20 [ 47.286510][ T2733] slab_free_freelist_hook+0xcc/0x1a0 [ 47.291857][ T2733] ? io_dismantle_req+0x9b0/0xd90 [ 47.296854][ T2733] kfree+0xd5/0x320 [ 47.300649][ T2733] ? __kasan_check_write+0x14/0x20 [ 47.305734][ T2733] io_dismantle_req+0x9b0/0xd90 [ 47.310574][ T2733] io_do_iopoll+0x13b4/0x23f0 [ 47.315227][ T2733] ? __rcu_read_lock+0x50/0x50 [ 47.319966][ T2733] ? io_iopoll_try_reap_events+0x290/0x290 [ 47.325755][ T2733] ? __kasan_check_write+0x14/0x20 [ 47.330840][ T2733] ? mutex_lock+0xa6/0x110 [ 47.335230][ T2733] ? mutex_trylock+0xb0/0xb0 [ 47.339809][ T2733] ? _raw_spin_lock_irq+0xa4/0x1b0 [ 47.344894][ T2733] io_iopoll_try_reap_events+0x116/0x290 [ 47.350501][ T2733] ? io_poll_remove_all+0x210/0x210 [ 47.355675][ T2733] ? io_poll_remove_all+0x1f1/0x210 [ 47.360851][ T2733] io_uring_cancel_task_requests+0x196d/0x1ed0 [ 47.366982][ T2733] ? __io_uring_files_cancel+0x350/0x350 [ 47.372598][ T2733] ? __kasan_check_write+0x14/0x20 [ 47.377788][ T2733] ? task_work_add+0x2bf/0x320 [ 47.382528][ T2733] ? asan.module_dtor+0x20/0x20 [ 47.387354][ T2733] io_uring_flush+0x170/0x6d0 [ 47.392008][ T2733] ? fput_many+0x15a/0x1a0 [ 47.396745][ T2733] ? io_uring_mmap+0x360/0x360 [ 47.401483][ T2733] filp_close+0xb0/0x150 [ 47.405702][ T2733] put_files_struct+0x1d4/0x350 [ 47.410528][ T2733] exit_files+0x80/0xa0 [ 47.414657][ T2733] do_exit+0x6d9/0x23a0 [ 47.418792][ T2733] ? mm_update_next_owner+0x6e0/0x6e0 [ 47.424142][ T2733] ? __kasan_check_write+0x14/0x20 [ 47.429230][ T2733] ? _raw_spin_lock_irq+0xa4/0x1b0 [ 47.434350][ T2733] do_group_exit+0x16a/0x2d0 [ 47.438927][ T2733] get_signal+0x133e/0x1f80 [ 47.443421][ T2733] ? __kasan_check_write+0x14/0x20 [ 47.448510][ T2733] ? ptrace_notify+0x340/0x340 [ 47.453251][ T2733] ? fput+0x1a/0x20 [ 47.457036][ T2733] ? __se_sys_io_uring_enter+0xf3e/0x12b0 [ 47.462732][ T2733] arch_do_signal+0x8d/0x620 [ 47.467300][ T2733] ? __do_sys_rt_sigreturn+0x1e0/0x1e0 [ 47.472737][ T2733] ? debug_smp_processor_id+0x1c/0x20 [ 47.478082][ T2733] exit_to_user_mode_prepare+0xaa/0xe0 [ 47.483514][ T2733] syscall_exit_to_user_mode+0x24/0x40 [ 47.488946][ T2733] do_syscall_64+0x3d/0x70 [ 47.493351][ T2733] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 47.499220][ T2733] RIP: 0033:0x7f4c2f5144f9 [ 47.503606][ T2733] Code: Unable to access opcode bytes at RIP 0x7f4c2f5144cf. [ 47.510944][ T2733] RSP: 002b:00007f4c2f4a4218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca [ 47.519503][ T2733] RAX: fffffffffffffe00 RBX: 00007f4c2f59c438 RCX: 00007f4c2f5144f9 [ 47.527456][ T2733] RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f4c2f59c438 [ 47.535411][ T2733] RBP: 00007f4c2f59c430 R08: 0000000000000000 R09: 0000000000000000 [ 47.543354][ T2733] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4c2f59c43c [ 47.551298][ T2733] R13: 00007ffd3aa4160f R14: 00007f4c2f4a4300 R15: 0000000000022000 [ 47.559249][ T2733] [ 47.561732][ T2733] Allocated by task 2726: [ 47.566041][ T2733] ____kasan_kmalloc+0xdc/0x110 [ 47.570865][ T2733] __kasan_kmalloc+0x9/0x10 [ 47.575344][ T2733] kmem_cache_alloc_trace+0x210/0x3a0 [ 47.580781][ T2733] io_uring_alloc_task_context+0x57/0x550 [ 47.586574][ T2733] io_uring_add_task_file+0x1f7/0x290 [ 47.591936][ T2733] io_uring_create+0x2195/0x3490 [ 47.596846][ T2733] __x64_sys_io_uring_setup+0x1ce/0x290 [ 47.602368][ T2733] do_syscall_64+0x31/0x70 [ 47.606773][ T2733] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 47.612633][ T2733] [ 47.614937][ T2733] The buggy address belongs to the object at ffff88811f4fc800 [ 47.614937][ T2733] which belongs to the cache kmalloc-192 of size 192 [ 47.628981][ T2733] The buggy address is located 88 bytes inside of [ 47.628981][ T2733] 192-byte region [ffff88811f4fc800, ffff88811f4fc8c0) [ 47.642218][ T2733] The buggy address belongs to the page: [ 47.647839][ T2733] page:ffffea00047d3f00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x11f4fc [ 47.658129][ T2733] flags: 0x8000000000000200(slab) [ 47.663128][ T2733] raw: 8000000000000200 dead000000000100 dead000000000122 ffff888100043380 [ 47.671695][ T2733] raw: 0000000000000000 0000000080100010 00000001ffffffff 0000000000000000 [ 47.680246][ T2733] page dumped because: kasan: bad access detected [ 47.686740][ T2733] page_owner tracks the page as allocated [ 47.692464][ T2733] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x12cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY), pid 2720, ts 47140846162, free_ts 47139765473 [ 47.708512][ T2733] get_page_from_freelist+0xa74/0xa90 [ 47.713872][ T2733] __alloc_pages_nodemask+0x3c8/0x820 [ 47.719226][ T2733] allocate_slab+0x6b/0x350 [ 47.723700][ T2733] ___slab_alloc+0x143/0x2f0 [ 47.728263][ T2733] kmem_cache_alloc_trace+0x278/0x3a0 [ 47.733607][ T2733] io_uring_create+0x168b/0x3490 [ 47.738516][ T2733] __x64_sys_io_uring_setup+0x1ce/0x290 [ 47.744034][ T2733] do_syscall_64+0x31/0x70 [ 47.748424][ T2733] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 47.754294][ T2733] page last free stack trace: [ 47.758955][ T2733] free_pcp_prepare+0x18f/0x1c0 [ 47.763775][ T2733] __free_pages+0x2e3/0x4a0 [ 47.768250][ T2733] handle_pte_fault+0x935/0xac0 [ 47.773075][ T2733] handle_mm_fault+0x11c9/0x1a40 [ 47.777985][ T2733] do_user_addr_fault+0x6a2/0xd70 [ 47.783001][ T2733] exc_page_fault+0x98/0x2d0 [ 47.787565][ T2733] asm_exc_page_fault+0x1e/0x30 [ 47.792557][ T2733] [ 47.794858][ T2733] Memory state around the buggy address: [ 47.800462][ T2733] ffff88811f4fc700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 47.808505][ T2733] ffff88811f4fc780: 00 00 00 00 00 fc fc fc fc fc fc fc fc fc fc fc [ 47.816536][ T2733] >ffff88811f4fc800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 47.824575][ T2733] ^ [ 47.831482][ T2733] ffff88811f4fc880: 00 00 00 00 00 00 fc fc fc fc fc fc fc fc fc fc executing program executing program [ 47.839523][ T2733] ffff88811f4fc900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 47.847553][ T2733] ================================================================== executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 48.342204][ T2998] ================================================================== [ 48.350295][ T2998] BUG: KASAN: double-free or invalid-free in kfree+0xd5/0x320 [ 48.357727][ T2998] [ 48.360046][ T2998] CPU: 1 PID: 2998 Comm: syz-executor107 Tainted: G B W 5.10.76-syzkaller-01178-g4944ec82ebb9 #0 [ 48.371646][ T2998] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 48.381677][ T2998] Call Trace: [ 48.384951][ T2998] dump_stack_lvl+0x1e2/0x24b [ 48.389610][ T2998] ? show_regs_print_info+0x18/0x18 [ 48.394809][ T2998] ? devkmsg_release+0x127/0x127 [ 48.399742][ T2998] ? kfree+0xd5/0x320 [ 48.403725][ T2998] print_address_description+0x8d/0x3d0 [ 48.409269][ T2998] ? debug_smp_processor_id+0x1c/0x20 [ 48.414638][ T2998] ? kfree+0xd5/0x320 [ 48.418615][ T2998] ? kfree+0xd5/0x320 [ 48.422589][ T2998] kasan_report_invalid_free+0x58/0x130 [ 48.428131][ T2998] ____kasan_slab_free+0x14b/0x170 [ 48.433230][ T2998] __kasan_slab_free+0x11/0x20 [ 48.437981][ T2998] slab_free_freelist_hook+0xcc/0x1a0 [ 48.443340][ T2998] ? io_dismantle_req+0x9b0/0xd90 [ 48.448346][ T2998] kfree+0xd5/0x320 [ 48.452137][ T2998] ? __kasan_check_write+0x14/0x20 [ 48.457230][ T2998] io_dismantle_req+0x9b0/0xd90 [ 48.462064][ T2998] io_do_iopoll+0x13b4/0x23f0 [ 48.466729][ T2998] ? __rcu_read_lock+0x50/0x50 [ 48.471478][ T2998] ? io_iopoll_try_reap_events+0x290/0x290 [ 48.477269][ T2998] ? __kasan_check_write+0x14/0x20 [ 48.482362][ T2998] ? mutex_lock+0xa6/0x110 [ 48.486761][ T2998] ? mutex_trylock+0xb0/0xb0 [ 48.491333][ T2998] io_iopoll_try_reap_events+0x116/0x290 [ 48.496947][ T2998] ? io_poll_remove_all+0x210/0x210 [ 48.502130][ T2998] ? io_poll_remove_all+0x1f1/0x210 [ 48.507313][ T2998] io_uring_cancel_task_requests+0x196d/0x1ed0 [ 48.513450][ T2998] ? __io_uring_files_cancel+0x350/0x350 [ 48.519063][ T2998] ? __kasan_check_write+0x14/0x20 [ 48.524158][ T2998] ? task_work_add+0x2bf/0x320 [ 48.528905][ T2998] ? asan.module_dtor+0x20/0x20 [ 48.533741][ T2998] io_uring_flush+0x170/0x6d0 [ 48.538397][ T2998] ? fput_many+0x15a/0x1a0 [ 48.542800][ T2998] ? io_uring_mmap+0x360/0x360 [ 48.547544][ T2998] filp_close+0xb0/0x150 [ 48.551771][ T2998] put_files_struct+0x1d4/0x350 [ 48.556609][ T2998] exit_files+0x80/0xa0 [ 48.560750][ T2998] do_exit+0x6d9/0x23a0 [ 48.564890][ T2998] ? mm_update_next_owner+0x6e0/0x6e0 [ 48.570248][ T2998] ? __kasan_check_write+0x14/0x20 [ 48.575343][ T2998] ? _raw_spin_lock_irq+0xa4/0x1b0 [ 48.580437][ T2998] do_group_exit+0x16a/0x2d0 [ 48.585032][ T2998] get_signal+0x133e/0x1f80 [ 48.589533][ T2998] ? __kasan_check_write+0x14/0x20 [ 48.594637][ T2998] ? ptrace_notify+0x340/0x340 [ 48.599403][ T2998] ? fput+0x1a/0x20 [ 48.603201][ T2998] ? __se_sys_io_uring_enter+0xf3e/0x12b0 [ 48.608905][ T2998] arch_do_signal+0x8d/0x620 [ 48.613481][ T2998] ? __do_sys_rt_sigreturn+0x1e0/0x1e0 [ 48.618924][ T2998] ? debug_smp_processor_id+0x1c/0x20 [ 48.624290][ T2998] exit_to_user_mode_prepare+0xaa/0xe0 [ 48.629738][ T2998] syscall_exit_to_user_mode+0x24/0x40 [ 48.635182][ T2998] do_syscall_64+0x3d/0x70