dhcpcd-9.4.0 starting dev: loaded udev DUID 00:04:ad:e7:79:3b:b7:f5:62:73:6c:f2:e2:29:12:8f:ec:36 forked to background, child pid 1205 Starting sshd: OK syzkaller Warning: Permanently added '10.128.0.128' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 26.959065][ T69] usb 1-1: new high-speed USB device number 2 using dummy_hcd [ 27.479203][ T69] usb 1-1: New USB device found, idVendor=0cf3, idProduct=9271, bcdDevice= 1.08 [ 27.488339][ T69] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 27.496406][ T69] usb 1-1: Product: syz [ 27.500595][ T69] usb 1-1: Manufacturer: syz [ 27.505172][ T69] usb 1-1: SerialNumber: syz [ 27.550419][ T69] usb 1-1: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested [ 28.119173][ T69] usb 1-1: ath9k_htc: Transferred FW: ath9k_htc/htc_9271-1.4.0.fw, size: 51008 [ 29.189061][ T69] ath9k_htc 1-1:1.0: ath9k_htc: Target is unresponsive [ 29.196232][ T69] ath9k_htc: Failed to initialize the device [ 29.329094][ C1] ================================================================== [ 29.337236][ C1] BUG: KASAN: slab-out-of-bounds in ath9k_hif_usb_rx_cb+0xea4/0x10c0 [ 29.345296][ C1] Read of size 4 at addr ffff888107fe4348 by task swapper/1/0 [ 29.352761][ C1] [ 29.355070][ C1] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.17.0-rc4-syzkaller-00086-gf6a9a2d64dd1 #0 [ 29.364784][ C1] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 29.374827][ C1] Call Trace: [ 29.378104][ C1] [ 29.380954][ C1] dump_stack_lvl+0xcd/0x134 [ 29.385546][ C1] print_address_description.constprop.0.cold+0x8d/0x336 [ 29.392564][ C1] ? ath9k_hif_usb_rx_cb+0xea4/0x10c0 [ 29.397952][ C1] ? ath9k_hif_usb_rx_cb+0xea4/0x10c0 [ 29.403319][ C1] kasan_report.cold+0x83/0xdf [ 29.408184][ C1] ? ath9k_hif_usb_rx_cb+0xea4/0x10c0 [ 29.413551][ C1] ath9k_hif_usb_rx_cb+0xea4/0x10c0 [ 29.418745][ C1] ? __ww_mutex_check_waiters+0x230/0x2a0 [ 29.424456][ C1] ? hif_usb_start+0xa0/0xa0 [ 29.429035][ C1] ? rwlock_bug.part.0+0x90/0x90 [ 29.433980][ C1] __usb_hcd_giveback_urb+0x2b0/0x5c0 [ 29.439356][ C1] usb_hcd_giveback_urb+0x367/0x410 [ 29.444559][ C1] dummy_timer+0x11f9/0x32b0 [ 29.449152][ C1] ? dummy_dequeue+0x500/0x500 [ 29.453908][ C1] ? dummy_dequeue+0x500/0x500 [ 29.458660][ C1] call_timer_fn+0x1a5/0x6b0 [ 29.463246][ C1] ? timer_fixup_activate+0x350/0x350 [ 29.468724][ C1] ? lock_downgrade+0x6e0/0x6e0 [ 29.473561][ C1] ? _raw_spin_unlock_irq+0x1f/0x40 [ 29.478751][ C1] ? dummy_dequeue+0x500/0x500 [ 29.483509][ C1] __run_timers.part.0+0x67c/0xa30 [ 29.488615][ C1] ? call_timer_fn+0x6b0/0x6b0 [ 29.493369][ C1] ? lapic_next_event+0x4d/0x80 [ 29.498209][ C1] ? __sanitizer_cov_trace_const_cmp4+0x1c/0x70 [ 29.504438][ C1] ? clockevents_program_event+0x12b/0x370 [ 29.510234][ C1] run_timer_softirq+0xb3/0x1d0 [ 29.515074][ C1] __do_softirq+0x288/0x9a5 [ 29.519573][ C1] __irq_exit_rcu+0x113/0x170 [ 29.524234][ C1] irq_exit_rcu+0x5/0x20 [ 29.528481][ C1] sysvec_apic_timer_interrupt+0x8e/0xc0 [ 29.534105][ C1] [ 29.537021][ C1] [ 29.539941][ C1] asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 29.545919][ C1] RIP: 0010:acpi_idle_do_entry+0x1c6/0x250 [ 29.551721][ C1] Code: 89 de e8 9d a8 6c fb 84 db 75 ac e8 14 a6 6c fb e8 7f db 72 fb eb 0c e8 08 a6 6c fb 0f 00 2d d1 e0 72 00 e8 fc a5 6c fb fb f4 <9c> 5b 81 e3 00 02 00 00 fa 31 ff 48 89 de e8 d7 a9 6c fb 48 85 db [ 29.571323][ C1] RSP: 0018:ffffc900000efd18 EFLAGS: 00000293 [ 29.577382][ C1] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 29.585335][ C1] RDX: ffff8881002c1c00 RSI: ffffffff85d75ed4 RDI: 0000000000000000 [ 29.593290][ C1] RBP: ffff8881065d4064 R08: 0000000000000001 R09: 0000000000000001 [ 29.601252][ C1] R10: ffffffff814a3a78 R11: 0000000000000000 R12: 0000000000000001 [ 29.609218][ C1] R13: ffff8881065d4000 R14: ffff8881065d4064 R15: ffff8881051ba804 [ 29.617210][ C1] ? trace_hardirqs_on+0x38/0x1c0 [ 29.622236][ C1] ? acpi_idle_do_entry+0x1c4/0x250 [ 29.627435][ C1] ? acpi_idle_do_entry+0x1c4/0x250 [ 29.632632][ C1] acpi_idle_enter+0x361/0x500 [ 29.637396][ C1] cpuidle_enter_state+0x1b1/0xc80 [ 29.642515][ C1] cpuidle_enter+0x4a/0xa0 [ 29.646921][ C1] do_idle+0x3e8/0x590 [ 29.650984][ C1] ? arch_cpu_idle_exit+0x30/0x30 [ 29.655993][ C1] ? _raw_spin_unlock_bh+0x10/0x30 [ 29.661103][ C1] ? lockdep_hardirqs_on+0x79/0x100 [ 29.666300][ C1] cpu_startup_entry+0x14/0x20 [ 29.671068][ C1] start_secondary+0x265/0x340 [ 29.675842][ C1] ? set_cpu_sibling_map+0x1ee0/0x1ee0 [ 29.681415][ C1] secondary_startup_64_no_verify+0xc3/0xcb [ 29.687304][ C1] [ 29.690382][ C1] [ 29.692701][ C1] Allocated by task 0: [ 29.696746][ C1] (stack is not available) [ 29.701136][ C1] [ 29.703441][ C1] The buggy address belongs to the object at ffff888107fe4000 [ 29.703441][ C1] which belongs to the cache kmalloc-4k of size 4096 [ 29.717473][ C1] The buggy address is located 840 bytes inside of [ 29.717473][ C1] 4096-byte region [ffff888107fe4000, ffff888107fe5000) [ 29.730830][ C1] The buggy address belongs to the page: [ 29.736437][ C1] page:ffffea00041ff800 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x107fe0 [ 29.746710][ C1] head:ffffea00041ff800 order:3 compound_mapcount:0 compound_pincount:0 [ 29.755047][ C1] flags: 0x200000000010200(slab|head|node=0|zone=2) [ 29.761657][ C1] raw: 0200000000010200 0000000000000000 dead000000000122 ffff888100042140 [ 29.770245][ C1] raw: 0000000000000000 0000000080040004 00000001ffffffff 0000000000000000 [ 29.778814][ C1] page dumped because: kasan: bad access detected [ 29.785209][ C1] page_owner tracks the page as allocated [ 29.790905][ C1] page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd2040(__GFP_IO|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 1274, ts 29320413631, free_ts 29196208092 [ 29.809211][ C1] get_page_from_freelist+0x122d/0x2940 [ 29.814754][ C1] __alloc_pages+0x1b2/0x500 [ 29.819334][ C1] alloc_pages+0x1aa/0x310 [ 29.823734][ C1] allocate_slab+0x27f/0x3e0 [ 29.828312][ C1] ___slab_alloc+0xc12/0x1450 [ 29.832975][ C1] __slab_alloc.constprop.0+0x4d/0xa0 [ 29.838345][ C1] __kmalloc+0x364/0x420 [ 29.842571][ C1] tomoyo_realpath_from_path+0xc3/0x620 [ 29.848103][ C1] tomoyo_path_number_perm+0x1d5/0x590 [ 29.853558][ C1] security_file_ioctl+0x50/0xb0 [ 29.858482][ C1] __x64_sys_ioctl+0xb3/0x200 [ 29.863144][ C1] do_syscall_64+0x35/0xb0 [ 29.867549][ C1] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 29.873434][ C1] page last free stack trace: [ 29.878089][ C1] free_pcp_prepare+0x361/0x760 [ 29.882935][ C1] free_unref_page+0x19/0x580 [ 29.887617][ C1] device_release+0x9f/0x240 [ 29.892196][ C1] kobject_put+0x1c8/0x540 [ 29.896600][ C1] put_device+0x1b/0x30 [ 29.900741][ C1] ath9k_htc_probe_device+0x1c7/0x1f00 [ 29.906281][ C1] ath9k_htc_hw_init+0x31/0x60 [ 29.911026][ C1] ath9k_hif_usb_firmware_cb+0x274/0x530 [ 29.916641][ C1] request_firmware_work_func+0x12c/0x230 [ 29.922347][ C1] process_one_work+0x9ac/0x1650 [ 29.927269][ C1] worker_thread+0x657/0x1110 [ 29.931928][ C1] kthread+0x2ef/0x3a0 [ 29.935978][ C1] ret_from_fork+0x1f/0x30 [ 29.940379][ C1] [ 29.942684][ C1] Memory state around the buggy address: [ 29.948293][ C1] ffff888107fe4200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.956334][ C1] ffff888107fe4280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.964379][ C1] >ffff888107fe4300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.972416][ C1] ^ [ 29.978814][ C1] ffff888107fe4380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.986854][ C1] ffff888107fe4400: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.994900][ C1] ================================================================== [ 30.002942][ C1] Disabling lock debugging due to kernel taint [ 30.009071][ C1] Kernel panic - not syncing: panic_on_warn set ... [ 30.015632][ C1] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G B 5.17.0-rc4-syzkaller-00086-gf6a9a2d64dd1 #0 [ 30.026715][ C1] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 30.036747][ C1] Call Trace: [ 30.040009][ C1] [ 30.042834][ C1] dump_stack_lvl+0xcd/0x134 [ 30.047413][ C1] panic+0x2b0/0x6dd [ 30.051291][ C1] ? __warn_printk+0xf3/0xf3 [ 30.055861][ C1] ? ath9k_hif_usb_rx_cb+0xea4/0x10c0 [ 30.061214][ C1] ? ath9k_hif_usb_rx_cb+0xea4/0x10c0 [ 30.066568][ C1] end_report.cold+0x63/0x6f [ 30.071140][ C1] kasan_report.cold+0x71/0xdf [ 30.075888][ C1] ? ath9k_hif_usb_rx_cb+0xea4/0x10c0 [ 30.081254][ C1] ath9k_hif_usb_rx_cb+0xea4/0x10c0 [ 30.086436][ C1] ? __ww_mutex_check_waiters+0x230/0x2a0 [ 30.092151][ C1] ? hif_usb_start+0xa0/0xa0 [ 30.096721][ C1] ? rwlock_bug.part.0+0x90/0x90 [ 30.101643][ C1] __usb_hcd_giveback_urb+0x2b0/0x5c0 [ 30.107001][ C1] usb_hcd_giveback_urb+0x367/0x410 [ 30.112197][ C1] dummy_timer+0x11f9/0x32b0 [ 30.116770][ C1] ? dummy_dequeue+0x500/0x500 [ 30.121520][ C1] ? dummy_dequeue+0x500/0x500 [ 30.126265][ C1] call_timer_fn+0x1a5/0x6b0 [ 30.130837][ C1] ? timer_fixup_activate+0x350/0x350 [ 30.136189][ C1] ? lock_downgrade+0x6e0/0x6e0 [ 30.141019][ C1] ? _raw_spin_unlock_irq+0x1f/0x40 [ 30.146197][ C1] ? dummy_dequeue+0x500/0x500 [ 30.150942][ C1] __run_timers.part.0+0x67c/0xa30 [ 30.156038][ C1] ? call_timer_fn+0x6b0/0x6b0 [ 30.160798][ C1] ? lapic_next_event+0x4d/0x80 [ 30.165633][ C1] ? __sanitizer_cov_trace_const_cmp4+0x1c/0x70 [ 30.171853][ C1] ? clockevents_program_event+0x12b/0x370 [ 30.177639][ C1] run_timer_softirq+0xb3/0x1d0 [ 30.182471][ C1] __do_softirq+0x288/0x9a5 [ 30.186957][ C1] __irq_exit_rcu+0x113/0x170 [ 30.191624][ C1] irq_exit_rcu+0x5/0x20 [ 30.195865][ C1] sysvec_apic_timer_interrupt+0x8e/0xc0 [ 30.201488][ C1] [ 30.204405][ C1] [ 30.207324][ C1] asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 30.213294][ C1] RIP: 0010:acpi_idle_do_entry+0x1c6/0x250 [ 30.219091][ C1] Code: 89 de e8 9d a8 6c fb 84 db 75 ac e8 14 a6 6c fb e8 7f db 72 fb eb 0c e8 08 a6 6c fb 0f 00 2d d1 e0 72 00 e8 fc a5 6c fb fb f4 <9c> 5b 81 e3 00 02 00 00 fa 31 ff 48 89 de e8 d7 a9 6c fb 48 85 db [ 30.238698][ C1] RSP: 0018:ffffc900000efd18 EFLAGS: 00000293 [ 30.244761][ C1] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 30.252715][ C1] RDX: ffff8881002c1c00 RSI: ffffffff85d75ed4 RDI: 0000000000000000 [ 30.261073][ C1] RBP: ffff8881065d4064 R08: 0000000000000001 R09: 0000000000000001 [ 30.269038][ C1] R10: ffffffff814a3a78 R11: 0000000000000000 R12: 0000000000000001 [ 30.277008][ C1] R13: ffff8881065d4000 R14: ffff8881065d4064 R15: ffff8881051ba804 [ 30.285611][ C1] ? trace_hardirqs_on+0x38/0x1c0 [ 30.290636][ C1] ? acpi_idle_do_entry+0x1c4/0x250 [ 30.295832][ C1] ? acpi_idle_do_entry+0x1c4/0x250 [ 30.301024][ C1] acpi_idle_enter+0x361/0x500 [ 30.306051][ C1] cpuidle_enter_state+0x1b1/0xc80 [ 30.311164][ C1] cpuidle_enter+0x4a/0xa0 [ 30.315595][ C1] do_idle+0x3e8/0x590 [ 30.319659][ C1] ? arch_cpu_idle_exit+0x30/0x30 [ 30.324692][ C1] ? _raw_spin_unlock_bh+0x10/0x30 [ 30.329798][ C1] ? lockdep_hardirqs_on+0x79/0x100 [ 30.334990][ C1] cpu_startup_entry+0x14/0x20 [ 30.339748][ C1] start_secondary+0x265/0x340 [ 30.344500][ C1] ? set_cpu_sibling_map+0x1ee0/0x1ee0 [ 30.349949][ C1] secondary_startup_64_no_verify+0xc3/0xcb [ 30.355839][ C1] [ 30.358943][ C1] Kernel Offset: disabled [ 30.363251][ C1] Rebooting in 86400 seconds..