[ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. [ OK ] Started Getty on tty6. [ OK ] Started Getty on tty5. [ OK ] Started Getty on tty4. [ OK ] Started Getty on tty3. [ OK ] Started Getty on tty2. [ OK ] Started Serial Getty on ttyS0. [ OK ] Started Getty on tty1. [ OK ] Reached target Login Prompts. [ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... Starting Load/Save RF Kill Switch Status... [ OK ] Started Update UTMP about System Runlevel Changes. [ OK ] Started Load/Save RF Kill Switch Status. Warning: Permanently added '10.128.1.32' (ECDSA) to the list of known hosts. executing program [ 73.410793][ T38] audit: type=1400 audit(1616388942.674:8): avc: denied { execmem } for pid=8402 comm="syz-executor024" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1 Debian GNU/Linux 9 syzkaller ttyS0 syzkaller login: [ 73.697867][ T3515] usb 1-1: new high-speed USB device number 2 using dummy_hcd [ 74.217835][ T3515] usb 1-1: New USB device found, idVendor=0cf3, idProduct=9271, bcdDevice= 1.08 [ 74.227197][ T3515] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 74.235936][ T3515] usb 1-1: Product: syz [ 74.240948][ T3515] usb 1-1: Manufacturer: syz [ 74.245557][ T3515] usb 1-1: SerialNumber: syz [ 74.300424][ T3515] usb 1-1: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested [ 74.917715][ T3515] usb 1-1: ath9k_htc: Transferred FW: ath9k_htc/htc_9271-1.4.0.fw, size: 51008 [ 75.337685][ C1] ================================================================== [ 75.346273][ C1] BUG: KASAN: slab-out-of-bounds in ath9k_hif_usb_rx_cb+0x3d3/0x1050 [ 75.354367][ C1] Read of size 49126 at addr ffff888039160000 by task swapper/1/0 [ 75.362478][ C1] [ 75.364804][ C1] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.12.0-rc3-syzkaller #0 [ 75.373009][ C1] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 75.383068][ C1] Call Trace: [ 75.386347][ C1] [ 75.389332][ C1] dump_stack+0x141/0x1d7 [ 75.393689][ C1] ? ath9k_hif_usb_rx_cb+0x3d3/0x1050 [ 75.399116][ C1] print_address_description.constprop.0.cold+0x5b/0x2c6 [ 75.406149][ C1] ? ath9k_hif_usb_rx_cb+0x3d3/0x1050 [ 75.411589][ C1] ? ath9k_hif_usb_rx_cb+0x3d3/0x1050 [ 75.416969][ C1] kasan_report.cold+0x7c/0xd8 [ 75.421740][ C1] ? rwlock_bug.part.0+0x80/0x90 [ 75.426772][ C1] ? ath9k_hif_usb_rx_cb+0x3d3/0x1050 [ 75.432150][ C1] kasan_check_range+0x13d/0x180 [ 75.437218][ C1] memcpy+0x20/0x60 [ 75.441176][ C1] ath9k_hif_usb_rx_cb+0x3d3/0x1050 [ 75.446427][ C1] ? hif_usb_start+0xa0/0xa0 [ 75.451026][ C1] ? __usb_hcd_giveback_urb+0x413/0x5c0 [ 75.456582][ C1] ? lock_downgrade+0x6e0/0x6e0 [ 75.461443][ C1] __usb_hcd_giveback_urb+0x2b0/0x5c0 [ 75.466830][ C1] usb_hcd_giveback_urb+0x367/0x410 [ 75.472076][ C1] dummy_timer+0x11f4/0x32a0 [ 75.476773][ C1] ? dummy_dequeue+0x500/0x500 [ 75.481794][ C1] ? dummy_dequeue+0x500/0x500 [ 75.486569][ C1] call_timer_fn+0x1a5/0x6b0 [ 75.491257][ C1] ? add_timer_on+0x4a0/0x4a0 [ 75.495939][ C1] ? lock_downgrade+0x6e0/0x6e0 [ 75.500849][ C1] ? __sanitizer_cov_trace_const_cmp8+0x1d/0x70 [ 75.507103][ C1] ? _raw_spin_unlock_irq+0x1f/0x40 [ 75.512309][ C1] ? dummy_dequeue+0x500/0x500 [ 75.517115][ C1] __run_timers.part.0+0x67c/0xa50 [ 75.522232][ C1] ? call_timer_fn+0x6b0/0x6b0 [ 75.526997][ C1] ? lapic_next_event+0x4d/0x80 [ 75.531859][ C1] ? kvm_sched_clock_read+0x14/0x40 [ 75.537063][ C1] ? sched_clock+0x2a/0x40 [ 75.541480][ C1] ? sched_clock_cpu+0x18/0x1f0 [ 75.546358][ C1] run_timer_softirq+0xb3/0x1d0 [ 75.551212][ C1] __do_softirq+0x29b/0x9f6 [ 75.555727][ C1] irq_exit_rcu+0x134/0x200 [ 75.560236][ C1] sysvec_apic_timer_interrupt+0x93/0xc0 [ 75.565880][ C1] [ 75.568814][ C1] asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 75.574899][ C1] RIP: 0010:acpi_idle_do_entry+0x1c9/0x250 [ 75.580716][ C1] Code: bd 88 6a f8 84 db 75 ac e8 a4 80 6a f8 e8 7f 70 70 f8 e9 0c 00 00 00 e8 95 80 6a f8 0f 00 2d 0e 0c c4 00 e8 89 80 6a f8 fb f4 <9c> 5b 81 e3 00 02 00 00 fa 31 ff 48 89 de e8 34 87 6a f8 48 85 db [ 75.600334][ C1] RSP: 0018:ffffc90000d6fd18 EFLAGS: 00000293 [ 75.606407][ C1] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 75.614381][ C1] RDX: ffff8880116de040 RSI: ffffffff8908a477 RDI: 0000000000000000 [ 75.622358][ C1] RBP: ffff888141585064 R08: 0000000000000001 R09: 0000000000000001 [ 75.630330][ C1] R10: ffffffff81791518 R11: 0000000000000000 R12: 0000000000000001 [ 75.638303][ C1] R13: ffff888141585000 R14: ffff888141585064 R15: ffff888018b32004 [ 75.646451][ C1] ? trace_hardirqs_on+0x38/0x1c0 [ 75.651486][ C1] ? acpi_idle_do_entry+0x1c7/0x250 [ 75.656694][ C1] ? acpi_idle_do_entry+0x1c7/0x250 [ 75.661901][ C1] acpi_idle_enter+0x361/0x500 [ 75.666762][ C1] cpuidle_enter_state+0x1b1/0xc80 [ 75.671883][ C1] cpuidle_enter+0x4a/0xa0 [ 75.676309][ C1] do_idle+0x3e1/0x590 [ 75.680384][ C1] ? arch_cpu_idle_exit+0x30/0x30 [ 75.685482][ C1] ? _raw_spin_unlock_irq+0x40/0x40 [ 75.690684][ C1] ? lockdep_hardirqs_on+0x79/0x100 [ 75.695947][ C1] cpu_startup_entry+0x14/0x20 [ 75.700713][ C1] start_secondary+0x274/0x350 [ 75.705481][ C1] ? set_cpu_sibling_map+0x2460/0x2460 [ 75.710950][ C1] secondary_startup_64_no_verify+0xb0/0xbb [ 75.716853][ C1] [ 75.719175][ C1] Allocated by task 3515: [ 75.723529][ C1] kasan_save_stack+0x1b/0x40 [ 75.728226][ C1] __kasan_kmalloc+0x96/0xc0 [ 75.732821][ C1] __alloc_skb+0xde/0x340 [ 75.737192][ C1] ath9k_hif_usb_alloc_urbs+0x665/0x1040 [ 75.742955][ C1] ath9k_hif_usb_firmware_cb+0x148/0x530 [ 75.748590][ C1] request_firmware_work_func+0x12c/0x230 [ 75.754316][ C1] process_one_work+0x98d/0x1600 [ 75.759258][ C1] worker_thread+0x64c/0x1120 [ 75.764066][ C1] kthread+0x3b1/0x4a0 [ 75.768151][ C1] ret_from_fork+0x1f/0x30 [ 75.772572][ C1] [ 75.774891][ C1] The buggy address belongs to the object at ffff888039160000 [ 75.774891][ C1] which belongs to the cache kmalloc-32k of size 32768 [ 75.789120][ C1] The buggy address is located 0 bytes inside of [ 75.789120][ C1] 32768-byte region [ffff888039160000, ffff888039168000) [ 75.802407][ C1] The buggy address belongs to the page: [ 75.808127][ C1] page:ffffea0000e45800 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x39160 [ 75.818287][ C1] head:ffffea0000e45800 order:4 compound_mapcount:0 compound_pincount:0 [ 75.826670][ C1] flags: 0xfff00000010200(slab|head) [ 75.831969][ C1] raw: 00fff00000010200 ffffea0000e45408 ffffea0000e45c08 ffff888010840c00 [ 75.840601][ C1] raw: 0000000000000000 ffff888039160000 0000000100000001 0000000000000000 [ 75.849229][ C1] page dumped because: kasan: bad access detected [ 75.855636][ C1] [ 75.857955][ C1] Memory state around the buggy address: [ 75.863580][ C1] ffff888039167f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 75.871639][ C1] ffff888039167f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 75.879700][ C1] >ffff888039168000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 75.887754][ C1] ^ [ 75.891817][ C1] ffff888039168080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 75.899996][ C1] ffff888039168100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 75.908051][ C1] ================================================================== [ 75.916311][ C1] Disabling lock debugging due to kernel taint [ 75.922544][ C1] Kernel panic - not syncing: panic_on_warn set ... [ 75.929291][ C1] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G B 5.12.0-rc3-syzkaller #0 [ 75.938750][ C1] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 75.948981][ C1] Call Trace: [ 75.952384][ C1] [ 75.955226][ C1] dump_stack+0x141/0x1d7 [ 75.959560][ C1] panic+0x306/0x73d [ 75.963455][ C1] ? __warn_printk+0xf3/0xf3 [ 75.968048][ C1] ? ath9k_hif_usb_rx_cb+0x3d3/0x1050 [ 75.973515][ C1] ? ath9k_hif_usb_rx_cb+0x3d3/0x1050 [ 75.978890][ C1] end_report.cold+0x5a/0x5a [ 75.983481][ C1] kasan_report.cold+0x6a/0xd8 [ 75.988292][ C1] ? rwlock_bug.part.0+0x80/0x90 [ 75.993237][ C1] ? ath9k_hif_usb_rx_cb+0x3d3/0x1050 [ 75.998608][ C1] kasan_check_range+0x13d/0x180 [ 76.003661][ C1] memcpy+0x20/0x60 [ 76.007468][ C1] ath9k_hif_usb_rx_cb+0x3d3/0x1050 [ 76.012846][ C1] ? hif_usb_start+0xa0/0xa0 [ 76.017555][ C1] ? __usb_hcd_giveback_urb+0x413/0x5c0 [ 76.023104][ C1] ? lock_downgrade+0x6e0/0x6e0 [ 76.028004][ C1] __usb_hcd_giveback_urb+0x2b0/0x5c0 [ 76.033382][ C1] usb_hcd_giveback_urb+0x367/0x410 [ 76.038578][ C1] dummy_timer+0x11f4/0x32a0 [ 76.043169][ C1] ? dummy_dequeue+0x500/0x500 [ 76.047930][ C1] ? dummy_dequeue+0x500/0x500 [ 76.052692][ C1] call_timer_fn+0x1a5/0x6b0 [ 76.057281][ C1] ? add_timer_on+0x4a0/0x4a0 [ 76.061952][ C1] ? lock_downgrade+0x6e0/0x6e0 [ 76.066840][ C1] ? __sanitizer_cov_trace_const_cmp8+0x1d/0x70 [ 76.073240][ C1] ? _raw_spin_unlock_irq+0x1f/0x40 [ 76.078447][ C1] ? dummy_dequeue+0x500/0x500 [ 76.083259][ C1] __run_timers.part.0+0x67c/0xa50 [ 76.088506][ C1] ? call_timer_fn+0x6b0/0x6b0 [ 76.093276][ C1] ? lapic_next_event+0x4d/0x80 [ 76.098130][ C1] ? kvm_sched_clock_read+0x14/0x40 [ 76.103334][ C1] ? sched_clock+0x2a/0x40 [ 76.107796][ C1] ? sched_clock_cpu+0x18/0x1f0 [ 76.112676][ C1] run_timer_softirq+0xb3/0x1d0 [ 76.117659][ C1] __do_softirq+0x29b/0x9f6 [ 76.122181][ C1] irq_exit_rcu+0x134/0x200 [ 76.126732][ C1] sysvec_apic_timer_interrupt+0x93/0xc0 [ 76.132399][ C1] [ 76.135333][ C1] asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 76.141326][ C1] RIP: 0010:acpi_idle_do_entry+0x1c9/0x250 [ 76.147141][ C1] Code: bd 88 6a f8 84 db 75 ac e8 a4 80 6a f8 e8 7f 70 70 f8 e9 0c 00 00 00 e8 95 80 6a f8 0f 00 2d 0e 0c c4 00 e8 89 80 6a f8 fb f4 <9c> 5b 81 e3 00 02 00 00 fa 31 ff 48 89 de e8 34 87 6a f8 48 85 db [ 76.166905][ C1] RSP: 0018:ffffc90000d6fd18 EFLAGS: 00000293 [ 76.173039][ C1] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 76.181009][ C1] RDX: ffff8880116de040 RSI: ffffffff8908a477 RDI: 0000000000000000 [ 76.188978][ C1] RBP: ffff888141585064 R08: 0000000000000001 R09: 0000000000000001 [ 76.196946][ C1] R10: ffffffff81791518 R11: 0000000000000000 R12: 0000000000000001 [ 76.204913][ C1] R13: ffff888141585000 R14: ffff888141585064 R15: ffff888018b32004 [ 76.212882][ C1] ? trace_hardirqs_on+0x38/0x1c0 [ 76.217914][ C1] ? acpi_idle_do_entry+0x1c7/0x250 [ 76.223116][ C1] ? acpi_idle_do_entry+0x1c7/0x250 [ 76.228310][ C1] acpi_idle_enter+0x361/0x500 [ 76.233074][ C1] cpuidle_enter_state+0x1b1/0xc80 [ 76.238190][ C1] cpuidle_enter+0x4a/0xa0 [ 76.242606][ C1] do_idle+0x3e1/0x590 [ 76.246674][ C1] ? arch_cpu_idle_exit+0x30/0x30 [ 76.251697][ C1] ? _raw_spin_unlock_irq+0x40/0x40 [ 76.256895][ C1] ? lockdep_hardirqs_on+0x79/0x100 [ 76.262094][ C1] cpu_startup_entry+0x14/0x20 [ 76.266854][ C1] start_secondary+0x274/0x350 [ 76.271622][ C1] ? set_cpu_sibling_map+0x2460/0x2460 [ 76.277084][ C1] secondary_startup_64_no_verify+0xb0/0xbb [ 76.284000][ C1] Kernel Offset: disabled [ 76.288331][ C1] Rebooting in 86400 seconds..