dhcpcd-9.4.0 starting dev: loaded udev DUID 00:04:3f:d1:c1:ab:3d:72:92:56:f6:c9:5e:82:ef:97:6d:13 forked to background, child pid 1215 Starting sshd: OK syzkaller Warning: Permanently added '10.128.0.249' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 33.997472][ T24] usb 1-1: new high-speed USB device number 2 using dummy_hcd [ 34.517551][ T24] usb 1-1: New USB device found, idVendor=0cf3, idProduct=9271, bcdDevice= 1.08 [ 34.526680][ T24] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 34.534725][ T24] usb 1-1: Product: syz [ 34.538927][ T24] usb 1-1: Manufacturer: syz [ 34.543519][ T24] usb 1-1: SerialNumber: syz [ 34.589433][ T24] usb 1-1: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested [ 35.177421][ T24] usb 1-1: ath9k_htc: Transferred FW: ath9k_htc/htc_9271-1.4.0.fw, size: 51008 [ 36.267364][ T24] ath9k_htc 1-1:1.0: ath9k_htc: Target is unresponsive [ 36.274519][ T24] ath9k_htc: Failed to initialize the device [ 36.397373][ C1] ================================================================== [ 36.405442][ C1] BUG: KASAN: use-after-free in ath9k_hif_usb_rx_cb+0xea7/0x10d0 [ 36.413172][ C1] Read of size 4 at addr ffff888109f1c2e8 by task swapper/1/0 [ 36.420620][ C1] [ 36.422933][ C1] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.19.0-rc7-syzkaller-00199-g8288c99fc263 #0 [ 36.432642][ C1] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 [ 36.442680][ C1] Call Trace: [ 36.445944][ C1] [ 36.448777][ C1] dump_stack_lvl+0xcd/0x134 [ 36.453352][ C1] print_address_description.constprop.0.cold+0xeb/0x495 [ 36.460362][ C1] ? ath9k_hif_usb_rx_cb+0xea7/0x10d0 [ 36.465733][ C1] kasan_report.cold+0xf4/0x1c6 [ 36.470565][ C1] ? ath9k_hif_usb_rx_cb+0xea7/0x10d0 [ 36.475921][ C1] ath9k_hif_usb_rx_cb+0xea7/0x10d0 [ 36.481100][ C1] ? sched_init_numa+0xd80/0xe40 [ 36.486028][ C1] ? hif_usb_start+0xa0/0xa0 [ 36.490599][ C1] ? rwlock_bug.part.0+0x90/0x90 [ 36.495521][ C1] __usb_hcd_giveback_urb+0x2b0/0x5c0 [ 36.500882][ C1] usb_hcd_giveback_urb+0x380/0x430 [ 36.506067][ C1] dummy_timer+0x11f9/0x32b0 [ 36.510655][ C1] ? dummy_dequeue+0x500/0x500 [ 36.515405][ C1] ? dummy_dequeue+0x500/0x500 [ 36.520165][ C1] call_timer_fn+0x1a5/0x6b0 [ 36.524739][ C1] ? timer_fixup_activate+0x350/0x350 [ 36.530092][ C1] ? lock_downgrade+0x6e0/0x6e0 [ 36.534938][ C1] ? _raw_spin_unlock_irq+0x1f/0x40 [ 36.540304][ C1] ? _raw_spin_unlock_irq+0x1f/0x40 [ 36.545504][ C1] ? dummy_dequeue+0x500/0x500 [ 36.550254][ C1] __run_timers.part.0+0x679/0xa80 [ 36.555357][ C1] ? call_timer_fn+0x6b0/0x6b0 [ 36.560113][ C1] ? lapic_next_event+0x4d/0x80 [ 36.564975][ C1] ? clockevents_program_event+0x12b/0x370 [ 36.570784][ C1] run_timer_softirq+0xb3/0x1d0 [ 36.575711][ C1] __do_softirq+0x288/0x9a5 [ 36.580302][ C1] __irq_exit_rcu+0x113/0x170 [ 36.585223][ C1] irq_exit_rcu+0x5/0x20 [ 36.589455][ C1] sysvec_apic_timer_interrupt+0x8e/0xc0 [ 36.595085][ C1] [ 36.598004][ C1] [ 36.600922][ C1] asm_sysvec_apic_timer_interrupt+0x16/0x20 [ 36.606896][ C1] RIP: 0010:acpi_idle_do_entry+0x1c9/0x240 [ 36.612695][ C1] Code: 89 de e8 fa f3 54 fb 84 db 75 98 e8 f1 f7 54 fb e8 ac 3c 5b fb 66 90 e8 e5 f7 54 fb 0f 00 2d ae a0 7b 00 e8 d9 f7 54 fb fb f4 <9c> 5b 81 e3 00 02 00 00 fa 31 ff 48 89 de e8 24 f4 54 fb 48 85 db [ 36.632289][ C1] RSP: 0018:ffffc9000010fd20 EFLAGS: 00000293 [ 36.638351][ C1] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 36.646311][ C1] RDX: ffff8881002cd580 RSI: ffffffff85f03117 RDI: 0000000000000000 [ 36.654277][ C1] RBP: ffff88810967a064 R08: 0000000000000001 R09: 0000000000000001 [ 36.662236][ C1] R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000001 [ 36.670191][ C1] R13: ffff88810967a000 R14: ffff88810967a064 R15: ffff88810a173004 [ 36.678149][ C1] ? acpi_idle_do_entry+0x1c7/0x240 [ 36.683426][ C1] acpi_idle_enter+0x369/0x510 [ 36.688197][ C1] cpuidle_enter_state+0x1b1/0xc80 [ 36.693308][ C1] cpuidle_enter+0x4a/0xa0 [ 36.697718][ C1] do_idle+0x3e8/0x590 [ 36.701778][ C1] ? arch_cpu_idle_exit+0x30/0x30 [ 36.706793][ C1] cpu_startup_entry+0x14/0x20 [ 36.711717][ C1] start_secondary+0x21d/0x2b0 [ 36.716469][ C1] ? set_cpu_sibling_map+0x1ef0/0x1ef0 [ 36.721912][ C1] secondary_startup_64_no_verify+0xce/0xdb [ 36.727790][ C1] [ 36.730892][ C1] [ 36.733211][ C1] The buggy address belongs to the physical page: [ 36.739616][ C1] page:ffffea000427c700 refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x109f1c [ 36.749939][ C1] flags: 0x200000000000000(node=0|zone=2) [ 36.755648][ C1] raw: 0200000000000000 0000000000000000 ffffea000427c708 0000000000000000 [ 36.764223][ C1] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 36.772792][ C1] page dumped because: kasan: bad access detected [ 36.779238][ C1] page_owner tracks the page as freed [ 36.784589][ C1] page last allocated via order 3, migratetype Unmovable, gfp_mask 0x40dc0(GFP_KERNEL|__GFP_COMP|__GFP_ZERO), pid 24, tgid 24 (kworker/1:1), ts 35188218268, free_ts 36274496289 [ 36.802033][ C1] get_page_from_freelist+0x138c/0x27a0 [ 36.807571][ C1] __alloc_pages+0x1c7/0x510 [ 36.812142][ C1] alloc_pages+0x1aa/0x310 [ 36.816543][ C1] kmalloc_order+0x34/0xf0 [ 36.820944][ C1] kmalloc_order_trace+0x14/0x120 [ 36.825967][ C1] wiphy_new_nm+0x6f0/0x2080 [ 36.830541][ C1] ieee80211_alloc_hw_nm+0x373/0x2270 [ 36.835913][ C1] ath9k_htc_probe_device+0x97/0x1f00 [ 36.841268][ C1] ath9k_htc_hw_init+0x31/0x60 [ 36.846032][ C1] ath9k_hif_usb_firmware_cb+0x274/0x530 [ 36.851674][ C1] request_firmware_work_func+0x12c/0x230 [ 36.857405][ C1] process_one_work+0x996/0x1610 [ 36.862337][ C1] worker_thread+0x665/0x1080 [ 36.867003][ C1] kthread+0x2ef/0x3a0 [ 36.871058][ C1] ret_from_fork+0x1f/0x30 [ 36.875457][ C1] page last free stack trace: [ 36.880110][ C1] free_pcp_prepare+0x537/0xb80 [ 36.884944][ C1] free_unref_page+0x19/0x5a0 [ 36.889603][ C1] device_release+0x9f/0x240 [ 36.894187][ C1] kobject_put+0x1c8/0x540 [ 36.898584][ C1] put_device+0x1b/0x30 [ 36.902732][ C1] ath9k_htc_probe_device+0x1c7/0x1f00 [ 36.908180][ C1] ath9k_htc_hw_init+0x31/0x60 [ 36.912940][ C1] ath9k_hif_usb_firmware_cb+0x274/0x530 [ 36.918643][ C1] request_firmware_work_func+0x12c/0x230 [ 36.924343][ C1] process_one_work+0x996/0x1610 [ 36.929261][ C1] worker_thread+0x665/0x1080 [ 36.933920][ C1] kthread+0x2ef/0x3a0 [ 36.937970][ C1] ret_from_fork+0x1f/0x30 [ 36.942367][ C1] [ 36.944681][ C1] Memory state around the buggy address: [ 36.950296][ C1] ffff888109f1c180: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 36.958338][ C1] ffff888109f1c200: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 36.966378][ C1] >ffff888109f1c280: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 36.974416][ C1] ^ [ 36.981853][ C1] ffff888109f1c300: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 36.989893][ C1] ffff888109f1c380: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 36.997943][ C1] ================================================================== [ 37.005977][ C1] Kernel panic - not syncing: panic_on_warn set ... [ 37.012570][ C1] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.19.0-rc7-syzkaller-00199-g8288c99fc263 #0 [ 37.022286][ C1] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 [ 37.032329][ C1] Call Trace: [ 37.035604][ C1] [ 37.038441][ C1] dump_stack_lvl+0xcd/0x134 [ 37.043031][ C1] panic+0x2d7/0x636 [ 37.046917][ C1] ? panic_print_sys_info.part.0+0x10b/0x10b [ 37.052968][ C1] ? ath9k_hif_usb_rx_cb+0xea7/0x10d0 [ 37.058333][ C1] end_report.part.0+0x3f/0x7c [ 37.063081][ C1] kasan_report.cold+0x93/0x1c6 [ 37.067917][ C1] ? ath9k_hif_usb_rx_cb+0xea7/0x10d0 [ 37.073272][ C1] ath9k_hif_usb_rx_cb+0xea7/0x10d0 [ 37.078456][ C1] ? sched_init_numa+0xd80/0xe40 [ 37.083386][ C1] ? hif_usb_start+0xa0/0xa0 [ 37.087960][ C1] ? rwlock_bug.part.0+0x90/0x90 [ 37.092884][ C1] __usb_hcd_giveback_urb+0x2b0/0x5c0 [ 37.098246][ C1] usb_hcd_giveback_urb+0x380/0x430 [ 37.103446][ C1] dummy_timer+0x11f9/0x32b0 [ 37.108026][ C1] ? dummy_dequeue+0x500/0x500 [ 37.112772][ C1] ? dummy_dequeue+0x500/0x500 [ 37.117626][ C1] call_timer_fn+0x1a5/0x6b0 [ 37.122199][ C1] ? timer_fixup_activate+0x350/0x350 [ 37.127565][ C1] ? lock_downgrade+0x6e0/0x6e0 [ 37.132423][ C1] ? _raw_spin_unlock_irq+0x1f/0x40 [ 37.137613][ C1] ? _raw_spin_unlock_irq+0x1f/0x40 [ 37.142806][ C1] ? dummy_dequeue+0x500/0x500 [ 37.147573][ C1] __run_timers.part.0+0x679/0xa80 [ 37.152671][ C1] ? call_timer_fn+0x6b0/0x6b0 [ 37.157429][ C1] ? lapic_next_event+0x4d/0x80 [ 37.162264][ C1] ? clockevents_program_event+0x12b/0x370 [ 37.168056][ C1] run_timer_softirq+0xb3/0x1d0 [ 37.172888][ C1] __do_softirq+0x288/0x9a5 [ 37.177374][ C1] __irq_exit_rcu+0x113/0x170 [ 37.182034][ C1] irq_exit_rcu+0x5/0x20 [ 37.186259][ C1] sysvec_apic_timer_interrupt+0x8e/0xc0 [ 37.191876][ C1] [ 37.194801][ C1] [ 37.197713][ C1] asm_sysvec_apic_timer_interrupt+0x16/0x20 [ 37.203683][ C1] RIP: 0010:acpi_idle_do_entry+0x1c9/0x240 [ 37.209477][ C1] Code: 89 de e8 fa f3 54 fb 84 db 75 98 e8 f1 f7 54 fb e8 ac 3c 5b fb 66 90 e8 e5 f7 54 fb 0f 00 2d ae a0 7b 00 e8 d9 f7 54 fb fb f4 <9c> 5b 81 e3 00 02 00 00 fa 31 ff 48 89 de e8 24 f4 54 fb 48 85 db [ 37.229080][ C1] RSP: 0018:ffffc9000010fd20 EFLAGS: 00000293 [ 37.235133][ C1] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 37.243084][ C1] RDX: ffff8881002cd580 RSI: ffffffff85f03117 RDI: 0000000000000000 [ 37.251041][ C1] RBP: ffff88810967a064 R08: 0000000000000001 R09: 0000000000000001 [ 37.258992][ C1] R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000001 [ 37.266946][ C1] R13: ffff88810967a000 R14: ffff88810967a064 R15: ffff88810a173004 [ 37.274901][ C1] ? acpi_idle_do_entry+0x1c7/0x240 [ 37.280085][ C1] acpi_idle_enter+0x369/0x510 [ 37.284840][ C1] cpuidle_enter_state+0x1b1/0xc80 [ 37.290022][ C1] cpuidle_enter+0x4a/0xa0 [ 37.294419][ C1] do_idle+0x3e8/0x590 [ 37.298473][ C1] ? arch_cpu_idle_exit+0x30/0x30 [ 37.303498][ C1] cpu_startup_entry+0x14/0x20 [ 37.308255][ C1] start_secondary+0x21d/0x2b0 [ 37.313014][ C1] ? set_cpu_sibling_map+0x1ef0/0x1ef0 [ 37.318466][ C1] secondary_startup_64_no_verify+0xce/0xdb [ 37.324452][ C1] [ 37.327652][ C1] Kernel Offset: disabled [ 37.331972][ C1] Rebooting in 86400 seconds..