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: 6271 Comm: kworker/u4:9 Not tainted 6.2.0-rc3-syzkaller-00165-gd9fc1511728c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: bat_events batadv_nc_worker 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: ffff888076a9d400 RCX: ffffc90002121000 RDX: 0000000000000000 RSI: ffffffff89d80476 RDI: 0000000000000005 RBP: ffffc90015ad6e70 R08: 0000000000000005 R09: 0000000000000000 R10: ffffffffffffffb9 R11: 0000000000000001 R12: ffffffffffffffb9 R13: 0000000000000000 R14: 0100000000000002 R15: 00000000ffffffb9 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020163000 CR3: 000000002975e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000000a DR6: 00000000ffff0ff0 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:check_preemption_disabled+0xa/0x170 lib/smp_processor_id.c:13 Code: 1f 44 00 00 0f 0b 0f 1f 44 00 00 5b e9 6f fb ff ff 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 41 56 41 55 49 89 f5 41 54 55 <48> 89 fd 53 0f 1f 44 00 00 65 44 8b 25 31 70 fd 75 65 8b 1d 26 70 RSP: 0018:ffffc900030bfb70 EFLAGS: 00000282 RAX: 0000000000000001 RBX: 0000000000000003 RCX: ffffffff8163f049 RDX: dffffc0000000000 RSI: ffffffff8aa6b900 RDI: ffffffff8aa6b940 RBP: 1ffff92000617f7a R08: 0000000000000000 R09: ffffffff8e72f857 R10: fffffbfff1ce5f0a R11: 0000000000000000 R12: 0000000000000001 R13: ffffffff8aa6b900 R14: 0000000000000000 R15: 0000000000000005 rcu_dynticks_curr_cpu_in_eqs include/linux/context_tracking.h:121 [inline] rcu_is_watching+0x12/0xb0 kernel/rcu/tree.c:713 rcu_read_lock_held_common kernel/rcu/update.c:108 [inline] rcu_read_lock_sched_held+0x20/0x70 kernel/rcu/update.c:123 trace_lock_release include/trace/events/lock.h:69 [inline] lock_release+0x5cf/0x810 kernel/locking/lockdep.c:5679 rcu_lock_release include/linux/rcupdate.h:330 [inline] rcu_read_unlock include/linux/rcupdate.h:797 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] batadv_nc_worker+0x86f/0xfa0 net/batman-adv/network-coding.c:719 process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289 worker_thread+0x669/0x1090 kernel/workqueue.c:2436 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 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: ffff888076a9d400 RCX: ffffc90002121000 RDX: 0000000000000000 RSI: ffffffff89d80476 RDI: 0000000000000005 RBP: ffffc90015ad6e70 R08: 0000000000000005 R09: 0000000000000000 R10: ffffffffffffffb9 R11: 0000000000000001 R12: ffffffffffffffb9 R13: 0000000000000000 R14: 0100000000000002 R15: 00000000ffffffb9 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020163000 CR3: 000000002975e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000000a DR6: 00000000ffff0ff0 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