[ OK ] Reached target Login Prompts. [ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.15' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 31.114075][ T2204] usb 1-1: new high-speed USB device number 2 using dummy_hcd [ 31.673843][ T2204] usb 1-1: New USB device found, idVendor=0cf3, idProduct=9271, bcdDevice= 1.08 [ 31.682971][ T2204] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 31.691043][ T2204] usb 1-1: Product: syz [ 31.695267][ T2204] usb 1-1: Manufacturer: syz [ 31.699864][ T2204] usb 1-1: SerialNumber: syz [ 31.745225][ T2204] usb 1-1: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested [ 32.343410][ T2204] usb 1-1: ath9k_htc: Transferred FW: ath9k_htc/htc_9271-1.4.0.fw, size: 51008 [ 32.763139][ C1] ================================================================== [ 32.771314][ C1] BUG: KASAN: use-after-free in ath9k_hif_usb_rx_cb+0x3ab/0x1020 [ 32.779009][ C1] Read of size 49146 at addr ffff888113938000 by task swapper/1/0 [ 32.786783][ C1] [ 32.789096][ C1] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.10.0-rc4-syzkaller #0 [ 32.797060][ C1] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 32.807112][ C1] Call Trace: [ 32.810379][ C1] [ 32.813227][ C1] dump_stack+0x107/0x163 [ 32.817550][ C1] ? ath9k_hif_usb_rx_cb+0x3ab/0x1020 [ 32.822910][ C1] ? ath9k_hif_usb_rx_cb+0x3ab/0x1020 [ 32.828268][ C1] print_address_description.constprop.0.cold+0xae/0x4c8 [ 32.835290][ C1] ? lock_acquire+0x28e/0x870 [ 32.839954][ C1] ? ath9k_hif_usb_rx_cb+0x244/0x1020 [ 32.845307][ C1] ? vprintk_func+0x93/0x140 [ 32.849895][ C1] ? ath9k_hif_usb_rx_cb+0x3ab/0x1020 [ 32.855292][ C1] ? ath9k_hif_usb_rx_cb+0x3ab/0x1020 [ 32.860645][ C1] kasan_report.cold+0x1f/0x37 [ 32.865391][ C1] ? rwlock_bug.part.0+0x10/0x90 [ 32.870341][ C1] ? ath9k_hif_usb_rx_cb+0x3ab/0x1020 [ 32.875712][ C1] check_memory_region+0x13d/0x180 [ 32.880809][ C1] memcpy+0x20/0x60 [ 32.884598][ C1] ath9k_hif_usb_rx_cb+0x3ab/0x1020 [ 32.889783][ C1] ? lock_acquire+0x28e/0x870 [ 32.894437][ C1] ? hif_usb_start+0xa0/0xa0 [ 32.899036][ C1] ? __usb_hcd_giveback_urb+0x413/0x5c0 [ 32.904565][ C1] ? lock_downgrade+0x6d0/0x6d0 [ 32.909414][ C1] __usb_hcd_giveback_urb+0x2b0/0x5c0 [ 32.914797][ C1] usb_hcd_giveback_urb+0x367/0x410 [ 32.919981][ C1] dummy_timer+0x11f4/0x3280 [ 32.924593][ C1] ? dummy_dequeue+0x4c0/0x4c0 [ 32.929333][ C1] ? dummy_dequeue+0x4c0/0x4c0 [ 32.934098][ C1] call_timer_fn+0x1a5/0x630 [ 32.938665][ C1] ? timer_fixup_init+0x60/0x60 [ 32.943495][ C1] ? lock_downgrade+0x6d0/0x6d0 [ 32.948323][ C1] ? lockdep_hardirqs_on_prepare+0x129/0x3e0 [ 32.954294][ C1] ? dummy_dequeue+0x4c0/0x4c0 [ 32.959046][ C1] __run_timers.part.0+0x67c/0xa10 [ 32.964135][ C1] ? call_timer_fn+0x630/0x630 [ 32.968883][ C1] ? clockevents_program_event+0x12b/0x350 [ 32.974668][ C1] ? tick_program_event+0xa8/0x130 [ 32.979754][ C1] run_timer_softirq+0x80/0x120 [ 32.984592][ C1] __do_softirq+0x1b2/0x945 [ 32.989071][ C1] asm_call_irq_on_stack+0xf/0x20 [ 32.994077][ C1] [ 32.996995][ C1] do_softirq_own_stack+0x80/0xa0 [ 33.001997][ C1] irq_exit_rcu+0x110/0x1a0 [ 33.006477][ C1] sysvec_apic_timer_interrupt+0x43/0xa0 [ 33.012099][ C1] asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 33.018062][ C1] RIP: 0010:acpi_idle_do_entry+0x1c9/0x250 [ 33.023846][ C1] Code: 8d d1 a1 fb 84 db 75 ac e8 34 d9 a1 fb e8 df 7f a7 fb e9 0c 00 00 00 e8 25 d9 a1 fb 0f 00 2d 6e 7b 6a 00 e8 19 d9 a1 fb fb f4 <9c> 5b 81 e3 00 02 00 00 fa 31 ff 48 89 de e8 b4 d1 a1 fb 48 85 db [ 33.043447][ C1] RSP: 0018:ffffc900000dfd18 EFLAGS: 00000293 [ 33.049515][ C1] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 1ffffffff10796c9 [ 33.057477][ C1] RDX: ffff888100293280 RSI: ffffffff859d0937 RDI: ffffffff859d0921 [ 33.065451][ C1] RBP: ffff8881031b7864 R08: 0000000000000001 R09: 0000000000000001 [ 33.073406][ C1] R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000001 [ 33.081357][ C1] R13: ffff8881031b7800 R14: ffff8881031b7864 R15: ffff888105aee804 [ 33.089318][ C1] ? acpi_idle_do_entry+0x1c7/0x250 [ 33.094505][ C1] ? acpi_idle_do_entry+0x1b1/0x250 [ 33.099704][ C1] ? acpi_idle_do_entry+0x1c7/0x250 [ 33.104895][ C1] acpi_idle_enter+0x355/0x4f0 [ 33.109639][ C1] cpuidle_enter_state+0x1b1/0xc80 [ 33.114742][ C1] cpuidle_enter+0x4a/0xa0 [ 33.119139][ C1] do_idle+0x3d5/0x580 [ 33.123200][ C1] ? arch_cpu_idle_exit+0x40/0x40 [ 33.128204][ C1] ? lockdep_hardirqs_on_prepare+0x273/0x3e0 [ 33.134166][ C1] ? _raw_spin_unlock_irqrestore+0x34/0x40 [ 33.139948][ C1] ? trace_hardirqs_on+0x5b/0x1a0 [ 33.144951][ C1] cpu_startup_entry+0x14/0x20 [ 33.149703][ C1] start_secondary+0x265/0x340 [ 33.154454][ C1] ? set_cpu_sibling_map+0x2460/0x2460 [ 33.159906][ C1] secondary_startup_64_no_verify+0xb0/0xbb [ 33.165876][ C1] [ 33.168197][ C1] The buggy address belongs to the page: [ 33.173817][ C1] page:00000000d417cdb1 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x113938 [ 33.184033][ C1] head:00000000d417cdb1 order:3 compound_mapcount:0 compound_pincount:0 [ 33.192333][ C1] flags: 0x200000000010000(head) [ 33.197248][ C1] raw: 0200000000010000 dead000000000100 dead000000000122 0000000000000000 [ 33.205821][ C1] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 33.214388][ C1] page dumped because: kasan: bad access detected [ 33.220771][ C1] [ 33.223088][ C1] Memory state around the buggy address: [ 33.228694][ C1] ffff88811393ff00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 33.236742][ C1] ffff88811393ff80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 33.244778][ C1] >ffff888113940000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 33.252809][ C1] ^ [ 33.256872][ C1] ffff888113940080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 33.264910][ C1] ffff888113940100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 33.272943][ C1] ================================================================== [ 33.280980][ C1] Disabling lock debugging due to kernel taint [ 33.287193][ C1] Kernel panic - not syncing: panic_on_warn set ... [ 33.293751][ C1] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G B 5.10.0-rc4-syzkaller #0 [ 33.303095][ C1] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 33.313120][ C1] Call Trace: [ 33.316389][ C1] [ 33.319217][ C1] dump_stack+0x107/0x163 [ 33.323519][ C1] ? ath9k_hif_usb_rx_cb+0x3a0/0x1020 [ 33.328876][ C1] panic+0x306/0x73d [ 33.332753][ C1] ? __warn_printk+0xf3/0xf3 [ 33.337320][ C1] ? do_raw_spin_unlock+0x50/0x230 [ 33.342414][ C1] ? ath9k_hif_usb_rx_cb+0x3ab/0x1020 [ 33.347757][ C1] ? ath9k_hif_usb_rx_cb+0x3ab/0x1020 [ 33.353110][ C1] end_report+0x58/0x5e [ 33.357238][ C1] kasan_report.cold+0xd/0x37 [ 33.361890][ C1] ? rwlock_bug.part.0+0x10/0x90 [ 33.366800][ C1] ? ath9k_hif_usb_rx_cb+0x3ab/0x1020 [ 33.372160][ C1] check_memory_region+0x13d/0x180 [ 33.377267][ C1] memcpy+0x20/0x60 [ 33.381052][ C1] ath9k_hif_usb_rx_cb+0x3ab/0x1020 [ 33.386246][ C1] ? lock_acquire+0x28e/0x870 [ 33.390896][ C1] ? hif_usb_start+0xa0/0xa0 [ 33.395460][ C1] ? __usb_hcd_giveback_urb+0x413/0x5c0 [ 33.400976][ C1] ? lock_downgrade+0x6d0/0x6d0 [ 33.405806][ C1] __usb_hcd_giveback_urb+0x2b0/0x5c0 [ 33.411173][ C1] usb_hcd_giveback_urb+0x367/0x410 [ 33.416349][ C1] dummy_timer+0x11f4/0x3280 [ 33.420915][ C1] ? dummy_dequeue+0x4c0/0x4c0 [ 33.425655][ C1] ? dummy_dequeue+0x4c0/0x4c0 [ 33.430402][ C1] call_timer_fn+0x1a5/0x630 [ 33.434979][ C1] ? timer_fixup_init+0x60/0x60 [ 33.439801][ C1] ? lock_downgrade+0x6d0/0x6d0 [ 33.444625][ C1] ? lockdep_hardirqs_on_prepare+0x129/0x3e0 [ 33.450586][ C1] ? dummy_dequeue+0x4c0/0x4c0 [ 33.455329][ C1] __run_timers.part.0+0x67c/0xa10 [ 33.460423][ C1] ? call_timer_fn+0x630/0x630 [ 33.465198][ C1] ? clockevents_program_event+0x12b/0x350 [ 33.470975][ C1] ? tick_program_event+0xa8/0x130 [ 33.476069][ C1] run_timer_softirq+0x80/0x120 [ 33.480893][ C1] __do_softirq+0x1b2/0x945 [ 33.485379][ C1] asm_call_irq_on_stack+0xf/0x20 [ 33.490370][ C1] [ 33.493283][ C1] do_softirq_own_stack+0x80/0xa0 [ 33.498320][ C1] irq_exit_rcu+0x110/0x1a0 [ 33.502793][ C1] sysvec_apic_timer_interrupt+0x43/0xa0 [ 33.508408][ C1] asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 33.514361][ C1] RIP: 0010:acpi_idle_do_entry+0x1c9/0x250 [ 33.520138][ C1] Code: 8d d1 a1 fb 84 db 75 ac e8 34 d9 a1 fb e8 df 7f a7 fb e9 0c 00 00 00 e8 25 d9 a1 fb 0f 00 2d 6e 7b 6a 00 e8 19 d9 a1 fb fb f4 <9c> 5b 81 e3 00 02 00 00 fa 31 ff 48 89 de e8 b4 d1 a1 fb 48 85 db [ 33.539712][ C1] RSP: 0018:ffffc900000dfd18 EFLAGS: 00000293 [ 33.545750][ C1] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 1ffffffff10796c9 [ 33.553704][ C1] RDX: ffff888100293280 RSI: ffffffff859d0937 RDI: ffffffff859d0921 [ 33.561647][ C1] RBP: ffff8881031b7864 R08: 0000000000000001 R09: 0000000000000001 [ 33.569590][ C1] R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000001 [ 33.577534][ C1] R13: ffff8881031b7800 R14: ffff8881031b7864 R15: ffff888105aee804 [ 33.585496][ C1] ? acpi_idle_do_entry+0x1c7/0x250 [ 33.590663][ C1] ? acpi_idle_do_entry+0x1b1/0x250 [ 33.595844][ C1] ? acpi_idle_do_entry+0x1c7/0x250 [ 33.601032][ C1] acpi_idle_enter+0x355/0x4f0 [ 33.605780][ C1] cpuidle_enter_state+0x1b1/0xc80 [ 33.610862][ C1] cpuidle_enter+0x4a/0xa0 [ 33.615265][ C1] do_idle+0x3d5/0x580 [ 33.619315][ C1] ? arch_cpu_idle_exit+0x40/0x40 [ 33.624319][ C1] ? lockdep_hardirqs_on_prepare+0x273/0x3e0 [ 33.630272][ C1] ? _raw_spin_unlock_irqrestore+0x34/0x40 [ 33.636050][ C1] ? trace_hardirqs_on+0x5b/0x1a0 [ 33.641046][ C1] cpu_startup_entry+0x14/0x20 [ 33.645780][ C1] start_secondary+0x265/0x340 [ 33.650514][ C1] ? set_cpu_sibling_map+0x2460/0x2460 [ 33.655955][ C1] secondary_startup_64_no_verify+0xb0/0xbb [ 33.662310][ C1] Kernel Offset: disabled [ 33.666623][ C1] Rebooting in 86400 seconds..