general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 0 PID: 5114 Comm: udevd Not tainted 6.2.0-rc3-next-20230111-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:pn533_out_complete.cold+0x15/0x44 drivers/nfc/pn533/usb.c:441
Code: df e8 32 09 fa f7 e9 39 ff ff ff 48 89 df e8 25 09 fa f7 eb e0 e8 9e 1d ac f7 4c 89 ea b8 ff ff 37 00 48 c1 ea 03 48 c1 e0 2a <80> 3c 02 00 75 1f 49 8b 7d 00 44 89 e2 48 c7 c6 20 bc d0 8a 48 81
RSP: 0018:ffffc90000007a58 EFLAGS: 00010086
RAX: dffffc0000000000 RBX: ffff88802862da00 RCX: ffffc900020b1000
RDX: 0000000000000000 RSI: ffffffff89d5a352 RDI: 0000000000000005
RBP: ffffc90004e6ee70 R08: 0000000000000005 R09: 0000000000000000
R10: ffffffffffffffb9 R11: 0000000000000001 R12: ffffffffffffffb9
R13: 0000000000000000 R14: 0100000000000003 R15: 00000000ffffffb9
FS: 00007f43eeda6840(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5da5b3f180 CR3: 0000000032424000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__usb_hcd_giveback_urb+0x2b6/0x5c0 drivers/usb/core/hcd.c:1671
usb_hcd_giveback_urb+0x384/0x430 drivers/usb/core/hcd.c:1754
dummy_timer+0x1203/0x32d0 drivers/usb/gadget/udc/dummy_hcd.c:1988
call_timer_fn+0x1da/0x800 kernel/time/timer.c:1700
expire_timers+0x234/0x330 kernel/time/timer.c:1751
__run_timers kernel/time/timer.c:2022 [inline]
__run_timers kernel/time/timer.c:1995 [inline]
run_timer_softirq+0x326/0x910 kernel/time/timer.c:2035
__do_softirq+0x1fb/0xaf6 kernel/softirq.c:571
invoke_softirq kernel/softirq.c:445 [inline]
__irq_exit_rcu+0x123/0x180 kernel/softirq.c:650
irq_exit_rcu+0x9/0x20 kernel/softirq.c:662
sysvec_apic_timer_interrupt+0x97/0xc0 arch/x86/kernel/apic/apic.c:1107
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:orc_ip arch/x86/kernel/unwind_orc.c:30 [inline]
RIP: 0010:__orc_find+0x6f/0xf0 arch/x86/kernel/unwind_orc.c:52
Code: 72 4d 4c 89 e0 48 29 e8 48 89 c2 48 c1 e8 3f 48 c1 fa 02 48 01 d0 48 d1 f8 48 8d 5c 85 00 48 89 d8 48 c1 e8 03 42 0f b6 14 38 <48> 89 d8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 48 48 63 03 48 01
RSP: 0018:ffffc9000400f3d8 EFLAGS: 00000a03
RAX: 1ffffffff1d1645b RBX: ffffffff8e8b22dc RCX: ffffffff81e4ab51
RDX: 0000000000000000 RSI: ffffffff8f05f696 RDI: ffffffff8e8b22cc
RBP: ffffffff8e8b22cc R08: ffffffff8c607580 R09: ffffc9000400f4c4
R10: fffff52000801e9d R11: 0000000000094001 R12: ffffffff8e8b22f0
R13: ffffffff8e8b22cc R14: ffffffff8e8b22cc R15: dffffc0000000000
orc_find arch/x86/kernel/unwind_orc.c:193 [inline]
unwind_next_frame+0x2a7/0x1d00 arch/x86/kernel/unwind_orc.c:467
arch_stack_walk+0x81/0xf0 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x90/0xc0 kernel/stacktrace.c:122
kasan_save_stack+0x22/0x40 mm/kasan/common.c:45
kasan_set_track+0x25/0x30 mm/kasan/common.c:52
__kasan_slab_alloc+0x7f/0x90 mm/kasan/common.c:325
kasan_slab_alloc include/linux/kasan.h:186 [inline]
slab_post_alloc_hook mm/slab.h:769 [inline]
slab_alloc_node mm/slub.c:3452 [inline]
slab_alloc mm/slub.c:3460 [inline]
__kmem_cache_alloc_lru mm/slub.c:3467 [inline]
kmem_cache_alloc_lru+0x20e/0x580 mm/slub.c:3483
__d_alloc+0x32/0x980 fs/dcache.c:1769
d_alloc+0x4e/0x240 fs/dcache.c:1849
d_alloc_parallel+0xe8/0x1530 fs/dcache.c:2638
__lookup_slow+0x193/0x460 fs/namei.c:1671
lookup_slow fs/namei.c:1703 [inline]
walk_component+0x33f/0x5a0 fs/namei.c:1994
lookup_last fs/namei.c:2451 [inline]
path_lookupat+0x1ba/0x840 fs/namei.c:2475
filename_lookup+0x1d2/0x590 fs/namei.c:2504
user_path_at_empty+0x46/0x60 fs/namei.c:2877
do_readlinkat+0xcd/0x2f0 fs/stat.c:477
__do_sys_readlink fs/stat.c:510 [inline]
__se_sys_readlink fs/stat.c:507 [inline]
__x64_sys_readlink+0x78/0xb0 fs/stat.c:507
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f43ee927277
Code: 73 01 c3 48 8b 0d 01 dc 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 59 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d d1 db 0c 00 f7 d8 64 89 01 48
RSP: 002b:00007ffe5057e138 EFLAGS: 00000206 ORIG_RAX: 0000000000000059
RAX: ffffffffffffffda RBX: 000055b631aa7130 RCX: 00007f43ee927277
RDX: 0000000000000400 RSI: 00007ffe5057e548 RDI: 00007ffe5057e148
RBP: 00007ffe5057e988 R08: 000055b63152627d R09: 0000000000000000
R10: 00007f43ee9f5a00 R11: 0000000000000206 R12: 0000000000000200
R13: 00007ffe5057e548 R14: 00007ffe5057e148 R15: 000055b631520a7c
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:pn533_out_complete.cold+0x15/0x44 drivers/nfc/pn533/usb.c:441
Code: df e8 32 09 fa f7 e9 39 ff ff ff 48 89 df e8 25 09 fa f7 eb e0 e8 9e 1d ac f7 4c 89 ea b8 ff ff 37 00 48 c1 ea 03 48 c1 e0 2a <80> 3c 02 00 75 1f 49 8b 7d 00 44 89 e2 48 c7 c6 20 bc d0 8a 48 81
RSP: 0018:ffffc90000007a58 EFLAGS: 00010086
RAX: dffffc0000000000 RBX: ffff88802862da00 RCX: ffffc900020b1000
RDX: 0000000000000000 RSI: ffffffff89d5a352 RDI: 0000000000000005
RBP: ffffc90004e6ee70 R08: 0000000000000005 R09: 0000000000000000
R10: ffffffffffffffb9 R11: 0000000000000001 R12: ffffffffffffffb9
R13: 0000000000000000 R14: 0100000000000003 R15: 00000000ffffffb9
FS: 00007f43eeda6840(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5da5b3f180 CR3: 0000000032424000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 1 bytes skipped:
0: e8 32 09 fa f7 callq 0xf7fa0937
5: e9 39 ff ff ff jmpq 0xffffff43
a: 48 89 df mov %rbx,%rdi
d: e8 25 09 fa f7 callq 0xf7fa0937
12: eb e0 jmp 0xfffffff4
14: e8 9e 1d ac f7 callq 0xf7ac1db7
19: 4c 89 ea mov %r13,%rdx
1c: b8 ff ff 37 00 mov $0x37ffff,%eax
21: 48 c1 ea 03 shr $0x3,%rdx
25: 48 c1 e0 2a shl $0x2a,%rax
* 29: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction
2d: 75 1f jne 0x4e
2f: 49 8b 7d 00 mov 0x0(%r13),%rdi
33: 44 89 e2 mov %r12d,%edx
36: 48 c7 c6 20 bc d0 8a mov $0xffffffff8ad0bc20,%rsi
3d: 48 rex.W
3e: 81 .byte 0x81