[ OK ] Started Getty on tty3. [ OK ] Started Getty on tty2. [ OK ] Started Serial Getty on ttyS0. [ OK ] Started Getty on tty1. [ OK ] Started getty on tty2-tty6 if dbus and logind are not available. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.10.6' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 70.930756][ T8151] usb 1-1: new high-speed USB device number 2 using dummy_hcd [ 71.450817][ T8151] usb 1-1: New USB device found, idVendor=0cf3, idProduct=9271, bcdDevice= 1.08 [ 71.460345][ T8151] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 71.468873][ T8151] usb 1-1: Product: syz [ 71.473881][ T8151] usb 1-1: Manufacturer: syz [ 71.478471][ T8151] usb 1-1: SerialNumber: syz [ 71.523000][ T8151] usb 1-1: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested [ 72.160581][ T8151] usb 1-1: ath9k_htc: Transferred FW: ath9k_htc/htc_9271-1.4.0.fw, size: 51008 [ 72.580539][ C1] ================================================================== [ 72.588975][ C1] BUG: KASAN: slab-out-of-bounds in ath9k_hif_usb_rx_cb+0x3d3/0x10b0 [ 72.597050][ C1] Read of size 49146 at addr ffff88802af20000 by task swapper/1/0 [ 72.604939][ C1] [ 72.607248][ C1] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.13.0-rc2-next-20210518-syzkaller #0 [ 72.616896][ C1] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 72.627226][ C1] Call Trace: [ 72.630517][ C1] [ 72.633362][ C1] dump_stack_lvl+0x13e/0x1d6 [ 72.638045][ C1] ? ath9k_hif_usb_rx_cb+0x3d3/0x10b0 [ 72.643403][ C1] print_address_description.constprop.0.cold+0x6c/0x309 [ 72.650536][ C1] ? ath9k_hif_usb_rx_cb+0x3d3/0x10b0 [ 72.656238][ C1] ? ath9k_hif_usb_rx_cb+0x3d3/0x10b0 [ 72.661703][ C1] kasan_report.cold+0x83/0xdf [ 72.666650][ C1] ? spin_bug+0xd0/0x100 [ 72.671185][ C1] ? ath9k_hif_usb_rx_cb+0x3d3/0x10b0 [ 72.676840][ C1] kasan_check_range+0x13d/0x180 [ 72.681808][ C1] memcpy+0x20/0x60 [ 72.685797][ C1] ath9k_hif_usb_rx_cb+0x3d3/0x10b0 [ 72.691015][ C1] ? hif_usb_start+0xa0/0xa0 [ 72.695599][ C1] ? __usb_hcd_giveback_urb+0x413/0x5c0 [ 72.701150][ C1] ? lock_downgrade+0x6e0/0x6e0 [ 72.706156][ C1] __usb_hcd_giveback_urb+0x2b0/0x5c0 [ 72.711637][ C1] usb_hcd_giveback_urb+0x367/0x410 [ 72.716834][ C1] dummy_timer+0x11f9/0x32b0 [ 72.721571][ C1] ? dummy_dequeue+0x500/0x500 [ 72.726590][ C1] ? dummy_dequeue+0x500/0x500 [ 72.731377][ C1] call_timer_fn+0x1a5/0x6b0 [ 72.735967][ C1] ? add_timer_on+0x4a0/0x4a0 [ 72.740632][ C1] ? lock_downgrade+0x6e0/0x6e0 [ 72.745572][ C1] ? _find_next_bit+0x1e3/0x260 [ 72.750416][ C1] ? _raw_spin_unlock_irq+0x1f/0x40 [ 72.755614][ C1] ? dummy_dequeue+0x500/0x500 [ 72.760541][ C1] __run_timers.part.0+0x67c/0xa50 [ 72.765842][ C1] ? call_timer_fn+0x6b0/0x6b0 [ 72.770593][ C1] ? lapic_next_event+0x4d/0x80 [ 72.775445][ C1] ? kvm_sched_clock_read+0x14/0x40 [ 72.780629][ C1] ? sched_clock_cpu+0x15/0x1f0 [ 72.785565][ C1] run_timer_softirq+0xb3/0x1d0 [ 72.790426][ C1] __do_softirq+0x29b/0x9fb [ 72.794936][ C1] __irq_exit_rcu+0x136/0x200 [ 72.799741][ C1] irq_exit_rcu+0x5/0x20 [ 72.804073][ C1] sysvec_apic_timer_interrupt+0x93/0xc0 [ 72.809717][ C1] [ 72.812638][ C1] asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 72.818796][ C1] RIP: 0010:acpi_idle_do_entry+0x1c6/0x250 [ 72.824714][ C1] Code: 89 de e8 2d 8a 55 f8 84 db 75 ac e8 e4 83 55 f8 e8 cf 97 5b f8 eb 0c e8 d8 83 55 f8 0f 00 2d 21 5c ce 00 e8 cc 83 55 f8 fb f4 <9c> 5b 81 e3 00 02 00 00 fa 31 ff 48 89 de e8 17 89 55 f8 48 85 db [ 72.844397][ C1] RSP: 0018:ffffc90000d57d18 EFLAGS: 00000293 [ 72.850502][ C1] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 72.858458][ C1] RDX: ffff8880123f5580 RSI: ffffffff89205004 RDI: 0000000000000000 [ 72.866418][ C1] RBP: ffff8881429d5064 R08: 0000000000000001 R09: 0000000000000001 [ 72.874376][ C1] R10: ffffffff817be7f8 R11: 0000000000000000 R12: 0000000000000001 [ 72.882334][ C1] R13: ffff8881429d5000 R14: ffff8881429d5064 R15: ffff8881401fd004 [ 72.890302][ C1] ? trace_hardirqs_on+0x38/0x1c0 [ 72.895544][ C1] ? acpi_idle_do_entry+0x1c4/0x250 [ 72.900748][ C1] ? acpi_idle_do_entry+0x1c4/0x250 [ 72.905931][ C1] acpi_idle_enter+0x361/0x500 [ 72.910685][ C1] cpuidle_enter_state+0x1b1/0xc80 [ 72.915790][ C1] cpuidle_enter+0x4a/0xa0 [ 72.920411][ C1] do_idle+0x3e8/0x590 [ 72.924799][ C1] ? arch_cpu_idle_exit+0x30/0x30 [ 72.930191][ C1] ? _raw_spin_unlock+0x20/0x40 [ 72.935360][ C1] ? lockdep_hardirqs_on+0x79/0x100 [ 72.940963][ C1] cpu_startup_entry+0x14/0x20 [ 72.945745][ C1] start_secondary+0x26a/0x340 [ 72.950634][ C1] ? set_cpu_sibling_map+0x1f70/0x1f70 [ 72.956091][ C1] secondary_startup_64_no_verify+0xb0/0xbb [ 72.961990][ C1] [ 72.964561][ C1] The buggy address belongs to the page: [ 72.970171][ C1] page:ffffea0000abc800 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x2af20 [ 72.980860][ C1] head:ffffea0000abc800 order:3 compound_mapcount:0 compound_pincount:0 [ 72.989282][ C1] flags: 0xfff00000010000(head|node=0|zone=1|lastcpupid=0x7ff) [ 72.996951][ C1] raw: 00fff00000010000 dead000000000100 dead000000000122 0000000000000000 [ 73.005699][ C1] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 73.014476][ C1] page dumped because: kasan: bad access detected [ 73.021068][ C1] page_owner tracks the page as allocated [ 73.026939][ C1] page last allocated via order 3, migratetype Unmovable, gfp_mask 0xc2cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_COMP|__GFP_NOMEMALLOC), pid 8151, ts 72170074384, free_ts 71510057285 [ 73.044397][ C1] get_page_from_freelist+0x125c/0x2ed0 [ 73.050079][ C1] __alloc_pages+0x1b2/0x500 [ 73.054669][ C1] kmalloc_large_node+0x62/0x130 [ 73.059604][ C1] __kmalloc_node_track_caller+0x304/0x360 [ 73.065526][ C1] __alloc_skb+0xde/0x340 [ 73.069960][ C1] ath9k_hif_usb_alloc_urbs+0x64c/0x1010 [ 73.075671][ C1] ath9k_hif_usb_firmware_cb+0x148/0x530 [ 73.081598][ C1] request_firmware_work_func+0x12c/0x230 [ 73.087478][ C1] process_one_work+0x98d/0x1600 [ 73.092453][ C1] worker_thread+0x64c/0x1120 [ 73.097215][ C1] kthread+0x3b1/0x4a0 [ 73.101270][ C1] ret_from_fork+0x1f/0x30 [ 73.105764][ C1] page last free stack trace: [ 73.110414][ C1] __free_pages_ok+0x4cb/0xf30 [ 73.115335][ C1] unfreeze_partials+0x17c/0x1d0 [ 73.120340][ C1] put_cpu_partial+0x13d/0x230 [ 73.125089][ C1] qlist_free_all+0x5a/0xc0 [ 73.129581][ C1] kasan_quarantine_reduce+0x180/0x200 [ 73.135024][ C1] __kasan_slab_alloc+0x8e/0xa0 [ 73.139871][ C1] kmem_cache_alloc+0x285/0x4a0 [ 73.144706][ C1] getname_flags.part.0+0x50/0x4f0 [ 73.149810][ C1] getname+0x8e/0xd0 [ 73.153690][ C1] do_sys_openat2+0xf5/0x420 [ 73.158263][ C1] __x64_sys_open+0x119/0x1c0 [ 73.163010][ C1] do_syscall_64+0x31/0xb0 [ 73.167497][ C1] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 73.173750][ C1] [ 73.176071][ C1] Memory state around the buggy address: [ 73.181694][ C1] ffff88802af28400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 73.189748][ C1] ffff88802af28480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 73.197886][ C1] >ffff88802af28500: 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc fc [ 73.206185][ C1] ^ [ 73.211107][ C1] ffff88802af28580: fc fc fc 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 73.219158][ C1] ffff88802af28600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 73.227210][ C1] ================================================================== [ 73.235261][ C1] Disabling lock debugging due to kernel taint [ 73.241391][ C1] Kernel panic - not syncing: panic_on_warn set ... [ 73.247962][ C1] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G B 5.13.0-rc2-next-20210518-syzkaller #0 [ 73.258622][ C1] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 73.268690][ C1] Call Trace: [ 73.271979][ C1] [ 73.274809][ C1] dump_stack_lvl+0x13e/0x1d6 [ 73.279498][ C1] ? ath9k_hif_usb_rx_cb+0x3b0/0x10b0 [ 73.284867][ C1] panic+0x306/0x73d [ 73.288747][ C1] ? __warn_printk+0xf3/0xf3 [ 73.293328][ C1] ? ath9k_hif_usb_rx_cb+0x3d3/0x10b0 [ 73.298794][ C1] ? ath9k_hif_usb_rx_cb+0x3d3/0x10b0 [ 73.304147][ C1] end_report.cold+0x5a/0x5a [ 73.308732][ C1] kasan_report.cold+0x71/0xdf [ 73.313481][ C1] ? spin_bug+0xd0/0x100 [ 73.317801][ C1] ? ath9k_hif_usb_rx_cb+0x3d3/0x10b0 [ 73.323394][ C1] kasan_check_range+0x13d/0x180 [ 73.328412][ C1] memcpy+0x20/0x60 [ 73.332204][ C1] ath9k_hif_usb_rx_cb+0x3d3/0x10b0 [ 73.337387][ C1] ? hif_usb_start+0xa0/0xa0 [ 73.342133][ C1] ? __usb_hcd_giveback_urb+0x413/0x5c0 [ 73.347758][ C1] ? lock_downgrade+0x6e0/0x6e0 [ 73.352606][ C1] __usb_hcd_giveback_urb+0x2b0/0x5c0 [ 73.357967][ C1] usb_hcd_giveback_urb+0x367/0x410 [ 73.363236][ C1] dummy_timer+0x11f9/0x32b0 [ 73.367814][ C1] ? dummy_dequeue+0x500/0x500 [ 73.372562][ C1] ? dummy_dequeue+0x500/0x500 [ 73.377371][ C1] call_timer_fn+0x1a5/0x6b0 [ 73.382129][ C1] ? add_timer_on+0x4a0/0x4a0 [ 73.386885][ C1] ? lock_downgrade+0x6e0/0x6e0 [ 73.391736][ C1] ? _find_next_bit+0x1e3/0x260 [ 73.396671][ C1] ? _raw_spin_unlock_irq+0x1f/0x40 [ 73.401853][ C1] ? dummy_dequeue+0x500/0x500 [ 73.406599][ C1] __run_timers.part.0+0x67c/0xa50 [ 73.411709][ C1] ? call_timer_fn+0x6b0/0x6b0 [ 73.416477][ C1] ? lapic_next_event+0x4d/0x80 [ 73.421309][ C1] ? kvm_sched_clock_read+0x14/0x40 [ 73.426692][ C1] ? sched_clock_cpu+0x15/0x1f0 [ 73.431544][ C1] run_timer_softirq+0xb3/0x1d0 [ 73.436572][ C1] __do_softirq+0x29b/0x9fb [ 73.441337][ C1] __irq_exit_rcu+0x136/0x200 [ 73.445997][ C1] irq_exit_rcu+0x5/0x20 [ 73.450315][ C1] sysvec_apic_timer_interrupt+0x93/0xc0 [ 73.455935][ C1] [ 73.458854][ C1] asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 73.464817][ C1] RIP: 0010:acpi_idle_do_entry+0x1c6/0x250 [ 73.470781][ C1] Code: 89 de e8 2d 8a 55 f8 84 db 75 ac e8 e4 83 55 f8 e8 cf 97 5b f8 eb 0c e8 d8 83 55 f8 0f 00 2d 21 5c ce 00 e8 cc 83 55 f8 fb f4 <9c> 5b 81 e3 00 02 00 00 fa 31 ff 48 89 de e8 17 89 55 f8 48 85 db [ 73.491170][ C1] RSP: 0018:ffffc90000d57d18 EFLAGS: 00000293 [ 73.497221][ C1] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 73.505175][ C1] RDX: ffff8880123f5580 RSI: ffffffff89205004 RDI: 0000000000000000 [ 73.513140][ C1] RBP: ffff8881429d5064 R08: 0000000000000001 R09: 0000000000000001 [ 73.521202][ C1] R10: ffffffff817be7f8 R11: 0000000000000000 R12: 0000000000000001 [ 73.529171][ C1] R13: ffff8881429d5000 R14: ffff8881429d5064 R15: ffff8881401fd004 [ 73.537135][ C1] ? trace_hardirqs_on+0x38/0x1c0 [ 73.542162][ C1] ? acpi_idle_do_entry+0x1c4/0x250 [ 73.547351][ C1] ? acpi_idle_do_entry+0x1c4/0x250 [ 73.552538][ C1] acpi_idle_enter+0x361/0x500 [ 73.557290][ C1] cpuidle_enter_state+0x1b1/0xc80 [ 73.562658][ C1] cpuidle_enter+0x4a/0xa0 [ 73.567061][ C1] do_idle+0x3e8/0x590 [ 73.571114][ C1] ? arch_cpu_idle_exit+0x30/0x30 [ 73.576208][ C1] ? _raw_spin_unlock+0x20/0x40 [ 73.581053][ C1] ? lockdep_hardirqs_on+0x79/0x100 [ 73.586232][ C1] cpu_startup_entry+0x14/0x20 [ 73.590979][ C1] start_secondary+0x26a/0x340 [ 73.595897][ C1] ? set_cpu_sibling_map+0x1f70/0x1f70 [ 73.601340][ C1] secondary_startup_64_no_verify+0xb0/0xbb [ 73.608193][ C1] Kernel Offset: disabled [ 73.612516][ C1] Rebooting in 86400 seconds..