general protection fault, probably for non-canonical address 0xdffffc00000001f5: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000fa8-0x0000000000000faf]
CPU: 1 PID: 8752 Comm: syz-executor.5 Not tainted 5.19.0-rc7-syzkaller-00199-g8288c99fc263 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
RIP: 0010:ath9k_hif_usb_rx_stream drivers/net/wireless/ath/ath9k/hif_usb.c:642 [inline]
RIP: 0010:ath9k_hif_usb_rx_cb+0x87a/0x10d0 drivers/net/wireless/ath/ath9k/hif_usb.c:686
Code: 00 00 00 48 8d 78 08 48 89 fa 48 c1 ea 03 80 3c 1a 00 0f 85 b8 05 00 00 48 8b 40 08 48 8d b8 a8 0f 00 00 48 89 fa 48 c1 ea 03 <0f> b6 14 1a 84 d2 74 09 80 fa 03 0f 8e 0f 06 00 00 83 80 a8 0f 00
RSP: 0018:ffffc90000178920 EFLAGS: 00010006
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffffc90000e02000
RDX: 00000000000001f5 RSI: ffffffff8329e212 RDI: 0000000000000fa8
RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000004
R13: 0000000000000000 R14: 0000000000000000 R15: ffff8881378bb500
FS: 00007ff0c4ccc700(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe8fe91b000 CR3: 000000013881b000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__usb_hcd_giveback_urb+0x2b0/0x5c0 drivers/usb/core/hcd.c:1670
usb_hcd_giveback_urb+0x380/0x430 drivers/usb/core/hcd.c:1753
dummy_timer+0x11f9/0x32b0 drivers/usb/gadget/udc/dummy_hcd.c:1988
call_timer_fn+0x1a5/0x6b0 kernel/time/timer.c:1474
expire_timers kernel/time/timer.c:1519 [inline]
__run_timers.part.0+0x679/0xa80 kernel/time/timer.c:1790
__run_timers kernel/time/timer.c:1768 [inline]
run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1803
__do_softirq+0x288/0x9a5 kernel/softirq.c:571
invoke_softirq kernel/softirq.c:445 [inline]
__irq_exit_rcu+0x113/0x170 kernel/softirq.c:650
irq_exit_rcu+0x5/0x20 kernel/softirq.c:662
sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1106
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:memory_is_nonzero mm/kasan/generic.c:101 [inline]
RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:128 [inline]
RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline]
RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline]
RIP: 0010:kasan_check_range+0x5c/0x180 mm/kasan/generic.c:189
Code: e9 01 48 89 fd 48 b8 00 00 00 00 00 fc ff df 4d 89 ca 48 c1 ed 03 49 c1 ea 03 48 01 c5 49 01 c2 48 89 e8 49 8d 5a 01 48 89 da <48> 29 ea 48 83 fa 10 7e 63 41 89 eb 41 83 e3 07 75 74 4c 8d 5a 07
RSP: 0018:ffffc9000d207408 EFLAGS: 00000286
RAX: fffffbfff11ba7e2 RBX: fffffbfff11ba7e3 RCX: ffffffff8129a5a1
RDX: fffffbfff11ba7e3 RSI: 0000000000000008 RDI: ffffffff88dd3f10
RBP: fffffbfff11ba7e2 R08: 0000000000000000 R09: ffffffff88dd3f17
R10: fffffbfff11ba7e2 R11: 0000000000000001 R12: ffffffff87a95140
R13: 1ffff92001a40e9e R14: 000000000000000f R15: dffffc0000000000
instrument_atomic_read include/linux/instrumented.h:71 [inline]
test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline]
cpumask_test_cpu include/linux/cpumask.h:379 [inline]
cpu_online include/linux/cpumask.h:921 [inline]
trace_lock_release include/trace/events/lock.h:69 [inline]
lock_release+0xa1/0x780 kernel/locking/lockdep.c:5676
__mem_cgroup_uncharge_list+0xb4/0x140 mm/memcontrol.c:6938
mem_cgroup_uncharge_list include/linux/memcontrol.h:716 [inline]
release_pages+0x85e/0x20f0 mm/swap.c:979
__pagevec_release+0x77/0x100 mm/swap.c:1000
pagevec_release include/linux/pagevec.h:82 [inline]
folio_batch_release include/linux/pagevec.h:146 [inline]
shmem_undo_range+0x6d4/0x1560 mm/shmem.c:956
shmem_truncate_range mm/shmem.c:1044 [inline]
shmem_setattr+0x59f/0x8f0 mm/shmem.c:1109
notify_change+0xb8c/0x12b0 fs/attr.c:424
do_truncate+0x13c/0x200 fs/open.c:65
handle_truncate fs/namei.c:3176 [inline]
do_open fs/namei.c:3524 [inline]
path_openat+0x21dc/0x2910 fs/namei.c:3653
do_filp_open+0x1aa/0x400 fs/namei.c:3680
do_sys_openat2+0x16d/0x4c0 fs/open.c:1278
do_sys_open fs/open.c:1294 [inline]
__do_sys_openat fs/open.c:1310 [inline]
__se_sys_openat fs/open.c:1305 [inline]
__x64_sys_openat+0x13f/0x1f0 fs/open.c:1305
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7ff0c5509124
Code: 84 00 00 00 00 00 44 89 54 24 0c e8 96 f9 ff ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 c8 f9 ff ff 8b 44
RSP: 002b:00007ff0c4ccbca0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 00007ff0c5509124
RDX: 0000000000000641 RSI: 00007ff0c4ccbd40 RDI: 00000000ffffff9c
RBP: 00007ff0c4ccbd40 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000641
R13: 00007fff830b941f R14: 00007ff0c4ccc300 R15: 0000000000022000
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ath9k_hif_usb_rx_stream drivers/net/wireless/ath/ath9k/hif_usb.c:642 [inline]
RIP: 0010:ath9k_hif_usb_rx_cb+0x87a/0x10d0 drivers/net/wireless/ath/ath9k/hif_usb.c:686
Code: 00 00 00 48 8d 78 08 48 89 fa 48 c1 ea 03 80 3c 1a 00 0f 85 b8 05 00 00 48 8b 40 08 48 8d b8 a8 0f 00 00 48 89 fa 48 c1 ea 03 <0f> b6 14 1a 84 d2 74 09 80 fa 03 0f 8e 0f 06 00 00 83 80 a8 0f 00
RSP: 0018:ffffc90000178920 EFLAGS: 00010006
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffffc90000e02000
RDX: 00000000000001f5 RSI: ffffffff8329e212 RDI: 0000000000000fa8
RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000004
R13: 0000000000000000 R14: 0000000000000000 R15: ffff8881378bb500
FS: 00007ff0c4ccc700(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe8fe91b000 CR3: 000000013881b000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 00 00 add %al,(%rax)
2: 00 48 8d add %cl,-0x73(%rax)
5: 78 08 js 0xf
7: 48 89 fa mov %rdi,%rdx
a: 48 c1 ea 03 shr $0x3,%rdx
e: 80 3c 1a 00 cmpb $0x0,(%rdx,%rbx,1)
12: 0f 85 b8 05 00 00 jne 0x5d0
18: 48 8b 40 08 mov 0x8(%rax),%rax
1c: 48 8d b8 a8 0f 00 00 lea 0xfa8(%rax),%rdi
23: 48 89 fa mov %rdi,%rdx
26: 48 c1 ea 03 shr $0x3,%rdx
* 2a: 0f b6 14 1a movzbl (%rdx,%rbx,1),%edx <-- trapping instruction
2e: 84 d2 test %dl,%dl
30: 74 09 je 0x3b
32: 80 fa 03 cmp $0x3,%dl
35: 0f 8e 0f 06 00 00 jle 0x64a
3b: 83 .byte 0x83
3c: 80 .byte 0x80
3d: a8 0f test $0xf,%al