Oops: general protection fault, probably for non-canonical address 0xdffffc0000000038: 0000 [#1] SMP KASAN PTI
KASAN: null-ptr-deref in range [0x00000000000001c0-0x00000000000001c7]
CPU: 0 UID: 0 PID: 20377 Comm: syz.1.3788 Not tainted 6.16.0-rc2-syzkaller-00052-g7481a97c5f49 #0 PREEMPT(voluntary)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:__queue_work+0x9d/0x10f0 kernel/workqueue.c:2256
Code: 85 db 0f 84 ae 04 00 00 e8 50 80 34 00 49 8d 86 c0 01 00 00 48 89 c2 48 89 44 24 10 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e e8 0c 00 00 41 8b 9e c0 01 00
RSP: 0018:ffffc90000007a48 EFLAGS: 00010002
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc90001001000
RDX: 0000000000000038 RSI: ffffffff81494c30 RDI: 0000000000000005
RBP: ffff88812730bbd0 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000008
R13: 0000000000000000 R14: 0000000000000000 R15: 0100000000000002
FS: 000055558404a500(0000) GS:ffff888269164000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffc2cf6a808 CR3: 0000000127eca000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
queue_work_on+0x15f/0x1f0 kernel/workqueue.c:2392
queue_work include/linux/workqueue.h:662 [inline]
ieee80211_queue_work net/mac80211/util.c:906 [inline]
ieee80211_queue_work+0x113/0x180 net/mac80211/util.c:899
carl9170_usb_rx_complete+0x275/0x2b0 drivers/net/wireless/ath/carl9170/usb.c:448
__usb_hcd_giveback_urb+0x38d/0x6e0 drivers/usb/core/hcd.c:1650
usb_hcd_giveback_urb+0x39b/0x450 drivers/usb/core/hcd.c:1734
dummy_timer+0x180e/0x3a20 drivers/usb/gadget/udc/dummy_hcd.c:1995
__run_hrtimer kernel/time/hrtimer.c:1761 [inline]
__hrtimer_run_queues+0x202/0xad0 kernel/time/hrtimer.c:1825
hrtimer_run_softirq+0x17d/0x350 kernel/time/hrtimer.c:1842
handle_softirqs+0x205/0x8d0 kernel/softirq.c:579
__do_softirq kernel/softirq.c:613 [inline]
invoke_softirq kernel/softirq.c:453 [inline]
__irq_exit_rcu+0xfa/0x160 kernel/softirq.c:680
irq_exit_rcu+0x9/0x30 kernel/softirq.c:696
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline]
sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1050
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0x31/0x80 kernel/locking/spinlock.c:194
Code: f5 53 48 8b 74 24 10 48 89 fb 48 83 c7 18 e8 d6 d0 28 fa 48 89 df e8 be 24 29 fa f7 c5 00 02 00 00 75 23 9c 58 f6 c4 02 75 37 01 00 00 00 e8 85 97 1c fa 65 8b 05 fe 1d 3a 05 85 c0 74 16 5b
RSP: 0018:ffffc900081dfb30 EFLAGS: 00000246
RAX: 0000000000000002 RBX: ffffffff89c10e20 RCX: 0000000000000006
RDX: 0000000000000000 RSI: ffffffff88b03cf0 RDI: ffffffff8768fc40
RBP: 0000000000000293 R08: 0000000000000001 R09: 0000000000000001
R10: ffffffff8a7ad1d7 R11: 0000000000000001 R12: 1ffff9200103bf6e
R13: ffff88810b39423c R14: ffff8881097ba800 R15: ffff8881097ba818
spin_unlock_irqrestore include/linux/spinlock.h:406 [inline]
usb_hcd_poll_rh_status+0x570/0x7f0 drivers/usb/core/hcd.c:762
dummy_pullup+0x20c/0x270 drivers/usb/gadget/udc/dummy_hcd.c:928
usb_gadget_disconnect_locked+0x13f/0x4e0 drivers/usb/gadget/udc/core.c:777
gadget_unbind_driver+0xd7/0x4e0 drivers/usb/gadget/udc/core.c:1666
device_remove+0xcb/0x170 drivers/base/dd.c:567
__device_release_driver drivers/base/dd.c:1272 [inline]
device_release_driver_internal+0x44b/0x620 drivers/base/dd.c:1295
driver_detach+0xd8/0x1b0 drivers/base/dd.c:1358
bus_remove_driver+0x13b/0x2c0 drivers/base/bus.c:747
driver_unregister+0x76/0xb0 drivers/base/driver.c:277
usb_gadget_unregister_driver+0x49/0x70 drivers/usb/gadget/udc/core.c:1732
raw_release+0x1ae/0x2b0 drivers/usb/gadget/legacy/raw_gadget.c:462
__fput+0x3ff/0xb70 fs/file_table.c:465
task_work_run+0x14d/0x240 kernel/task_work.c:227
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
exit_to_user_mode_loop+0xd5/0xe0 kernel/entry/common.c:114
exit_to_user_mode_prepare include/linux/entry-common.h:330 [inline]
syscall_exit_to_user_mode_work include/linux/entry-common.h:414 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:449 [inline]
do_syscall_64+0x3e9/0x4b0 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7faa90eae929
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffeea7222e8 EFLAGS: 00000246
ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00000000001b90ed RCX: 00007faa90eae929
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007faa910d7ba0 R08: 0000000000000001 R09: 00000005ea7225df
R10: 00007faa90d20000 R11: 0000000000000246 R12: 00007faa910d5fac
R13: 00007faa910d5fa0 R14: ffffffffffffffff R15: 00007ffeea722400
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__queue_work+0x9d/0x10f0 kernel/workqueue.c:2256
Code: 85 db 0f 84 ae 04 00 00 e8 50 80 34 00 49 8d 86 c0 01 00 00 48 89 c2 48 89 44 24 10 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e e8 0c 00 00 41 8b 9e c0 01 00
RSP: 0018:ffffc90000007a48 EFLAGS: 00010002
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc90001001000
RDX: 0000000000000038 RSI: ffffffff81494c30 RDI: 0000000000000005
RBP: ffff88812730bbd0 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000008
R13: 0000000000000000 R14: 0000000000000000 R15: 0100000000000002
FS: 000055558404a500(0000) GS:ffff888269164000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffc2cf6a808 CR3: 0000000127eca000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 85 db test %ebx,%ebx
2: 0f 84 ae 04 00 00 je 0x4b6
8: e8 50 80 34 00 call 0x34805d
d: 49 8d 86 c0 01 00 00 lea 0x1c0(%r14),%rax
14: 48 89 c2 mov %rax,%rdx
17: 48 89 44 24 10 mov %rax,0x10(%rsp)
1c: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
23: fc ff df
26: 48 c1 ea 03 shr $0x3,%rdx
* 2a: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax <-- trapping instruction
2e: 84 c0 test %al,%al
30: 74 08 je 0x3a
32: 3c 03 cmp $0x3,%al
34: 0f 8e e8 0c 00 00 jle 0xd22
3a: 41 rex.B
3b: 8b .byte 0x8b
3c: 9e sahf
3d: c0 01 00 rolb $0x0,(%rcx)