general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.2.0-rc5-syzkaller-00917-gc52c9acc415e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:pn533_out_complete.cold+0x15/0x44 drivers/nfc/pn533/usb.c:441 Code: df e8 1c 58 9e fb e9 39 ff ff ff 48 89 df e8 0f 58 9e fb eb e0 e8 e8 99 6a fb 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 80 1f 86 86 48 81 RSP: 0018:ffffc90000178a58 EFLAGS: 00010086 RAX: dffffc0000000000 RBX: ffff88810e966a00 RCX: ffffc90001202000 RDX: 0000000000000000 RSI: ffffffff85dcc2a8 RDI: 0000000000000005 RBP: ffffc900023cee70 R08: 0000000000000005 R09: 0000000000000000 R10: ffffffffffffffb9 R11: 0000000000000001 R12: ffffffffffffffb9 R13: 0000000000000000 R14: 0100000000000004 R15: 00000000ffffffb9 FS: 0000000000000000(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1530eff300 CR3: 0000000139088000 CR4: 00000000003506e0 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+0x380/0x430 drivers/usb/core/hcd.c:1754 dummy_timer+0x11ff/0x32c0 drivers/usb/gadget/udc/dummy_hcd.c:1988 call_timer_fn+0x1da/0x7c0 kernel/time/timer.c:1700 expire_timers+0x2c6/0x5c0 kernel/time/timer.c:1751 __run_timers kernel/time/timer.c:2022 [inline] __run_timers kernel/time/timer.c:1995 [inline] run_timer_softirq+0x322/0x910 kernel/time/timer.c:2035 __do_softirq+0x1e4/0xabb 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:1107 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:29 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline] RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:130 [inline] RIP: 0010:acpi_safe_halt drivers/acpi/processor_idle.c:113 [inline] RIP: 0010:acpi_idle_do_entry+0x1fd/0x2a0 drivers/acpi/processor_idle.c:570 Code: 89 de e8 26 83 45 fb 84 db 75 ac e8 8d 86 45 fb e8 c8 f5 4b fb 66 90 e8 81 86 45 fb 0f 00 2d 4a f7 69 00 e8 75 86 45 fb fb f4 <9c> 5b 81 e3 00 02 00 00 fa 31 ff 48 89 de e8 50 83 45 fb 48 85 db RSP: 0018:ffffc9000010fd10 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff8881002e5400 RSI: ffffffff8601d61b RDI: 0000000000000000 RBP: ffff888108e81064 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000001 R13: ffff888108e81000 R14: ffff888108e81064 R15: ffff88810afc3004 acpi_idle_enter+0x364/0x500 drivers/acpi/processor_idle.c:707 cpuidle_enter_state+0x1ab/0xd30 drivers/cpuidle/cpuidle.c:239 cpuidle_enter+0x4a/0xa0 drivers/cpuidle/cpuidle.c:356 call_cpuidle kernel/sched/idle.c:155 [inline] cpuidle_idle_call kernel/sched/idle.c:236 [inline] do_idle+0x3f7/0x590 kernel/sched/idle.c:303 cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:400 start_secondary+0x252/0x300 arch/x86/kernel/smpboot.c:264 secondary_startup_64_no_verify+0xce/0xdb Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:pn533_out_complete.cold+0x15/0x44 drivers/nfc/pn533/usb.c:441 Code: df e8 1c 58 9e fb e9 39 ff ff ff 48 89 df e8 0f 58 9e fb eb e0 e8 e8 99 6a fb 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 80 1f 86 86 48 81 RSP: 0018:ffffc90000178a58 EFLAGS: 00010086 RAX: dffffc0000000000 RBX: ffff88810e966a00 RCX: ffffc90001202000 RDX: 0000000000000000 RSI: ffffffff85dcc2a8 RDI: 0000000000000005 RBP: ffffc900023cee70 R08: 0000000000000005 R09: 0000000000000000 R10: ffffffffffffffb9 R11: 0000000000000001 R12: ffffffffffffffb9 R13: 0000000000000000 R14: 0100000000000004 R15: 00000000ffffffb9 FS: 0000000000000000(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1530eff300 CR3: 0000000139088000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: df e8 fucomip %st(0),%st 2: 1c 58 sbb $0x58,%al 4: 9e sahf 5: fb sti 6: e9 39 ff ff ff jmpq 0xffffff44 b: 48 89 df mov %rbx,%rdi e: e8 0f 58 9e fb callq 0xfb9e5822 13: eb e0 jmp 0xfffffff5 15: e8 e8 99 6a fb callq 0xfb6a9a02 1a: 4c 89 ea mov %r13,%rdx 1d: b8 ff ff 37 00 mov $0x37ffff,%eax 22: 48 c1 ea 03 shr $0x3,%rdx 26: 48 c1 e0 2a shl $0x2a,%rax * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 75 1f jne 0x4f 30: 49 8b 7d 00 mov 0x0(%r13),%rdi 34: 44 89 e2 mov %r12d,%edx 37: 48 c7 c6 80 1f 86 86 mov $0xffffffff86861f80,%rsi 3e: 48 rex.W 3f: 81 .byte 0x81