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: 12139 Comm: syz-executor.2 Not tainted 6.2.0-rc8-syzkaller-00127-gdbeed98d89ea #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 RIP: 0010:__lock_acquire+0xd83/0x56d0 kernel/locking/lockdep.c:4925 Code: 3f 0f 41 bf 01 00 00 00 0f 86 c8 00 00 00 89 05 83 ed 3f 0f e9 bd 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 f2 48 c1 ea 03 <80> 3c 02 00 0f 85 4e 31 00 00 49 81 3e e0 35 fa 8f 0f 84 4c f3 ff RSP: 0018:ffffc90003fdfb18 EFLAGS: 00010016 RAX: dffffc0000000000 RBX: 1ffff920007fbf93 RCX: 0000000000000000 RDX: 0000000000000011 RSI: 0000000000000000 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: fffffbfff1ceb3ba R11: 0000000000000000 R12: 0000000000000000 R13: ffff88807ddaba80 R14: 0000000000000088 R15: 0000000000000000 FS: 0000555555fb8400(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056315fd12988 CR3: 00000000539b9000 CR4: 0000000000350ee0 Call Trace: lock_acquire kernel/locking/lockdep.c:5668 [inline] lock_acquire+0x1e3/0x630 kernel/locking/lockdep.c:5633 __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:320 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+0x23c/0x250 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:296 do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f680fa3dfab 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:00007fff3d22f320 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000006 RCX: 00007f680fa3dfab RDX: 00007f680f600460 RSI: ffffffffffffffff RDI: 0000000000000005 RBP: 00007f680fbad980 R08: 0000000000000000 R09: 00007f680f600000 R10: 00007f680f600468 R11: 0000000000000293 R12: 000000000032902e R13: 00007fff3d22f420 R14: 00007f680fbabf80 R15: 0000000000000032 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__lock_acquire+0xd83/0x56d0 kernel/locking/lockdep.c:4925 Code: 3f 0f 41 bf 01 00 00 00 0f 86 c8 00 00 00 89 05 83 ed 3f 0f e9 bd 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 f2 48 c1 ea 03 <80> 3c 02 00 0f 85 4e 31 00 00 49 81 3e e0 35 fa 8f 0f 84 4c f3 ff RSP: 0018:ffffc90003fdfb18 EFLAGS: 00010016 RAX: dffffc0000000000 RBX: 1ffff920007fbf93 RCX: 0000000000000000 RDX: 0000000000000011 RSI: 0000000000000000 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: fffffbfff1ceb3ba R11: 0000000000000000 R12: 0000000000000000 R13: ffff88807ddaba80 R14: 0000000000000088 R15: 0000000000000000 FS: 0000555555fb8400(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056315fd12988 CR3: 00000000539b9000 CR4: 0000000000350ee0 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 0f 41 bf 01 00 00 00 cmovno 0x1(%rdi),%edi 7: 0f 86 c8 00 00 00 jbe 0xd5 d: 89 05 83 ed 3f 0f mov %eax,0xf3fed83(%rip) # 0xf3fed96 13: e9 bd 00 00 00 jmpq 0xd5 18: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1f: fc ff df 22: 4c 89 f2 mov %r14,%rdx 25: 48 c1 ea 03 shr $0x3,%rdx * 29: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2d: 0f 85 4e 31 00 00 jne 0x3181 33: 49 81 3e e0 35 fa 8f cmpq $0xffffffff8ffa35e0,(%r14) 3a: 0f .byte 0xf 3b: 84 4c f3 ff test %cl,-0x1(%rbx,%rsi,8)