./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3891767560
<...>
Warning: Permanently added '10.128.0.7' (ECDSA) to the list of known hosts.
execve("./syz-executor3891767560", ["./syz-executor3891767560"], 0x7ffe364dc200 /* 10 vars */) = 0
brk(NULL) = 0x55555575a000
brk(0x55555575ac40) = 0x55555575ac40
arch_prctl(ARCH_SET_FS, 0x55555575a300) = 0
uname({sysname="Linux", nodename="syzkaller", ...}) = 0
readlink("/proc/self/exe", "/root/syz-executor3891767560", 4096) = 28
brk(0x55555577bc40) = 0x55555577bc40
brk(0x55555577c000) = 0x55555577c000
mprotect(0x7fad6debd000, 16384, PROT_READ) = 0
mmap(0x1ffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1ffff000
mmap(0x20000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x20000000
mmap(0x21000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x21000000
openat(AT_FDCWD, "/dev/raw-gadget", O_RDWR) = 3
ioctl(3, USB_RAW_IOCTL_INIT, 0x7fffd90d8670) = 0
ioctl(3, UI_DEV_CREATE or USB_RAW_IOCTL_RUN, 0) = 0
ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fffd90d8670) = 0
ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fffd90d8670) = 0
ioctl(3, USB_RAW_IOCTL_EP0_WRITE, 0x7fffd90d7660) = 18
syzkaller login: [ 51.197692][ T22] usb 1-1: new high-speed USB device number 2 using dummy_hcd
ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fffd90d8670) = 0
ioctl(3, USB_RAW_IOCTL_EP0_WRITE, 0x7fffd90d7660) = 18
ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fffd90d8670) = 0
ioctl(3, USB_RAW_IOCTL_EP0_WRITE, 0x7fffd90d7660) = 9
ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fffd90d8670) = 0
ioctl(3, USB_RAW_IOCTL_EP0_WRITE, 0x7fffd90d7660) = 72
ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fffd90d8670) = 0
ioctl(3, USB_RAW_IOCTL_EP0_WRITE, 0x7fffd90d7660) = 4
ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fffd90d8670) = 0
ioctl(3, USB_RAW_IOCTL_EP0_WRITE, 0x7fffd90d7660) = 8
ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fffd90d8670) = 0
ioctl(3, USB_RAW_IOCTL_EP0_WRITE, 0x7fffd90d7660) = 8
ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fffd90d8670) = 0
ioctl(3, USB_RAW_IOCTL_EP0_WRITE, 0x7fffd90d7660) = 8
ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fffd90d8670) = 0
ioctl(3, USB_RAW_IOCTL_VBUS_DRAW, 0xfa) = 0
ioctl(3, USB_RAW_IOCTL_CONFIGURE, 0) = 0
ioctl(3, USB_RAW_IOCTL_EP_ENABLE, 0x7fad6dec33ac) = 9
ioctl(3, USB_RAW_IOCTL_EP_ENABLE, 0x7fad6dec33bc) = 10
ioctl(3, USB_RAW_IOCTL_EP_ENABLE, 0x7fad6dec33cc) = 12
ioctl(3, USB_RAW_IOCTL_EP_ENABLE, 0x7fad6dec33dc) = 11
ioctl(3, USB_RAW_IOCTL_EP_ENABLE, 0x7fad6dec33ec) = 13
ioctl(3, USB_RAW_IOCTL_EP_ENABLE, 0x7fad6dec33fc) = 14
ioctl(3, USB_RAW_IOCTL_EP0_READ, 0x7fffd90d7660) = 0
[ 51.718539][ T22] usb 1-1: New USB device found, idVendor=0cf3, idProduct=9271, bcdDevice= 1.08
[ 51.727782][ T22] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 51.735781][ T22] usb 1-1: Product: syz
[ 51.740205][ T22] usb 1-1: Manufacturer: syz
[ 51.744826][ T22] usb 1-1: SerialNumber: syz
ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fffd90d8670) = 0
ioctl(3, USB_RAW_IOCTL_EP0_READ, 0x7fffd90d7660) = 4096
[ 51.790121][ T22] usb 1-1: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested
ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fffd90d8670) = 0
ioctl(3, USB_RAW_IOCTL_EP0_READ, 0x7fffd90d7660) = 4096
ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fffd90d8670) = 0
ioctl(3, USB_RAW_IOCTL_EP0_READ, 0x7fffd90d7660) = 4096
ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fffd90d8670) = 0
ioctl(3, USB_RAW_IOCTL_EP0_READ, 0x7fffd90d7660) = 4096
ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fffd90d8670) = 0
ioctl(3, USB_RAW_IOCTL_EP0_READ, 0x7fffd90d7660) = 4096
ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fffd90d8670) = 0
ioctl(3, USB_RAW_IOCTL_EP0_READ, 0x7fffd90d7660) = 4096
ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fffd90d8670) = 0
ioctl(3, USB_RAW_IOCTL_EP0_READ, 0x7fffd90d7660) = 4096
ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fffd90d8670) = 0
ioctl(3, USB_RAW_IOCTL_EP0_READ, 0x7fffd90d7660) = 4096
ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fffd90d8670) = 0
ioctl(3, USB_RAW_IOCTL_EP0_READ, 0x7fffd90d7660) = 4096
ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fffd90d8670) = 0
ioctl(3, USB_RAW_IOCTL_EP0_READ, 0x7fffd90d7660) = 4096
ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fffd90d8670) = 0
ioctl(3, USB_RAW_IOCTL_EP0_READ, 0x7fffd90d7660) = 4096
ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fffd90d8670) = 0
ioctl(3, USB_RAW_IOCTL_EP0_READ, 0x7fffd90d7660) = 4096
ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fffd90d8670) = 0
ioctl(3, USB_RAW_IOCTL_EP0_READ, 0x7fffd90d7660) = 1856
ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fffd90d8670) = 0
ioctl(3, USB_RAW_IOCTL_EP0_READ, 0x7fffd90d7660) = 0
[ 52.367984][ T22] usb 1-1: ath9k_htc: Transferred FW: ath9k_htc/htc_9271-1.4.0.fw, size: 51008
ioctl(3, USB_RAW_IOCTL_EP_WRITE, 0x7fffd90d86b0) = 36
ioctl(3, USB_RAW_IOCTL_EP_WRITE, 0x7fffd90d86b0) = 36
ioctl(3, USB_RAW_IOCTL_EP_WRITE, 0x7fffd90d86b0) = 36
ioctl(3, USB_RAW_IOCTL_EP_WRITE, 0x7fffd90d86b0) = 36
ioctl(3, USB_RAW_IOCTL_EP_WRITE, 0x7fffd90d86b0) = 36
[ 53.437690][ T22] ath9k_htc 1-1:1.0: ath9k_htc: Target is unresponsive
[ 53.444896][ T22] ath9k_htc: Failed to initialize the device
ioctl(3, USB_RAW_IOCTL_EP_WRITE, 0x7fffd90d86b0) = 36
[ 53.597659][ C1] ==================================================================
[ 53.605742][ C1] BUG: KASAN: use-after-free in ath9k_hif_usb_rx_cb+0xea7/0x10d0
[ 53.613462][ C1] Read of size 4 at addr ffff88807377c448 by task swapper/1/0
[ 53.620915][ C1]
[ 53.623223][ C1] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.19.0-rc4-next-20220628-syzkaller #0
[ 53.632398][ C1] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022
[ 53.642519][ C1] Call Trace:
[ 53.645810][ C1]
[ 53.648639][ C1] dump_stack_lvl+0xcd/0x134
[ 53.653234][ C1] print_report.cold+0x2ba/0x719
[ 53.658169][ C1] ? ath9k_hif_usb_rx_cb+0xea7/0x10d0
[ 53.663528][ C1] kasan_report+0xbe/0x1f0
[ 53.667932][ C1] ? ath9k_hif_usb_rx_cb+0xea7/0x10d0
[ 53.673293][ C1] ath9k_hif_usb_rx_cb+0xea7/0x10d0
[ 53.678488][ C1] ? perf_trace_contention_begin+0x360/0x3a0
[ 53.684483][ C1] ? hif_usb_start+0xa0/0xa0
[ 53.689074][ C1] ? rwlock_bug.part.0+0x90/0x90
[ 53.694015][ C1] __usb_hcd_giveback_urb+0x2b0/0x5c0
[ 53.699393][ C1] usb_hcd_giveback_urb+0x367/0x410
[ 53.704597][ C1] dummy_timer+0x11ff/0x32c0
[ 53.709204][ C1] ? dummy_dequeue+0x500/0x500
[ 53.713970][ C1] ? dummy_dequeue+0x500/0x500
[ 53.718726][ C1] call_timer_fn+0x1a0/0x6b0
[ 53.723321][ C1] ? timer_fixup_activate+0x350/0x350
[ 53.728965][ C1] ? lock_downgrade+0x6e0/0x6e0
[ 53.733849][ C1] ? _raw_spin_unlock_irq+0x1f/0x40
[ 53.739072][ C1] ? _raw_spin_unlock_irq+0x1f/0x40
[ 53.744284][ C1] ? dummy_dequeue+0x500/0x500
[ 53.749046][ C1] __run_timers.part.0+0x674/0xa80
[ 53.754164][ C1] ? call_timer_fn+0x6b0/0x6b0
[ 53.758933][ C1] ? set_next_task_stop+0x140/0x140
[ 53.764215][ C1] ? kvm_sched_clock_read+0x14/0x40
[ 53.769412][ C1] ? sched_clock_cpu+0x69/0x2b0
[ 53.774263][ C1] run_timer_softirq+0xb3/0x1d0
[ 53.779119][ C1] __do_softirq+0x29b/0x9c2
[ 53.783647][ C1] __irq_exit_rcu+0x123/0x180
[ 53.788377][ C1] irq_exit_rcu+0x5/0x20
[ 53.792644][ C1] sysvec_apic_timer_interrupt+0x93/0xc0
[ 53.798286][ C1]
[ 53.801211][ C1]
[ 53.804136][ C1] asm_sysvec_apic_timer_interrupt+0x1b/0x20
[ 53.810119][ C1] RIP: 0010:acpi_idle_do_entry+0x1c9/0x240
[ 53.816042][ C1] Code: 89 de e8 9a 7a fe f7 84 db 75 98 e8 01 7e fe f7 e8 ec cc 04 f8 66 90 e8 f5 7d fe f7 0f 00 2d 7e 28 b8 00 e8 e9 7d fe f7 fb f4 <9c> 5b 81 e3 00 02 00 00 fa 31 ff 48 89 de e8 c4 7a fe f7 48 85 db
[ 53.835995][ C1] RSP: 0018:ffffc90000177d20 EFLAGS: 00000293
[ 53.842151][ C1] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
[ 53.850204][ C1] RDX: ffff888011a71d40 RSI: ffffffff897c3927 RDI: 0000000000000000
[ 53.858185][ C1] RBP: ffff8881456f9864 R08: 0000000000000001 R09: 0000000000000001
[ 53.866173][ C1] R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000001
[ 53.874155][ C1] R13: ffff8881456f9800 R14: ffff8881456f9864 R15: ffff8880181e5804
[ 53.882145][ C1] ? acpi_idle_do_entry+0x1c7/0x240
[ 53.887401][ C1] acpi_idle_enter+0x364/0x500
[ 53.892180][ C1] cpuidle_enter_state+0x1b1/0xc80
[ 53.897306][ C1] cpuidle_enter+0x4a/0xa0
[ 53.901723][ C1] do_idle+0x3e8/0x590
[ 53.905816][ C1] ? arch_cpu_idle_exit+0x30/0x30
[ 53.910861][ C1] ? _raw_spin_unlock_irq+0x10/0x40
[ 53.916081][ C1] ? lockdep_hardirqs_on+0x79/0x100
[ 53.921316][ C1] cpu_startup_entry+0x14/0x20
[ 53.926096][ C1] start_secondary+0x21d/0x2b0
[ 53.930871][ C1] ? set_cpu_sibling_map+0x1ef0/0x1ef0
[ 53.936341][ C1] secondary_startup_64_no_verify+0xce/0xdb
[ 53.942244][ C1]
[ 53.945256][ C1]
[ 53.947571][ C1] The buggy address belongs to the physical page:
[ 53.953970][ C1] page:ffffea0001cddf00 refcount:0 mapcount:0 mapping:0000000000000000 index:0x1 pfn:0x7377c
[ 53.964112][ C1] flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
[ 53.971234][ C1] raw: 00fff00000000000 0000000000000000 dead000000000122 0000000000000000
[ 53.979812][ C1] raw: 0000000000000001 0000000000000000 00000000ffffffff 0000000000000000
[ 53.988386][ C1] page dumped because: kasan: bad access detected
[ 53.994785][ C1] page_owner tracks the page as freed
[ 54.000139][ C1] page last allocated via order 3, migratetype Unmovable, gfp_mask 0x40dc0(GFP_KERNEL|__GFP_COMP|__GFP_ZERO), pid 22, tgid 22 (kworker/1:0), ts 52379479428, free_ts 53444838726
[ 54.017584][ C1] get_page_from_freelist+0x210d/0x3a30
[ 54.023132][ C1] __alloc_pages+0x1c7/0x510
[ 54.027719][ C1] alloc_pages+0x1aa/0x310
[ 54.032128][ C1] kmalloc_order+0x34/0xf0
[ 54.036544][ C1] kmalloc_order_trace+0x13/0x120
[ 54.041577][ C1] wiphy_new_nm+0x6fc/0x2090
[ 54.046167][ C1] ieee80211_alloc_hw_nm+0x428/0x2330
[ 54.051554][ C1] ath9k_htc_probe_device+0x97/0x1f00
[ 54.057027][ C1] ath9k_htc_hw_init+0x31/0x60
[ 54.061791][ C1] ath9k_hif_usb_firmware_cb+0x274/0x530
[ 54.067421][ C1] request_firmware_work_func+0x12c/0x230
[ 54.073142][ C1] process_one_work+0x991/0x1610
[ 54.078094][ C1] worker_thread+0x665/0x1080
[ 54.082771][ C1] kthread+0x2e9/0x3a0
[ 54.086920][ C1] ret_from_fork+0x1f/0x30
[ 54.091383][ C1] page last free stack trace:
[ 54.096041][ C1] free_pcp_prepare+0x5e4/0xd20
[ 54.100886][ C1] free_unref_page+0x19/0x4d0
[ 54.105560][ C1] device_release+0x9f/0x240
[ 54.110148][ C1] kobject_put+0x1be/0x4c0
[ 54.114555][ C1] put_device+0x1b/0x30
[ 54.118806][ C1] ath9k_htc_probe_device+0x1c7/0x1f00
[ 54.124273][ C1] ath9k_htc_hw_init+0x31/0x60
[ 54.129127][ C1] ath9k_hif_usb_firmware_cb+0x274/0x530
[ 54.134758][ C1] request_firmware_work_func+0x12c/0x230
[ 54.140479][ C1] process_one_work+0x991/0x1610
[ 54.145416][ C1] worker_thread+0x665/0x1080
[ 54.150104][ C1] kthread+0x2e9/0x3a0
[ 54.154168][ C1] ret_from_fork+0x1f/0x30
[ 54.158598][ C1]
[ 54.160913][ C1] Memory state around the buggy address:
[ 54.166551][ C1] ffff88807377c300: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 54.174604][ C1] ffff88807377c380: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 54.182669][ C1] >ffff88807377c400: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 54.190730][ C1] ^
[ 54.197147][ C1] ffff88807377c480: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 54.205215][ C1] ffff88807377c500: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 54.213281][ C1] ==================================================================
[ 54.221330][ C1] Kernel panic - not syncing: panic_on_warn set ...
[ 54.227903][ C1] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.19.0-rc4-next-20220628-syzkaller #0
[ 54.237102][ C1] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022
[ 54.247157][ C1] Call Trace:
[ 54.250432][ C1]
[ 54.253269][ C1] dump_stack_lvl+0xcd/0x134
[ 54.257869][ C1] panic+0x2d7/0x636
[ 54.261765][ C1] ? panic_print_sys_info.part.0+0x10b/0x10b
[ 54.267771][ C1] ? print_report.cold+0x4f6/0x719
[ 54.272898][ C1] ? ath9k_hif_usb_rx_cb+0xea7/0x10d0
[ 54.278266][ C1] end_report.part.0+0x3f/0x7c
[ 54.283136][ C1] kasan_report.cold+0x8/0x12
[ 54.287829][ C1] ? ath9k_hif_usb_rx_cb+0xea7/0x10d0
[ 54.293198][ C1] ath9k_hif_usb_rx_cb+0xea7/0x10d0
[ 54.298416][ C1] ? perf_trace_contention_begin+0x360/0x3a0
[ 54.304430][ C1] ? hif_usb_start+0xa0/0xa0
[ 54.309016][ C1] ? rwlock_bug.part.0+0x90/0x90
[ 54.314044][ C1] __usb_hcd_giveback_urb+0x2b0/0x5c0
[ 54.319512][ C1] usb_hcd_giveback_urb+0x367/0x410
[ 54.324724][ C1] dummy_timer+0x11ff/0x32c0
[ 54.329340][ C1] ? dummy_dequeue+0x500/0x500
[ 54.334103][ C1] ? dummy_dequeue+0x500/0x500
[ 54.338866][ C1] call_timer_fn+0x1a0/0x6b0
[ 54.343560][ C1] ? timer_fixup_activate+0x350/0x350
[ 54.348932][ C1] ? lock_downgrade+0x6e0/0x6e0
[ 54.353781][ C1] ? _raw_spin_unlock_irq+0x1f/0x40
[ 54.358991][ C1] ? _raw_spin_unlock_irq+0x1f/0x40
[ 54.364204][ C1] ? dummy_dequeue+0x500/0x500
[ 54.368967][ C1] __run_timers.part.0+0x674/0xa80
[ 54.374082][ C1] ? call_timer_fn+0x6b0/0x6b0
[ 54.378945][ C1] ? set_next_task_stop+0x140/0x140
[ 54.384142][ C1] ? kvm_sched_clock_read+0x14/0x40
[ 54.389354][ C1] ? sched_clock_cpu+0x69/0x2b0
[ 54.394204][ C1] run_timer_softirq+0xb3/0x1d0
[ 54.399055][ C1] __do_softirq+0x29b/0x9c2
[ 54.403560][ C1] __irq_exit_rcu+0x123/0x180
[ 54.408236][ C1] irq_exit_rcu+0x5/0x20
[ 54.412474][ C1] sysvec_apic_timer_interrupt+0x93/0xc0
[ 54.418111][ C1]
[ 54.421051][ C1]
[ 54.423973][ C1] asm_sysvec_apic_timer_interrupt+0x1b/0x20
[ 54.429956][ C1] RIP: 0010:acpi_idle_do_entry+0x1c9/0x240
[ 54.435791][ C1] Code: 89 de e8 9a 7a fe f7 84 db 75 98 e8 01 7e fe f7 e8 ec cc 04 f8 66 90 e8 f5 7d fe f7 0f 00 2d 7e 28 b8 00 e8 e9 7d fe f7 fb f4 <9c> 5b 81 e3 00 02 00 00 fa 31 ff 48 89 de e8 c4 7a fe f7 48 85 db
[ 54.455404][ C1] RSP: 0018:ffffc90000177d20 EFLAGS: 00000293
[ 54.461466][ C1] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
[ 54.469434][ C1] RDX: ffff888011a71d40 RSI: ffffffff897c3927 RDI: 0000000000000000
[ 54.477401][ C1] RBP: ffff8881456f9864 R08: 0000000000000001 R09: 0000000000000001
[ 54.485366][ C1] R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000001
[ 54.493418][ C1] R13: ffff8881456f9800 R14: ffff8881456f9864 R15: ffff8880181e5804
[ 54.501404][ C1] ? acpi_idle_do_entry+0x1c7/0x240
[ 54.506619][ C1] acpi_idle_enter+0x364/0x500
[ 54.511392][ C1] cpuidle_enter_state+0x1b1/0xc80
[ 54.516598][ C1] cpuidle_enter+0x4a/0xa0
[ 54.521018][ C1] do_idle+0x3e8/0x590
[ 54.525092][ C1] ? arch_cpu_idle_exit+0x30/0x30
[ 54.530119][ C1] ? _raw_spin_unlock_irq+0x10/0x40
[ 54.535365][ C1] ? lockdep_hardirqs_on+0x79/0x100
[ 54.540597][ C1] cpu_startup_entry+0x14/0x20
[ 54.545373][ C1] start_secondary+0x21d/0x2b0
[ 54.550147][ C1] ? set_cpu_sibling_map+0x1ef0/0x1ef0
[ 54.555639][ C1] secondary_startup_64_no_verify+0xce/0xdb
[ 54.561599][ C1]
[ 54.564861][ C1] Kernel Offset: disabled
[ 54.569245][ C1] Rebooting in 86400 seconds..