general protection fault, probably for non-canonical address 0xdffffc0000000011: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000088-0x000000000000008f] CPU: 0 PID: 5545 Comm: syz-executor.1 Not tainted 6.3.0-rc4-syzkaller-g97318d6427f6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 RIP: 0010:__lock_acquire+0xd80/0x5d40 kernel/locking/lockdep.c:4926 Code: 5f 09 41 be 01 00 00 00 0f 86 8e 00 00 00 89 05 c6 54 5f 09 e9 83 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 <80> 3c 02 00 0f 85 c5 32 00 00 48 81 3b e0 32 e2 89 0f 84 52 f3 ff RSP: 0018:ffffc900065cfb20 EFLAGS: 00010006 RAX: dffffc0000000000 RBX: 0000000000000088 RCX: 0000000000000000 RDX: 0000000000000011 RSI: 0000000000000000 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffff88811c798000 R14: 0000000000000000 R15: 0000000000000001 FS: 0000555556aa1400(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2dd3a000 CR3: 0000000112e88000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5669 [inline] lock_acquire+0x1af/0x520 kernel/locking/lockdep.c:5634 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x3d/0x60 kernel/locking/spinlock.c:162 hidraw_release+0xcd/0x4c0 drivers/hid/hidraw.c:352 __fput+0x27c/0xa90 fs/file_table.c:321 task_work_run+0x16f/0x270 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x1e4/0x1f0 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:297 do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f8730c77fab Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44 RSP: 002b:00007ffd71bcbaa0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000006 RCX: 00007f8730c77fab RDX: 0000000000000000 RSI: 00007f873003a008 RDI: 0000000000000005 RBP: 00007f8730de7980 R08: 0000000000000000 R09: 000000006da0a6c5 R10: 0000000000000000 R11: 0000000000000293 R12: 000000000001fe20 R13: 00007ffd71bcbba0 R14: 00007f8730de6120 R15: 000000000000015e Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__lock_acquire+0xd80/0x5d40 kernel/locking/lockdep.c:4926 Code: 5f 09 41 be 01 00 00 00 0f 86 8e 00 00 00 89 05 c6 54 5f 09 e9 83 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 <80> 3c 02 00 0f 85 c5 32 00 00 48 81 3b e0 32 e2 89 0f 84 52 f3 ff RSP: 0018:ffffc900065cfb20 EFLAGS: 00010006 RAX: dffffc0000000000 RBX: 0000000000000088 RCX: 0000000000000000 RDX: 0000000000000011 RSI: 0000000000000000 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffff88811c798000 R14: 0000000000000000 R15: 0000000000000001 FS: 0000555556aa1400(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2dd3a000 CR3: 0000000112e88000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 5f pop %rdi 1: 09 41 be or %eax,-0x42(%rcx) 4: 01 00 add %eax,(%rax) 6: 00 00 add %al,(%rax) 8: 0f 86 8e 00 00 00 jbe 0x9c e: 89 05 c6 54 5f 09 mov %eax,0x95f54c6(%rip) # 0x95f54da 14: e9 83 00 00 00 jmpq 0x9c 19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 20: fc ff df 23: 48 89 da mov %rbx,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 c5 32 00 00 jne 0x32f9 34: 48 81 3b e0 32 e2 89 cmpq $0xffffffff89e232e0,(%rbx) 3b: 0f .byte 0xf 3c: 84 52 f3 test %dl,-0xd(%rdx) 3f: ff .byte 0xff