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 1204 Starting sshd: OK syzkaller Warning: Permanently added '10.128.0.121' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 27.626850][ T69] usb 1-1: new high-speed USB device number 2 using dummy_hcd [ 28.146977][ T69] usb 1-1: New USB device found, idVendor=0cf3, idProduct=9271, bcdDevice= 1.08 [ 28.156113][ T69] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 28.164148][ T69] usb 1-1: Product: syz [ 28.168426][ T69] usb 1-1: Manufacturer: syz [ 28.173030][ T69] usb 1-1: SerialNumber: syz [ 28.218262][ T69] usb 1-1: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested [ 28.797013][ T69] usb 1-1: ath9k_htc: Transferred FW: ath9k_htc/htc_9271-1.4.0.fw, size: 51008 [ 29.846922][ T69] ath9k_htc 1-1:1.0: ath9k_htc: Target is unresponsive [ 29.853999][ T69] ath9k_htc: Failed to initialize the device [ 30.016946][ C0] ================================================================== [ 30.025121][ C0] BUG: KASAN: slab-out-of-bounds in ath9k_hif_usb_rx_cb+0xd1e/0x10b0 [ 30.033344][ C0] Read of size 4 at addr ffff88811aee4284 by task swapper/0/0 [ 30.040795][ C0] [ 30.043110][ C0] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.16.0-rc6-syzkaller #0 [ 30.051248][ C0] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 30.061296][ C0] Call Trace: [ 30.064578][ C0] [ 30.067419][ C0] dump_stack_lvl+0xcd/0x134 [ 30.072038][ C0] print_address_description.constprop.0.cold+0x8d/0x320 [ 30.079106][ C0] ? ath9k_hif_usb_rx_cb+0xd1e/0x10b0 [ 30.084469][ C0] ? ath9k_hif_usb_rx_cb+0xd1e/0x10b0 [ 30.089837][ C0] kasan_report.cold+0x83/0xdf [ 30.094599][ C0] ? ath9k_hif_usb_rx_cb+0xd1e/0x10b0 [ 30.099964][ C0] ath9k_hif_usb_rx_cb+0xd1e/0x10b0 [ 30.105230][ C0] ? lock_downgrade+0x6e0/0x6e0 [ 30.110095][ C0] ? hif_usb_start+0xa0/0xa0 [ 30.114675][ C0] ? rwlock_bug.part.0+0x90/0x90 [ 30.119605][ C0] __usb_hcd_giveback_urb+0x2b0/0x5c0 [ 30.125063][ C0] usb_hcd_giveback_urb+0x367/0x410 [ 30.130268][ C0] dummy_timer+0x11f9/0x32b0 [ 30.134853][ C0] ? dummy_dequeue+0x500/0x500 [ 30.139606][ C0] ? dummy_dequeue+0x500/0x500 [ 30.144362][ C0] call_timer_fn+0x1a5/0x6b0 [ 30.148943][ C0] ? add_timer_on+0x4a0/0x4a0 [ 30.153609][ C0] ? lock_downgrade+0x6e0/0x6e0 [ 30.158447][ C0] ? _raw_spin_unlock_irq+0x1f/0x40 [ 30.163634][ C0] ? dummy_dequeue+0x500/0x500 [ 30.168387][ C0] __run_timers.part.0+0x675/0xa20 [ 30.173485][ C0] ? call_timer_fn+0x6b0/0x6b0 [ 30.178248][ C0] ? lapic_next_event+0x4d/0x80 [ 30.183090][ C0] ? __sanitizer_cov_trace_const_cmp4+0x1c/0x70 [ 30.189337][ C0] ? clockevents_program_event+0x12b/0x370 [ 30.195134][ C0] run_timer_softirq+0xb3/0x1d0 [ 30.200321][ C0] __do_softirq+0x288/0x9a5 [ 30.204812][ C0] __irq_exit_rcu+0x113/0x170 [ 30.209473][ C0] irq_exit_rcu+0x5/0x20 [ 30.213701][ C0] sysvec_apic_timer_interrupt+0x8e/0xc0 [ 30.219319][ C0] [ 30.222233][ C0] [ 30.225150][ C0] asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 30.231233][ C0] RIP: 0010:acpi_idle_do_entry+0x1c6/0x250 [ 30.237023][ C0] Code: 89 de e8 7d 8e 73 fb 84 db 75 ac e8 94 8a 73 fb e8 bf c4 79 fb eb 0c e8 88 8a 73 fb 0f 00 2d 21 0a 7a 00 e8 7c 8a 73 fb fb f4 <9c> 5b 81 e3 00 02 00 00 fa 31 ff 48 89 de e8 f7 8c 73 fb 48 85 db [ 30.256621][ C0] RSP: 0018:ffffffff87607d60 EFLAGS: 00000293 [ 30.262677][ C0] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 30.270634][ C0] RDX: ffffffff87652680 RSI: ffffffff85d00484 RDI: 0000000000000000 [ 30.278593][ C0] RBP: ffff8881053e6064 R08: 0000000000000001 R09: 0000000000000001 [ 30.286550][ C0] R10: ffffffff8149c968 R11: 0000000000000000 R12: 0000000000000001 [ 30.294521][ C0] R13: ffff8881053e6000 R14: ffff8881053e6064 R15: ffff888102da7004 [ 30.302479][ C0] ? trace_hardirqs_on+0x38/0x1c0 [ 30.307506][ C0] ? acpi_idle_do_entry+0x1c4/0x250 [ 30.312878][ C0] acpi_idle_enter+0x361/0x500 [ 30.317646][ C0] cpuidle_enter_state+0x1b1/0xc80 [ 30.322758][ C0] cpuidle_enter+0x4a/0xa0 [ 30.327168][ C0] do_idle+0x3e8/0x590 [ 30.331229][ C0] ? arch_cpu_idle_exit+0x30/0x30 [ 30.336342][ C0] ? trace_init_perf_perm_irq_work_exit+0xe/0xe [ 30.342605][ C0] cpu_startup_entry+0x14/0x20 [ 30.347357][ C0] start_kernel+0x47a/0x49b [ 30.351854][ C0] secondary_startup_64_no_verify+0xb0/0xbb [ 30.357763][ C0] [ 30.360773][ C0] [ 30.363079][ C0] Allocated by task 0: [ 30.367121][ C0] (stack is not available) [ 30.371508][ C0] [ 30.373814][ C0] The buggy address belongs to the object at ffff88811aee4000 [ 30.373814][ C0] which belongs to the cache kmalloc-4k of size 4096 [ 30.387862][ C0] The buggy address is located 644 bytes inside of [ 30.387862][ C0] 4096-byte region [ffff88811aee4000, ffff88811aee5000) [ 30.401301][ C0] The buggy address belongs to the page: [ 30.406919][ C0] page:ffffea00046bb800 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x11aee0 [ 30.417142][ C0] head:ffffea00046bb800 order:3 compound_mapcount:0 compound_pincount:0 [ 30.425448][ C0] flags: 0x200000000010200(slab|head|node=0|zone=2) [ 30.432027][ C0] raw: 0200000000010200 0000000000000000 dead000000000122 ffff888100042140 [ 30.440599][ C0] raw: 0000000000000000 0000000080040004 00000001ffffffff 0000000000000000 [ 30.449157][ C0] page dumped because: kasan: bad access detected [ 30.455545][ C0] page_owner tracks the page as allocated [ 30.461266][ C0] page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd2040(__GFP_IO|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 1150, ts 29860417766, free_ts 29853976560 [ 30.479601][ C0] get_page_from_freelist+0x122d/0x2940 [ 30.485148][ C0] __alloc_pages+0x1b2/0x500 [ 30.489732][ C0] alloc_pages+0x1a7/0x300 [ 30.494142][ C0] new_slab+0x32d/0x4a0 [ 30.498282][ C0] ___slab_alloc+0x8b4/0xfa0 [ 30.502859][ C0] __slab_alloc.constprop.0+0x4d/0xa0 [ 30.508217][ C0] __kmalloc+0x2ee/0x310 [ 30.512450][ C0] tomoyo_realpath_from_path+0xc3/0x620 [ 30.517994][ C0] tomoyo_path_perm+0x21b/0x400 [ 30.522849][ C0] security_inode_getattr+0xcf/0x140 [ 30.528126][ C0] vfs_statx+0x164/0x390 [ 30.532363][ C0] __do_sys_newfstatat+0x96/0x120 [ 30.537412][ C0] do_syscall_64+0x35/0xb0 [ 30.541819][ C0] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 30.547701][ C0] page last free stack trace: [ 30.552361][ C0] free_pcp_prepare+0x361/0x760 [ 30.557212][ C0] free_unref_page+0x19/0x580 [ 30.561871][ C0] device_release+0x9f/0x240 [ 30.566451][ C0] kobject_put+0x1c8/0x540 [ 30.570858][ C0] put_device+0x1b/0x30 [ 30.575083][ C0] ath9k_htc_probe_device+0x1c7/0x1f00 [ 30.580532][ C0] ath9k_htc_hw_init+0x31/0x60 [ 30.585286][ C0] ath9k_hif_usb_firmware_cb+0x274/0x530 [ 30.590905][ C0] request_firmware_work_func+0x12c/0x230 [ 30.596613][ C0] process_one_work+0x9b2/0x1690 [ 30.601555][ C0] worker_thread+0x658/0x11f0 [ 30.606236][ C0] kthread+0x40b/0x500 [ 30.610288][ C0] ret_from_fork+0x1f/0x30 [ 30.614691][ C0] [ 30.616999][ C0] Memory state around the buggy address: [ 30.622611][ C0] ffff88811aee4180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.630655][ C0] ffff88811aee4200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.639913][ C0] >ffff88811aee4280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.647952][ C0] ^ [ 30.652000][ C0] ffff88811aee4300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.660043][ C0] ffff88811aee4380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.668088][ C0] ================================================================== [ 30.676128][ C0] Disabling lock debugging due to kernel taint [ 30.682272][ C0] Kernel panic - not syncing: panic_on_warn set ... [ 30.688841][ C0] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G B 5.16.0-rc6-syzkaller #0 [ 30.698362][ C0] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 30.708405][ C0] Call Trace: [ 30.711669][ C0] [ 30.714495][ C0] dump_stack_lvl+0xcd/0x134 [ 30.719080][ C0] panic+0x2b0/0x6dd [ 30.722960][ C0] ? __warn_printk+0xf3/0xf3 [ 30.727550][ C0] ? ath9k_hif_usb_rx_cb+0xd1e/0x10b0 [ 30.733686][ C0] ? ath9k_hif_usb_rx_cb+0xd1e/0x10b0 [ 30.739038][ C0] end_report.cold+0x63/0x6f [ 30.743620][ C0] kasan_report.cold+0x71/0xdf [ 30.748404][ C0] ? ath9k_hif_usb_rx_cb+0xd1e/0x10b0 [ 30.753776][ C0] ath9k_hif_usb_rx_cb+0xd1e/0x10b0 [ 30.758982][ C0] ? lock_downgrade+0x6e0/0x6e0 [ 30.763815][ C0] ? hif_usb_start+0xa0/0xa0 [ 30.768397][ C0] ? rwlock_bug.part.0+0x90/0x90 [ 30.773411][ C0] __usb_hcd_giveback_urb+0x2b0/0x5c0 [ 30.778776][ C0] usb_hcd_giveback_urb+0x367/0x410 [ 30.783969][ C0] dummy_timer+0x11f9/0x32b0 [ 30.788772][ C0] ? dummy_dequeue+0x500/0x500 [ 30.793529][ C0] ? dummy_dequeue+0x500/0x500 [ 30.798286][ C0] call_timer_fn+0x1a5/0x6b0 [ 30.802867][ C0] ? add_timer_on+0x4a0/0x4a0 [ 30.807528][ C0] ? lock_downgrade+0x6e0/0x6e0 [ 30.812363][ C0] ? _raw_spin_unlock_irq+0x1f/0x40 [ 30.817546][ C0] ? dummy_dequeue+0x500/0x500 [ 30.822298][ C0] __run_timers.part.0+0x675/0xa20 [ 30.827418][ C0] ? call_timer_fn+0x6b0/0x6b0 [ 30.832210][ C0] ? lapic_next_event+0x4d/0x80 [ 30.837047][ C0] ? __sanitizer_cov_trace_const_cmp4+0x1c/0x70 [ 30.843279][ C0] ? clockevents_program_event+0x12b/0x370 [ 30.849071][ C0] run_timer_softirq+0xb3/0x1d0 [ 30.853907][ C0] __do_softirq+0x288/0x9a5 [ 30.858396][ C0] __irq_exit_rcu+0x113/0x170 [ 30.863149][ C0] irq_exit_rcu+0x5/0x20 [ 30.867374][ C0] sysvec_apic_timer_interrupt+0x8e/0xc0 [ 30.873000][ C0] [ 30.875924][ C0] [ 30.878838][ C0] asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 30.884804][ C0] RIP: 0010:acpi_idle_do_entry+0x1c6/0x250 [ 30.890593][ C0] Code: 89 de e8 7d 8e 73 fb 84 db 75 ac e8 94 8a 73 fb e8 bf c4 79 fb eb 0c e8 88 8a 73 fb 0f 00 2d 21 0a 7a 00 e8 7c 8a 73 fb fb f4 <9c> 5b 81 e3 00 02 00 00 fa 31 ff 48 89 de e8 f7 8c 73 fb 48 85 db [ 30.910536][ C0] RSP: 0018:ffffffff87607d60 EFLAGS: 00000293 [ 30.916590][ C0] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 30.924557][ C0] RDX: ffffffff87652680 RSI: ffffffff85d00484 RDI: 0000000000000000 [ 30.932514][ C0] RBP: ffff8881053e6064 R08: 0000000000000001 R09: 0000000000000001 [ 30.940467][ C0] R10: ffffffff8149c968 R11: 0000000000000000 R12: 0000000000000001 [ 30.948459][ C0] R13: ffff8881053e6000 R14: ffff8881053e6064 R15: ffff888102da7004 [ 30.956460][ C0] ? trace_hardirqs_on+0x38/0x1c0 [ 30.961474][ C0] ? acpi_idle_do_entry+0x1c4/0x250 [ 30.966661][ C0] acpi_idle_enter+0x361/0x500 [ 30.971508][ C0] cpuidle_enter_state+0x1b1/0xc80 [ 30.976616][ C0] cpuidle_enter+0x4a/0xa0 [ 30.981035][ C0] do_idle+0x3e8/0x590 [ 30.985093][ C0] ? arch_cpu_idle_exit+0x30/0x30 [ 30.990112][ C0] ? trace_init_perf_perm_irq_work_exit+0xe/0xe [ 30.996438][ C0] cpu_startup_entry+0x14/0x20 [ 31.001198][ C0] start_kernel+0x47a/0x49b [ 31.005782][ C0] secondary_startup_64_no_verify+0xb0/0xbb [ 31.011666][ C0] [ 31.014956][ C0] Kernel Offset: disabled [ 31.019266][ C0] Rebooting in 86400 seconds..