./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor449911101 <...> forked to background, child pid 3177 no interfaces have a carrier [ 21.713937][ T3178] 8021q: adding VLAN 0 to HW filter on device bond0 [ 21.723666][ T3178] eql: remember to turn off Van-Jacobson compression on your slave devices Starting sshd: OK syzkaller Warning: Permanently added '10.128.1.48' (ECDSA) to the list of known hosts. execve("./syz-executor449911101", ["./syz-executor449911101"], 0x7ffe2cc2d560 /* 10 vars */) = 0 brk(NULL) = 0x555555eba000 brk(0x555555ebac40) = 0x555555ebac40 arch_prctl(ARCH_SET_FS, 0x555555eba300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 readlink("/proc/self/exe", "/root/syz-executor449911101", 4096) = 27 brk(0x555555edbc40) = 0x555555edbc40 brk(0x555555edc000) = 0x555555edc000 mprotect(0x7f189664a000, 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, 0x7fff40ac81b0) = 0 ioctl(3, UI_DEV_CREATE or USB_RAW_IOCTL_RUN, 0) = 0 ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fff40ac81b0) = 0 ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fff40ac81b0) = 0 ioctl(3, USB_RAW_IOCTL_EP0_WRITE, 0x7fff40ac71a0) = 18 syzkaller login: [ 38.381662][ T3325] usb 1-1: new high-speed USB device number 2 using dummy_hcd ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fff40ac81b0) = 0 ioctl(3, USB_RAW_IOCTL_EP0_WRITE, 0x7fff40ac71a0) = 18 ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fff40ac81b0) = 0 ioctl(3, USB_RAW_IOCTL_EP0_WRITE, 0x7fff40ac71a0) = 9 ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fff40ac81b0) = 0 ioctl(3, USB_RAW_IOCTL_EP0_WRITE, 0x7fff40ac71a0) = 72 ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fff40ac81b0) = 0 ioctl(3, USB_RAW_IOCTL_EP0_WRITE, 0x7fff40ac71a0) = 4 ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fff40ac81b0) = 0 ioctl(3, USB_RAW_IOCTL_EP0_WRITE, 0x7fff40ac71a0) = 8 ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fff40ac81b0) = 0 ioctl(3, USB_RAW_IOCTL_EP0_WRITE, 0x7fff40ac71a0) = 8 ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fff40ac81b0) = 0 ioctl(3, USB_RAW_IOCTL_EP0_WRITE, 0x7fff40ac71a0) = 8 ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fff40ac81b0) = 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, 0x7f18966503ac) = 9 ioctl(3, USB_RAW_IOCTL_EP_ENABLE, 0x7f18966503bc) = 10 ioctl(3, USB_RAW_IOCTL_EP_ENABLE, 0x7f18966503cc) = 12 ioctl(3, USB_RAW_IOCTL_EP_ENABLE, 0x7f18966503dc) = 11 ioctl(3, USB_RAW_IOCTL_EP_ENABLE, 0x7f18966503ec) = 13 ioctl(3, USB_RAW_IOCTL_EP_ENABLE, 0x7f18966503fc) = 14 ioctl(3, USB_RAW_IOCTL_EP0_READ, 0x7fff40ac71a0) = 0 [ 38.911786][ T3325] usb 1-1: New USB device found, idVendor=0cf3, idProduct=9271, bcdDevice= 1.08 [ 38.921215][ T3325] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 38.929666][ T3325] usb 1-1: Product: syz [ 38.934136][ T3325] usb 1-1: Manufacturer: syz [ 38.938735][ T3325] usb 1-1: SerialNumber: syz ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fff40ac81b0) = 0 ioctl(3, USB_RAW_IOCTL_EP0_READ, 0x7fff40ac71a0) = 4096 [ 38.983144][ T3325] usb 1-1: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fff40ac81b0) = 0 ioctl(3, USB_RAW_IOCTL_EP0_READ, 0x7fff40ac71a0) = 4096 ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fff40ac81b0) = 0 ioctl(3, USB_RAW_IOCTL_EP0_READ, 0x7fff40ac71a0) = 4096 ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fff40ac81b0) = 0 ioctl(3, USB_RAW_IOCTL_EP0_READ, 0x7fff40ac71a0) = 4096 ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fff40ac81b0) = 0 ioctl(3, USB_RAW_IOCTL_EP0_READ, 0x7fff40ac71a0) = 4096 ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fff40ac81b0) = 0 ioctl(3, USB_RAW_IOCTL_EP0_READ, 0x7fff40ac71a0) = 4096 ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fff40ac81b0) = 0 ioctl(3, USB_RAW_IOCTL_EP0_READ, 0x7fff40ac71a0) = 4096 ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fff40ac81b0) = 0 ioctl(3, USB_RAW_IOCTL_EP0_READ, 0x7fff40ac71a0) = 4096 ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fff40ac81b0) = 0 ioctl(3, USB_RAW_IOCTL_EP0_READ, 0x7fff40ac71a0) = 4096 ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fff40ac81b0) = 0 ioctl(3, USB_RAW_IOCTL_EP0_READ, 0x7fff40ac71a0) = 4096 ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fff40ac81b0) = 0 ioctl(3, USB_RAW_IOCTL_EP0_READ, 0x7fff40ac71a0) = 4096 ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fff40ac81b0) = 0 ioctl(3, USB_RAW_IOCTL_EP0_READ, 0x7fff40ac71a0) = 4096 ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fff40ac81b0) = 0 ioctl(3, USB_RAW_IOCTL_EP0_READ, 0x7fff40ac71a0) = 1856 ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7fff40ac81b0) = 0 ioctl(3, USB_RAW_IOCTL_EP0_READ, 0x7fff40ac71a0) = 0 [ 39.561761][ T3325] usb 1-1: ath9k_htc: Transferred FW: ath9k_htc/htc_9271-1.4.0.fw, size: 51008 ioctl(3, USB_RAW_IOCTL_EP_WRITE, 0x7fff40ac81f0) = 20 ioctl(3, USB_RAW_IOCTL_EP_WRITE, 0x7fff40ac81f0) = 20 ioctl(3, USB_RAW_IOCTL_EP_WRITE, 0x7fff40ac81f0) = 20 ioctl(3, USB_RAW_IOCTL_EP_WRITE, 0x7fff40ac81f0) = 20 ioctl(3, USB_RAW_IOCTL_EP_WRITE, 0x7fff40ac81f0) = 20 [ 40.601658][ T3325] ath9k_htc 1-1:1.0: ath9k_htc: Target is unresponsive [ 40.608903][ T3325] ath9k_htc: Failed to initialize the device ioctl(3, USB_RAW_IOCTL_EP_WRITE, 0x7fff40ac81f0) = 20 [ 40.781598][ C1] ================================================================== [ 40.789670][ C1] BUG: KASAN: use-after-free in ath9k_hif_usb_rx_cb+0xea7/0x10d0 [ 40.797403][ C1] Read of size 4 at addr ffff8880212942e8 by task swapper/1/0 [ 40.804834][ C1] [ 40.807148][ C1] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.19.0-syzkaller-02972-g200e340f2196 #0 [ 40.816490][ C1] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 [ 40.826743][ C1] Call Trace: [ 40.830000][ C1] [ 40.832821][ C1] dump_stack_lvl+0xcd/0x134 [ 40.837390][ C1] print_address_description.constprop.0.cold+0xeb/0x495 [ 40.844389][ C1] ? ath9k_hif_usb_rx_cb+0xea7/0x10d0 [ 40.849741][ C1] kasan_report.cold+0xf4/0x1c6 [ 40.854565][ C1] ? ath9k_hif_usb_rx_cb+0xea7/0x10d0 [ 40.859913][ C1] ath9k_hif_usb_rx_cb+0xea7/0x10d0 [ 40.865087][ C1] ? psi_cgroup_free+0xf0/0x180 [ 40.869920][ C1] ? hif_usb_start+0xa0/0xa0 [ 40.874496][ C1] ? rwlock_bug.part.0+0x90/0x90 [ 40.879427][ C1] __usb_hcd_giveback_urb+0x2b0/0x5c0 [ 40.884786][ C1] usb_hcd_giveback_urb+0x367/0x410 [ 40.889971][ C1] dummy_timer+0x11f9/0x32b0 [ 40.894559][ C1] ? dummy_dequeue+0x500/0x500 [ 40.899400][ C1] ? dummy_dequeue+0x500/0x500 [ 40.904151][ C1] call_timer_fn+0x1a5/0x6b0 [ 40.908730][ C1] ? timer_fixup_activate+0x350/0x350 [ 40.914090][ C1] ? lock_downgrade+0x6e0/0x6e0 [ 40.918928][ C1] ? _raw_spin_unlock_irq+0x1f/0x40 [ 40.924113][ C1] ? _raw_spin_unlock_irq+0x1f/0x40 [ 40.929297][ C1] ? dummy_dequeue+0x500/0x500 [ 40.934054][ C1] __run_timers.part.0+0x679/0xa80 [ 40.939156][ C1] ? call_timer_fn+0x6b0/0x6b0 [ 40.943905][ C1] ? __wake_up_locked_sync_key+0x20/0x20 [ 40.949522][ C1] ? kvm_sched_clock_read+0x14/0x40 [ 40.954706][ C1] ? sched_clock_cpu+0x69/0x2b0 [ 40.959542][ C1] run_timer_softirq+0xb3/0x1d0 [ 40.964378][ C1] __do_softirq+0x29b/0x9c2 [ 40.968871][ C1] __irq_exit_rcu+0x123/0x180 [ 40.973537][ C1] irq_exit_rcu+0x5/0x20 [ 40.977768][ C1] sysvec_apic_timer_interrupt+0x93/0xc0 [ 40.983387][ C1] [ 40.986300][ C1] [ 40.989214][ C1] asm_sysvec_apic_timer_interrupt+0x16/0x20 [ 40.995189][ C1] RIP: 0010:acpi_idle_do_entry+0x1c9/0x240 [ 41.000984][ C1] Code: 89 de e8 9a d3 ff f7 84 db 75 98 e8 91 d7 ff f7 e8 fc 26 06 f8 eb 0c e8 85 d7 ff f7 0f 00 2d fe 24 b9 00 e8 79 d7 ff f7 fb f4 <9c> 5b 81 e3 00 02 00 00 fa 31 ff 48 89 de e8 c4 d3 ff f7 48 85 db [ 41.020585][ C1] RSP: 0018:ffffc90000177d20 EFLAGS: 00000293 [ 41.026638][ C1] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 41.034769][ C1] RDX: ffff888011b09d80 RSI: ffffffff897b0247 RDI: 0000000000000000 [ 41.042727][ C1] RBP: ffff8880174a8864 R08: 0000000000000001 R09: 0000000000000001 [ 41.050679][ C1] R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000001 [ 41.058633][ C1] R13: ffff8880174a8800 R14: ffff8880174a8864 R15: ffff8880187ca004 [ 41.066597][ C1] ? acpi_idle_do_entry+0x1c7/0x240 [ 41.071794][ C1] acpi_idle_enter+0x369/0x510 [ 41.076546][ C1] cpuidle_enter_state+0x1b1/0xc80 [ 41.081649][ C1] cpuidle_enter+0x4a/0xa0 [ 41.086055][ C1] do_idle+0x3e8/0x590 [ 41.090110][ C1] ? arch_cpu_idle_exit+0x30/0x30 [ 41.095121][ C1] cpu_startup_entry+0x14/0x20 [ 41.099873][ C1] start_secondary+0x21d/0x2b0 [ 41.104627][ C1] ? set_cpu_sibling_map+0x1ef0/0x1ef0 [ 41.110075][ C1] secondary_startup_64_no_verify+0xce/0xdb [ 41.116047][ C1] [ 41.119047][ C1] [ 41.121353][ C1] The buggy address belongs to the physical page: [ 41.127742][ C1] page:ffffea000084a500 refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x21294 [ 41.137874][ C1] flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) [ 41.144969][ C1] raw: 00fff00000000000 0000000000000000 ffffea000084a508 0000000000000000 [ 41.153535][ C1] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 41.162103][ C1] page dumped because: kasan: bad access detected [ 41.168495][ C1] page_owner tracks the page as freed [ 41.173840][ C1] page last allocated via order 3, migratetype Unmovable, gfp_mask 0x40dc0(GFP_KERNEL|__GFP_COMP|__GFP_ZERO), pid 3325, tgid 3325 (kworker/1:3), ts 39572177741, free_ts 40608882066 [ 41.191625][ C1] get_page_from_freelist+0x1298/0x3b80 [ 41.197159][ C1] __alloc_pages+0x1c7/0x510 [ 41.201735][ C1] alloc_pages+0x1aa/0x310 [ 41.206133][ C1] kmalloc_order+0x34/0xf0 [ 41.210536][ C1] kmalloc_order_trace+0x13/0x120 [ 41.215547][ C1] wiphy_new_nm+0x6f0/0x2080 [ 41.220121][ C1] ieee80211_alloc_hw_nm+0x373/0x2270 [ 41.225479][ C1] ath9k_htc_probe_device+0x97/0x1f00 [ 41.230834][ C1] ath9k_htc_hw_init+0x31/0x60 [ 41.235583][ C1] ath9k_hif_usb_firmware_cb+0x274/0x530 [ 41.241199][ C1] request_firmware_work_func+0x12c/0x230 [ 41.246902][ C1] process_one_work+0x996/0x1610 [ 41.251827][ C1] worker_thread+0x665/0x1080 [ 41.256490][ C1] kthread+0x2e9/0x3a0 [ 41.260545][ C1] ret_from_fork+0x1f/0x30 [ 41.264947][ C1] page last free stack trace: [ 41.269605][ C1] free_pcp_prepare+0x549/0xd20 [ 41.274442][ C1] free_unref_page+0x19/0x6a0 [ 41.279105][ C1] device_release+0x9f/0x240 [ 41.283684][ C1] kobject_put+0x1c8/0x540 [ 41.288089][ C1] put_device+0x1b/0x30 [ 41.292230][ C1] ath9k_htc_probe_device+0x1c7/0x1f00 [ 41.297702][ C1] ath9k_htc_hw_init+0x31/0x60 [ 41.302477][ C1] ath9k_hif_usb_firmware_cb+0x274/0x530 [ 41.308095][ C1] request_firmware_work_func+0x12c/0x230 [ 41.313802][ C1] process_one_work+0x996/0x1610 [ 41.318725][ C1] worker_thread+0x665/0x1080 [ 41.323391][ C1] kthread+0x2e9/0x3a0 [ 41.327462][ C1] ret_from_fork+0x1f/0x30 [ 41.331866][ C1] [ 41.334169][ C1] Memory state around the buggy address: [ 41.339780][ C1] ffff888021294180: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 41.347822][ C1] ffff888021294200: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 41.355871][ C1] >ffff888021294280: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 41.364433][ C1] ^ [ 41.371870][ C1] ffff888021294300: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 41.379912][ C1] ffff888021294380: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 41.387951][ C1] ================================================================== [ 41.395988][ C1] Kernel panic - not syncing: panic_on_warn set ... [ 41.402554][ C1] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.19.0-syzkaller-02972-g200e340f2196 #0 [ 41.411909][ C1] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 [ 41.421948][ C1] Call Trace: [ 41.425216][ C1] [ 41.428047][ C1] dump_stack_lvl+0xcd/0x134 [ 41.432629][ C1] panic+0x2d7/0x636 [ 41.436509][ C1] ? panic_print_sys_info.part.0+0x10b/0x10b [ 41.442487][ C1] ? ath9k_hif_usb_rx_cb+0xea7/0x10d0 [ 41.447849][ C1] end_report.part.0+0x3f/0x7c [ 41.452601][ C1] kasan_report.cold+0x93/0x1c6 [ 41.457441][ C1] ? ath9k_hif_usb_rx_cb+0xea7/0x10d0 [ 41.462803][ C1] ath9k_hif_usb_rx_cb+0xea7/0x10d0 [ 41.467988][ C1] ? psi_cgroup_free+0xf0/0x180 [ 41.472831][ C1] ? hif_usb_start+0xa0/0xa0 [ 41.477407][ C1] ? rwlock_bug.part.0+0x90/0x90 [ 41.482336][ C1] __usb_hcd_giveback_urb+0x2b0/0x5c0 [ 41.487695][ C1] usb_hcd_giveback_urb+0x367/0x410 [ 41.492879][ C1] dummy_timer+0x11f9/0x32b0 [ 41.497472][ C1] ? dummy_dequeue+0x500/0x500 [ 41.502227][ C1] ? dummy_dequeue+0x500/0x500 [ 41.506977][ C1] call_timer_fn+0x1a5/0x6b0 [ 41.511561][ C1] ? timer_fixup_activate+0x350/0x350 [ 41.516917][ C1] ? lock_downgrade+0x6e0/0x6e0 [ 41.521759][ C1] ? _raw_spin_unlock_irq+0x1f/0x40 [ 41.526946][ C1] ? _raw_spin_unlock_irq+0x1f/0x40 [ 41.532130][ C1] ? dummy_dequeue+0x500/0x500 [ 41.536886][ C1] __run_timers.part.0+0x679/0xa80 [ 41.542072][ C1] ? call_timer_fn+0x6b0/0x6b0 [ 41.546837][ C1] ? __wake_up_locked_sync_key+0x20/0x20 [ 41.552457][ C1] ? kvm_sched_clock_read+0x14/0x40 [ 41.557642][ C1] ? sched_clock_cpu+0x69/0x2b0 [ 41.562482][ C1] run_timer_softirq+0xb3/0x1d0 [ 41.567320][ C1] __do_softirq+0x29b/0x9c2 [ 41.571818][ C1] __irq_exit_rcu+0x123/0x180 [ 41.576484][ C1] irq_exit_rcu+0x5/0x20 [ 41.580708][ C1] sysvec_apic_timer_interrupt+0x93/0xc0 [ 41.586331][ C1] [ 41.589246][ C1] [ 41.592161][ C1] asm_sysvec_apic_timer_interrupt+0x16/0x20 [ 41.598128][ C1] RIP: 0010:acpi_idle_do_entry+0x1c9/0x240 [ 41.603920][ C1] Code: 89 de e8 9a d3 ff f7 84 db 75 98 e8 91 d7 ff f7 e8 fc 26 06 f8 eb 0c e8 85 d7 ff f7 0f 00 2d fe 24 b9 00 e8 79 d7 ff f7 fb f4 <9c> 5b 81 e3 00 02 00 00 fa 31 ff 48 89 de e8 c4 d3 ff f7 48 85 db [ 41.623515][ C1] RSP: 0018:ffffc90000177d20 EFLAGS: 00000293 [ 41.629567][ C1] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 41.637526][ C1] RDX: ffff888011b09d80 RSI: ffffffff897b0247 RDI: 0000000000000000 [ 41.645485][ C1] RBP: ffff8880174a8864 R08: 0000000000000001 R09: 0000000000000001 [ 41.653442][ C1] R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000001 [ 41.661483][ C1] R13: ffff8880174a8800 R14: ffff8880174a8864 R15: ffff8880187ca004 [ 41.669444][ C1] ? acpi_idle_do_entry+0x1c7/0x240 [ 41.674641][ C1] acpi_idle_enter+0x369/0x510 [ 41.679391][ C1] cpuidle_enter_state+0x1b1/0xc80 [ 41.684494][ C1] cpuidle_enter+0x4a/0xa0 [ 41.688898][ C1] do_idle+0x3e8/0x590 [ 41.692954][ C1] ? arch_cpu_idle_exit+0x30/0x30 [ 41.697973][ C1] cpu_startup_entry+0x14/0x20 [ 41.702721][ C1] start_secondary+0x21d/0x2b0 [ 41.707477][ C1] ? set_cpu_sibling_map+0x1ef0/0x1ef0 [ 41.712926][ C1] secondary_startup_64_no_verify+0xce/0xdb [ 41.718814][ C1] [ 41.722638][ C1] Kernel Offset: disabled [ 41.726948][ C1] Rebooting in 86400 seconds..