Warning: Permanently added '10.128.1.62' (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 executing program executing program executing program executing program executing program executing program executing program executing program executing program syzkaller login: [ 36.128226] ================================================================== [ 36.135781] BUG: KASAN: use-after-free in snd_seq_timer_interrupt+0x316/0x380 [ 36.143054] Read of size 8 at addr ffff8880a237fcd8 by task syz-executor842/8550 [ 36.150591] [ 36.152207] CPU: 0 PID: 8550 Comm: syz-executor842 Not tainted 4.19.195-syzkaller #0 [ 36.160068] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 36.169401] Call Trace: [ 36.171967] [ 36.174100] dump_stack+0x1fc/0x2ef [ 36.177747] print_address_description.cold+0x54/0x219 [ 36.183030] kasan_report_error.cold+0x8a/0x1b9 [ 36.187791] ? snd_seq_timer_interrupt+0x316/0x380 [ 36.192718] __asan_report_load8_noabort+0x88/0x90 [ 36.197633] ? snd_seq_timer_interrupt+0x316/0x380 [ 36.202545] snd_seq_timer_interrupt+0x316/0x380 [ 36.207294] snd_timer_interrupt.part.0+0x94f/0xf40 [ 36.212303] ? snd_seq_timer_set_tick_resolution+0x200/0x200 [ 36.218095] snd_timer_s_function+0x14b/0x1e0 [ 36.222588] call_timer_fn+0x177/0x700 [ 36.226462] ? snd_timer_user_status.isra.0+0x290/0x290 [ 36.231807] ? process_timeout+0x40/0x40 [ 36.235854] ? mark_held_locks+0xa6/0xf0 [ 36.239899] ? _raw_spin_unlock_irq+0x24/0x80 [ 36.244376] ? snd_timer_user_status.isra.0+0x290/0x290 [ 36.249726] ? snd_timer_user_status.isra.0+0x290/0x290 [ 36.255089] expire_timers+0x243/0x4e0 [ 36.258966] run_timer_softirq+0x21c/0x670 [ 36.263189] ? expire_timers+0x4e0/0x4e0 [ 36.267237] ? check_preemption_disabled+0x41/0x280 [ 36.272239] __do_softirq+0x265/0x980 [ 36.276045] irq_exit+0x215/0x260 [ 36.279481] smp_apic_timer_interrupt+0x136/0x550 [ 36.284308] apic_timer_interrupt+0xf/0x20 [ 36.288520] [ 36.290767] RIP: 0010:lock_is_held_type+0x187/0x210 [ 36.295766] Code: 00 00 00 00 48 c1 e8 03 80 3c 10 00 75 63 48 83 3d 75 ce a6 08 00 74 2c 48 89 df 57 9d 0f 1f 44 00 00 48 83 c4 08 44 89 e0 5b <5d> 41 5c c3 48 83 c4 08 41 bc 01 00 00 00 5b 44 89 e0 5d 41 5c c3 [ 36.314661] RSP: 0000:ffff888093c37b60 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff13 [ 36.322353] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 [ 36.329608] RDX: dffffc0000000000 RSI: 00000000ffffffff RDI: 0000000000000286 [ 36.336860] RBP: ffff8880ac3c4240 R08: ffffffffffffffe8 R09: 0000000000000000 [ 36.344116] R10: 0000000000000004 R11: 0000000047376564 R12: 0000000000000000 [ 36.351396] R13: 0000000000000000 R14: 0000000000000000 R15: ffff888093c37d48 [ 36.358662] ___might_sleep+0x227/0x2b0 [ 36.362623] clear_huge_page+0x98/0x460 [ 36.366587] do_huge_pmd_anonymous_page+0xbb5/0x1e60 [ 36.371681] ? prep_transhuge_page+0xa0/0xa0 [ 36.376079] ? mark_held_locks+0xf0/0xf0 [ 36.380124] __handle_mm_fault+0x289c/0x41c0 [ 36.384517] ? kernel_read+0x110/0x110 [ 36.388394] ? vm_insert_page+0x9c0/0x9c0 [ 36.392537] ? fsnotify+0x84e/0xe10 [ 36.396152] ? check_preemption_disabled+0x41/0x280 [ 36.401154] handle_mm_fault+0x436/0xb10 [ 36.405313] __do_page_fault+0x68e/0xd60 [ 36.409358] ? trace_hardirqs_off_caller+0x6e/0x210 [ 36.414355] ? spurious_fault+0x840/0x840 [ 36.418485] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 36.423311] ? page_fault+0x8/0x30 [ 36.426835] page_fault+0x1e/0x30 [ 36.430272] RIP: 0033:0x401854 [ 36.433450] Code: 48 8d 35 0a 18 08 00 e8 5a 0c 00 00 b8 c0 01 00 20 48 8d 35 36 18 08 00 31 d2 48 89 c7 b9 1d 00 00 00 41 b8 c0 01 00 20 31 c0 a4 41 b9 80 02 00 20 83 ce ff b9 63 00 00 00 c6 07 00 bf 37 00 [ 36.452425] RSP: 002b:00007ffd5fe5dda0 EFLAGS: 00010246 [ 36.457800] RAX: 0000000000000000 RBX: 00000000000f4240 RCX: 000000000000001d [ 36.465049] RDX: 0000000000000000 RSI: 0000000000483078 RDI: 00000000200001c0 [ 36.472302] RBP: 0000000000000000 R08: 00000000200001c0 R09: 00007ffd5fe5d810 [ 36.479640] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000008cfc [ 36.486892] R13: 00007ffd5fe5ddac R14: 00007ffd5fe5ddc0 R15: 00007ffd5fe5ddb0 [ 36.494161] [ 36.495776] Allocated by task 8540: [ 36.499387] kmem_cache_alloc_trace+0x12f/0x380 [ 36.504040] snd_seq_queue_alloc+0x51/0x500 [ 36.508442] snd_seq_ioctl_create_queue+0xab/0x320 [ 36.513359] snd_seq_ioctl+0x203/0x400 [ 36.517234] do_vfs_ioctl+0xcdb/0x12e0 [ 36.521124] ksys_ioctl+0x9b/0xc0 [ 36.524558] __x64_sys_ioctl+0x6f/0xb0 [ 36.528435] do_syscall_64+0xf9/0x620 [ 36.532224] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 36.537573] [ 36.539187] Freed by task 8540: [ 36.542450] kfree+0xcc/0x210 [ 36.545544] snd_seq_queue_client_leave+0x31/0x160 [ 36.550466] seq_free_client1.part.0+0xf0/0x270 [ 36.555162] seq_free_client+0x7b/0xf0 [ 36.559058] snd_seq_release+0x4d/0xe0 [ 36.562942] __fput+0x2ce/0x890 [ 36.566204] task_work_run+0x148/0x1c0 [ 36.570069] do_exit+0xbf3/0x2be0 [ 36.573499] do_group_exit+0x125/0x310 [ 36.577363] __x64_sys_exit_group+0x3a/0x50 [ 36.581771] do_syscall_64+0xf9/0x620 [ 36.585577] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 36.590746] [ 36.592356] The buggy address belongs to the object at ffff8880a237fc80 [ 36.592356] which belongs to the cache kmalloc-512 of size 512 [ 36.604991] The buggy address is located 88 bytes inside of [ 36.604991] 512-byte region [ffff8880a237fc80, ffff8880a237fe80) [ 36.616761] The buggy address belongs to the page: [ 36.621692] page:ffffea000288dfc0 count:1 mapcount:0 mapping:ffff88813bff0940 index:0xffff8880a237f000 [ 36.631117] flags: 0xfff00000000100(slab) [ 36.635255] raw: 00fff00000000100 ffffea0002a733c8 ffffea00028c8988 ffff88813bff0940 [ 36.643124] raw: ffff8880a237f000 ffff8880a237f000 0000000100000002 0000000000000000 [ 36.650987] page dumped because: kasan: bad access detected [ 36.656711] [ 36.658313] Memory state around the buggy address: [ 36.663238] ffff8880a237fb80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 36.670576] ffff8880a237fc00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 36.677916] >ffff8880a237fc80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 36.685249] ^ [ 36.691461] ffff8880a237fd00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 36.698797] ffff8880a237fd80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 36.706148] ================================================================== [ 36.713487] Disabling lock debugging due to kernel taint [ 36.718921] Kernel panic - not syncing: panic_on_warn set ... [ 36.718921] [ 36.726270] CPU: 0 PID: 8550 Comm: syz-executor842 Tainted: G B 4.19.195-syzkaller #0 [ 36.735546] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 36.744876] Call Trace: [ 36.747443] [ 36.749601] dump_stack+0x1fc/0x2ef [ 36.753206] panic+0x26a/0x50e [ 36.756397] ? __warn_printk+0xf3/0xf3 [ 36.760271] ? lock_downgrade+0x720/0x720 [ 36.764401] ? print_shadow_for_address+0xb8/0x114 [ 36.769307] ? trace_hardirqs_off+0x64/0x200 [ 36.773697] kasan_end_report+0x43/0x49 [ 36.777652] kasan_report_error.cold+0xa7/0x1b9 [ 36.782304] ? snd_seq_timer_interrupt+0x316/0x380 [ 36.787212] __asan_report_load8_noabort+0x88/0x90 [ 36.792120] ? snd_seq_timer_interrupt+0x316/0x380 [ 36.797029] snd_seq_timer_interrupt+0x316/0x380 [ 36.801766] snd_timer_interrupt.part.0+0x94f/0xf40 [ 36.806773] ? snd_seq_timer_set_tick_resolution+0x200/0x200 [ 36.812548] snd_timer_s_function+0x14b/0x1e0 [ 36.817022] call_timer_fn+0x177/0x700 [ 36.820889] ? snd_timer_user_status.isra.0+0x290/0x290 [ 36.826232] ? process_timeout+0x40/0x40 [ 36.830276] ? mark_held_locks+0xa6/0xf0 [ 36.834317] ? _raw_spin_unlock_irq+0x24/0x80 [ 36.838809] ? snd_timer_user_status.isra.0+0x290/0x290 [ 36.844151] ? snd_timer_user_status.isra.0+0x290/0x290 [ 36.849494] expire_timers+0x243/0x4e0 [ 36.853449] run_timer_softirq+0x21c/0x670 [ 36.857663] ? expire_timers+0x4e0/0x4e0 [ 36.861719] ? check_preemption_disabled+0x41/0x280 [ 36.866717] __do_softirq+0x265/0x980 [ 36.870498] irq_exit+0x215/0x260 [ 36.873932] smp_apic_timer_interrupt+0x136/0x550 [ 36.878866] apic_timer_interrupt+0xf/0x20 [ 36.883075] [ 36.885296] RIP: 0010:lock_is_held_type+0x187/0x210 [ 36.890288] Code: 00 00 00 00 48 c1 e8 03 80 3c 10 00 75 63 48 83 3d 75 ce a6 08 00 74 2c 48 89 df 57 9d 0f 1f 44 00 00 48 83 c4 08 44 89 e0 5b <5d> 41 5c c3 48 83 c4 08 41 bc 01 00 00 00 5b 44 89 e0 5d 41 5c c3 [ 36.909167] RSP: 0000:ffff888093c37b60 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff13 [ 36.916868] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 [ 36.924122] RDX: dffffc0000000000 RSI: 00000000ffffffff RDI: 0000000000000286 [ 36.931389] RBP: ffff8880ac3c4240 R08: ffffffffffffffe8 R09: 0000000000000000 [ 36.938726] R10: 0000000000000004 R11: 0000000047376564 R12: 0000000000000000 [ 36.945971] R13: 0000000000000000 R14: 0000000000000000 R15: ffff888093c37d48 [ 36.953242] ___might_sleep+0x227/0x2b0 [ 36.957194] clear_huge_page+0x98/0x460 [ 36.961157] do_huge_pmd_anonymous_page+0xbb5/0x1e60 [ 36.966264] ? prep_transhuge_page+0xa0/0xa0 [ 36.970683] ? mark_held_locks+0xf0/0xf0 [ 36.974720] __handle_mm_fault+0x289c/0x41c0 [ 36.979112] ? kernel_read+0x110/0x110 [ 36.982980] ? vm_insert_page+0x9c0/0x9c0 [ 36.987110] ? fsnotify+0x84e/0xe10 [ 36.990718] ? check_preemption_disabled+0x41/0x280 [ 36.995716] handle_mm_fault+0x436/0xb10 [ 36.999759] __do_page_fault+0x68e/0xd60 [ 37.003818] ? trace_hardirqs_off_caller+0x6e/0x210 [ 37.008811] ? spurious_fault+0x840/0x840 [ 37.012934] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 37.017756] ? page_fault+0x8/0x30 [ 37.021275] page_fault+0x1e/0x30 [ 37.024710] RIP: 0033:0x401854 [ 37.027886] Code: 48 8d 35 0a 18 08 00 e8 5a 0c 00 00 b8 c0 01 00 20 48 8d 35 36 18 08 00 31 d2 48 89 c7 b9 1d 00 00 00 41 b8 c0 01 00 20 31 c0 a4 41 b9 80 02 00 20 83 ce ff b9 63 00 00 00 c6 07 00 bf 37 00 [ 37.046763] RSP: 002b:00007ffd5fe5dda0 EFLAGS: 00010246 [ 37.052121] RAX: 0000000000000000 RBX: 00000000000f4240 RCX: 000000000000001d [ 37.059367] RDX: 0000000000000000 RSI: 0000000000483078 RDI: 00000000200001c0 [ 37.066655] RBP: 0000000000000000 R08: 00000000200001c0 R09: 00007ffd5fe5d810 [ 37.073902] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000008cfc [ 37.081148] R13: 00007ffd5fe5ddac R14: 00007ffd5fe5ddc0 R15: 00007ffd5fe5ddb0 [ 37.089709] Kernel Offset: disabled [ 37.093319] Rebooting in 86400 seconds..