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: 11908 Comm: syz-executor.1 Not tainted 5.18.0-rc5-syzkaller-00028-ga7391ad35724 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__lock_acquire+0xd85/0x56c0 kernel/locking/lockdep.c:4899 Code: 1d 0e 41 be 01 00 00 00 0f 86 c8 00 00 00 89 05 d1 0f 1d 0e e9 bd 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 15 31 00 00 48 81 3b 20 a4 25 8f 0f 84 4f f3 ff RSP: 0018:ffffc9000b277b90 EFLAGS: 00010006 RAX: dffffc0000000000 RBX: 0000000000000088 RCX: 0000000000000000 RDX: 0000000000000011 RSI: 0000000000000000 RDI: 0000000000000088 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff888021d99d80 R14: 0000000000000000 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0063) knlGS:00000000575c7380 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000000002cb33000 CR3: 0000000052c77000 CR4: 00000000003506f0 Call Trace: lock_acquire kernel/locking/lockdep.c:5641 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5606 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x39/0x50 kernel/locking/spinlock.c:162 hidraw_release+0xca/0x370 drivers/hid/hidraw.c:352 __fput+0x277/0x9d0 fs/file_table.c:317 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:169 [inline] exit_to_user_mode_prepare+0x23c/0x250 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:294 __do_fast_syscall_32+0x72/0xf0 arch/x86/entry/common.c:181 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7f1e549 Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f748fb20 EFLAGS: 00000286 ORIG_RAX: 0000000000000006 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000000002 RDX: 0000000000000000 RSI: 00000000f6f36000 RDI: 0000000000077ae2 RBP: 00000000f6f5c0a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__lock_acquire+0xd85/0x56c0 kernel/locking/lockdep.c:4899 Code: 1d 0e 41 be 01 00 00 00 0f 86 c8 00 00 00 89 05 d1 0f 1d 0e e9 bd 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 15 31 00 00 48 81 3b 20 a4 25 8f 0f 84 4f f3 ff RSP: 0018:ffffc9000b277b90 EFLAGS: 00010006 RAX: dffffc0000000000 RBX: 0000000000000088 RCX: 0000000000000000 RDX: 0000000000000011 RSI: 0000000000000000 RDI: 0000000000000088 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff888021d99d80 R14: 0000000000000000 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0063) knlGS:00000000575c7380 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000000002cb33000 CR3: 0000000052c77000 CR4: 00000000003506f0 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: 41 be 01 00 00 00 mov $0x1,%r14d 6: 0f 86 c8 00 00 00 jbe 0xd4 c: 89 05 d1 0f 1d 0e mov %eax,0xe1d0fd1(%rip) # 0xe1d0fe3 12: e9 bd 00 00 00 jmpq 0xd4 17: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1e: fc ff df 21: 48 89 da mov %rbx,%rdx 24: 48 c1 ea 03 shr $0x3,%rdx * 28: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2c: 0f 85 15 31 00 00 jne 0x3147 32: 48 81 3b 20 a4 25 8f cmpq $0xffffffff8f25a420,(%rbx) 39: 0f .byte 0xf 3a: 84 4f f3 test %cl,-0xd(%rdi) 3d: ff .byte 0xff