general protection fault, probably for non-canonical address 0xdffffc0000000011: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000088-0x000000000000008f] CPU: 1 PID: 23569 Comm: syz-executor.2 Not tainted 6.4.0-rc5-syzkaller-g18af4b5c9791 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:__lock_acquire+0xe01/0x5f30 kernel/locking/lockdep.c:4956 Code: 00 00 3b 05 01 82 8c 09 0f 87 7a 09 00 00 41 be 01 00 00 00 e9 84 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 <80> 3c 02 00 0f 85 9e 33 00 00 49 81 3c 24 60 23 10 8a 0f 84 cd f2 RSP: 0018:ffffc9000544f800 EFLAGS: 00010006 RAX: dffffc0000000000 RBX: 1ffff92000a89f31 RCX: 0000000000000000 RDX: 0000000000000011 RSI: 0000000000000000 RDI: 0000000000000088 RBP: ffff88811cd81d00 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000088 R13: 0000000000000000 R14: 0000000000000088 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8881f6700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555557071728 CR3: 00000001416d7000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5705 [inline] lock_acquire+0x1b1/0x520 kernel/locking/lockdep.c:5670 __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 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0xaa3/0x2910 kernel/exit.c:874 do_group_exit+0xd4/0x2a0 kernel/exit.c:1024 get_signal+0x2324/0x25c0 kernel/signal.c:2876 arch_do_signal_or_restart+0x79/0x5c0 arch/x86/kernel/signal.c:306 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x116/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:0x7fdef74a7117 Code: Unable to access opcode bytes at 0x7fdef74a70ed. RSP: 002b:00007fdef6818098 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: fffffffffffffffc RBX: 00007fdef6819110 RCX: 00007fdef74a7117 RDX: 00007fdef6819110 RSI: 0000000080085502 RDI: 0000000000000005 RBP: 0000000000000005 R08: 0000000000000012 R09: 00007fdef6818108 R10: 00007fdef6818140 R11: 0000000000000246 R12: 0000000800000000 R13: 0000000000000000 R14: 0000000000000012 R15: 00007fdef74fea4f Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__lock_acquire+0xe01/0x5f30 kernel/locking/lockdep.c:4956 Code: 00 00 3b 05 01 82 8c 09 0f 87 7a 09 00 00 41 be 01 00 00 00 e9 84 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 <80> 3c 02 00 0f 85 9e 33 00 00 49 81 3c 24 60 23 10 8a 0f 84 cd f2 RSP: 0018:ffffc9000544f800 EFLAGS: 00010006 RAX: dffffc0000000000 RBX: 1ffff92000a89f31 RCX: 0000000000000000 RDX: 0000000000000011 RSI: 0000000000000000 RDI: 0000000000000088 RBP: ffff88811cd81d00 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000088 R13: 0000000000000000 R14: 0000000000000088 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8881f6700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555557071728 CR3: 00000001416d7000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 3b 05 01 82 8c 09 cmp 0x98c8201(%rip),%eax # 0x98c8209 8: 0f 87 7a 09 00 00 ja 0x988 e: 41 be 01 00 00 00 mov $0x1,%r14d 14: e9 84 00 00 00 jmpq 0x9d 19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 20: fc ff df 23: 4c 89 e2 mov %r12,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 9e 33 00 00 jne 0x33d2 34: 49 81 3c 24 60 23 10 cmpq $0xffffffff8a102360,(%r12) 3b: 8a 3c: 0f .byte 0xf 3d: 84 cd test %cl,%ch 3f: f2 repnz