general protection fault, probably for non-canonical address 0xdffffc00000001f2: 0000 [#1] SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000f90-0x0000000000000f97] CPU: 0 PID: 9096 Comm: syz-executor.2 Not tainted 5.8.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ath9k_hif_usb_rx_stream drivers/net/wireless/ath/ath9k/hif_usb.c:627 [inline] RIP: 0010:ath9k_hif_usb_rx_cb+0x843/0xf80 drivers/net/wireless/ath/ath9k/hif_usb.c:671 Code: 00 00 00 49 8d 7f 08 48 89 f8 48 c1 e8 03 80 3c 28 00 0f 85 51 05 00 00 4d 8b 7f 08 49 8d bf 90 0f 00 00 48 89 f8 48 c1 e8 03 <0f> b6 04 28 84 c0 74 08 3c 03 0f 8e 25 05 00 00 48 8b 44 24 30 0f RSP: 0018:ffff8881db209920 EFLAGS: 00010002 RAX: 00000000000001f2 RBX: 000000000000001a RCX: ffffc900004a7000 RDX: 0000000000040000 RSI: ffffffff82e1f88b RDI: 0000000000000f90 RBP: dffffc0000000000 R08: 0000000000000001 R09: ffff8881cdd111e3 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 000000000000001a R14: ffff8881d30e1000 R15: 0000000000000000 FS: 00007f4235156700(0000) GS:ffff8881db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6cb8765740 CR3: 00000001cb163000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __usb_hcd_giveback_urb+0x32d/0x560 drivers/usb/core/hcd.c:1650 usb_hcd_giveback_urb+0x367/0x410 drivers/usb/core/hcd.c:1716 dummy_timer+0x11f2/0x3240 drivers/usb/gadget/udc/dummy_hcd.c:1967 call_timer_fn+0x1ac/0x6e0 kernel/time/timer.c:1404 expire_timers kernel/time/timer.c:1449 [inline] __run_timers.part.0+0x54c/0x9e0 kernel/time/timer.c:1773 __run_timers kernel/time/timer.c:1745 [inline] run_timer_softirq+0x80/0x120 kernel/time/timer.c:1786 __do_softirq+0x222/0x95b kernel/softirq.c:292 asm_call_on_stack+0xf/0x20 arch/x86/entry/entry_64.S:711 __run_on_irqstack arch/x86/include/asm/irq_stack.h:22 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:48 [inline] do_softirq_own_stack+0xed/0x140 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:387 [inline] __irq_exit_rcu kernel/softirq.c:417 [inline] irq_exit_rcu+0x150/0x1f0 kernel/softirq.c:429 sysvec_apic_timer_interrupt+0x49/0xc0 arch/x86/kernel/apic/apic.c:1091 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:596 RIP: 0010:dump_stack+0x15a/0x16e lib/dump_stack.c:124 Code: 02 00 00 48 89 ee e8 33 7c 4c ff 48 85 ed 75 0e e8 89 7f 4c ff 53 9d e8 e2 04 52 ff eb 0c e8 7b 7f 4c ff e8 c6 0a 52 ff 53 9d <5b> 5d 41 5c 41 5d 41 5e e9 67 7f 4c ff cc cc cc cc cc cc cc 41 57 RSP: 0018:ffff8881c7937338 EFLAGS: 00000212 RAX: 00000000000004a7 RBX: 0000000000000212 RCX: 0000000000000006 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff81f3226a RBP: 0000000000000200 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 00000000ffffffff R13: 0000000000000000 R14: 00000000ffffffff R15: 0000000000000000 fail_dump lib/fault-inject.c:52 [inline] should_fail.cold+0x5/0x14 lib/fault-inject.c:146 should_failslab+0x5/0xf mm/slab_common.c:1790 slab_pre_alloc_hook mm/slab.h:569 [inline] slab_alloc_node mm/slub.c:2748 [inline] slab_alloc mm/slub.c:2832 [inline] __kmalloc+0x208/0x2a0 mm/slub.c:3894 kmalloc include/linux/slab.h:560 [inline] usb_get_status+0x7b/0x290 drivers/usb/core/message.c:1002 usb_get_std_status include/linux/usb.h:1812 [inline] finish_port_resume drivers/usb/core/hub.c:3413 [inline] usb_port_resume+0x123b/0x1830 drivers/usb/core/hub.c:3604 usb_generic_driver_resume+0x40/0xa0 drivers/usb/core/generic.c:308 usb_resume_device drivers/usb/core/driver.c:1228 [inline] usb_resume_both+0x617/0x8a0 drivers/usb/core/driver.c:1452 __rpm_callback+0x27e/0x3c0 drivers/base/power/runtime.c:357 rpm_callback+0x18f/0x230 drivers/base/power/runtime.c:487 rpm_resume+0xe2e/0x1a50 drivers/base/power/runtime.c:849 rpm_resume+0x8c7/0x1a50 drivers/base/power/runtime.c:828 __pm_runtime_resume+0xb7/0x180 drivers/base/power/runtime.c:1080 pm_runtime_get_sync include/linux/pm_runtime.h:236 [inline] usb_autopm_get_interface+0x1b/0x50 drivers/usb/core/driver.c:1753 wdm_open+0x1ff/0x4e0 drivers/usb/class/cdc-wdm.c:653 usb_open+0x1df/0x270 drivers/usb/core/file.c:48 chrdev_open+0x266/0x770 fs/char_dev.c:414 do_dentry_open+0x4ff/0x1170 fs/open.c:828 do_open fs/namei.c:3243 [inline] path_openat+0x192c/0x26b0 fs/namei.c:3360 do_filp_open+0x17e/0x3c0 fs/namei.c:3387 do_sys_openat2+0x16f/0x3b0 fs/open.c:1179 do_sys_open fs/open.c:1195 [inline] ksys_open include/linux/syscalls.h:1388 [inline] __do_sys_open fs/open.c:1201 [inline] __se_sys_open fs/open.c:1199 [inline] __x64_sys_open+0x119/0x1c0 fs/open.c:1199 do_syscall_64+0x50/0x90 arch/x86/entry/common.c:359 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x416921 Code: Bad RIP value. RSP: 002b:00007f42351557a0 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 000000000050c460 RCX: 0000000000416921 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 00007f42351557d0 RBP: 000000000078bf00 R08: 0000000000000000 R09: 000000000000000f R10: 0000000000000064 R11: 0000000000000293 R12: 0000000000000005 R13: 0000000000000c8d R14: 00000000004cecf7 R15: 00007f42351566d4 Modules linked in: ---[ end trace b0c10c63be169495 ]--- RIP: 0010:ath9k_hif_usb_rx_stream drivers/net/wireless/ath/ath9k/hif_usb.c:627 [inline] RIP: 0010:ath9k_hif_usb_rx_cb+0x843/0xf80 drivers/net/wireless/ath/ath9k/hif_usb.c:671 Code: 00 00 00 49 8d 7f 08 48 89 f8 48 c1 e8 03 80 3c 28 00 0f 85 51 05 00 00 4d 8b 7f 08 49 8d bf 90 0f 00 00 48 89 f8 48 c1 e8 03 <0f> b6 04 28 84 c0 74 08 3c 03 0f 8e 25 05 00 00 48 8b 44 24 30 0f RSP: 0018:ffff8881db209920 EFLAGS: 00010002 RAX: 00000000000001f2 RBX: 000000000000001a RCX: ffffc900004a7000 RDX: 0000000000040000 RSI: ffffffff82e1f88b RDI: 0000000000000f90 RBP: dffffc0000000000 R08: 0000000000000001 R09: ffff8881cdd111e3 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 000000000000001a R14: ffff8881d30e1000 R15: 0000000000000000 FS: 00007f4235156700(0000) GS:ffff8881db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6cb8765740 CR3: 00000001cb163000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400