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: 5119 Comm: syz-executor.0 Not tainted 6.2.0-rc3-syzkaller-00165-gd9fc1511728c #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 ee 50 f7 f7 e9 39 ff ff ff 48 89 df e8 e1 50 f7 f7 eb e0 e8 1a 4e a9 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 00 83 d0 8a 48 81
RSP: 0018:ffffc90000007a58 EFLAGS: 00010086
RAX: dffffc0000000000 RBX: ffff88807ecc5500 RCX: ffffc90002101000
RDX: 0000000000000000 RSI: ffffffff89d80476 RDI: 0000000000000005
RBP: ffffc9000460ee70 R08: 0000000000000005 R09: 0000000000000000
R10: ffffffffffffffb9 R11: 0000000000000001 R12: ffffffffffffffb9
R13: 0000000000000000 R14: 0100000000000004 R15: 00000000ffffffb9
FS: 0000555555b36400(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555555b3f848 CR3: 000000004c89a000 CR4: 00000000003526f0
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/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+0x326/0x910 kernel/time/timer.c:2035
__do_softirq+0x1fb/0xadc 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:core_kernel_text+0xd/0xa0 kernel/extable.c:67
Code: 30 1b 00 48 85 c0 75 f1 48 89 ef 5d e9 fc 24 3b 00 66 66 2e 0f 1f 84 00 00 00 00 00 90 66 0f 1f 00 48 81 ff 00 00 00 81 41 54 <53> 48 89 fb 72 09 48 81 ff 00 00 40 8a 72 5b 48 89 df e8 8c dc ac
RSP: 0018:ffffc90003faf618 EFLAGS: 00000206
RAX: dffffc0000000000 RBX: ffffffff83ca771d RCX: 0000000000000000
RDX: 1ffff920007f5ed6 RSI: ffffc90003fafae8 RDI: ffffffff83ca771d
RBP: ffffffff83ca771d R08: ffffffff8f261c84 R09: ffffc90003faf69c
R10: fffff520007f5ed8 R11: ffffc90003fafb10 R12: ffffc90003faf720
R13: 0000000000000000 R14: ffff88807b7a8000 R15: ffffea0001f8ee00
kernel_text_address+0x11/0x80 kernel/extable.c:99
__kernel_text_address+0xd/0x30 kernel/extable.c:79
unwind_get_return_address arch/x86/kernel/unwind_orc.c:342 [inline]
unwind_get_return_address+0x55/0xa0 arch/x86/kernel/unwind_orc.c:337
arch_stack_walk+0x97/0xf0 arch/x86/kernel/stacktrace.c:26
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_save_free_info+0x2e/0x40 mm/kasan/generic.c:518
____kasan_slab_free mm/kasan/common.c:236 [inline]
____kasan_slab_free+0x160/0x1c0 mm/kasan/common.c:200
kasan_slab_free include/linux/kasan.h:177 [inline]
slab_free_hook mm/slub.c:1781 [inline]
slab_free_freelist_hook+0x8b/0x1c0 mm/slub.c:1807
slab_free mm/slub.c:3787 [inline]
__kmem_cache_free+0xaf/0x3b0 mm/slub.c:3800
tomoyo_realpath_from_path+0x190/0x600 security/tomoyo/realpath.c:286
tomoyo_get_realpath security/tomoyo/file.c:151 [inline]
tomoyo_path_perm+0x22d/0x430 security/tomoyo/file.c:822
tomoyo_path_unlink+0x92/0xd0 security/tomoyo/tomoyo.c:161
security_path_unlink+0xdb/0x150 security/security.c:1203
do_unlinkat+0x363/0x640 fs/namei.c:4316
__do_sys_unlink fs/namei.c:4368 [inline]
__se_sys_unlink fs/namei.c:4366 [inline]
__x64_sys_unlink+0xca/0x110 fs/namei.c:4366
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:0x7fdec508ba37
Code: 73 01 c3 48 c7 c1 b8 ff ff ff 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 57 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fdec52cec78 EFLAGS: 00000206 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fdec508ba37
RDX: 00007fdec52cecb0 RSI: 00007fdec52cecb0 RDI: 00007fdec52ced40
RBP: 00007fdec52ced40 R08: 0000000000000001 R09: 00007fdec52ceb10
R10: 0000555555b378c3 R11: 0000000000000206 R12: 00007fdec50e6b24
R13: 00007fdec52cfe00 R14: 0000555555b37810 R15: 00007fdec52cfe40
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:pn533_out_complete.cold+0x15/0x44 drivers/nfc/pn533/usb.c:441
Code: df e8 ee 50 f7 f7 e9 39 ff ff ff 48 89 df e8 e1 50 f7 f7 eb e0 e8 1a 4e a9 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 00 83 d0 8a 48 81
RSP: 0018:ffffc90000007a58 EFLAGS: 00010086
RAX: dffffc0000000000 RBX: ffff88807ecc5500 RCX: ffffc90002101000
RDX: 0000000000000000 RSI: ffffffff89d80476 RDI: 0000000000000005
RBP: ffffc9000460ee70 R08: 0000000000000005 R09: 0000000000000000
R10: ffffffffffffffb9 R11: 0000000000000001 R12: ffffffffffffffb9
R13: 0000000000000000 R14: 0100000000000004 R15: 00000000ffffffb9
FS: 0000555555b36400(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555555b3f848 CR3: 000000004c89a000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: df e8 fucomip %st(0),%st
2: ee out %al,(%dx)
3: 50 push %rax
4: f7 f7 div %edi
6: e9 39 ff ff ff jmpq 0xffffff44
b: 48 89 df mov %rbx,%rdi
e: e8 e1 50 f7 f7 callq 0xf7f750f4
13: eb e0 jmp 0xfffffff5
15: e8 1a 4e a9 f7 callq 0xf7a94e34
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 00 83 d0 8a mov $0xffffffff8ad08300,%rsi
3e: 48 rex.W
3f: 81 .byte 0x81