general protection fault, probably for non-canonical address 0xdffffc000000000e: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000070-0x0000000000000077] CPU: 0 PID: 15209 Comm: syz-executor111 Not tainted 6.0.0-syzkaller-09589-g55be6084c8e0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 RIP: 0010:debug_spin_lock_before kernel/locking/spinlock_debug.c:85 [inline] RIP: 0010:do_raw_spin_lock+0x69/0x2a0 kernel/locking/spinlock_debug.c:114 Code: 5f 81 48 8d 14 03 c7 02 f1 f1 f1 f1 c7 42 04 04 f3 f3 f3 48 89 fa 65 48 8b 0c 25 28 00 00 00 48 89 4c 24 60 31 c9 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 da RSP: 0018:ffffc90005c97998 EFLAGS: 00010003 RAX: dffffc0000000000 RBX: 1ffff92000b92f34 RCX: 0000000000000000 RDX: 000000000000000e RSI: 0000000000000008 RDI: 0000000000000074 RBP: 0000000000000070 R08: 0000000000000000 R09: ffffffff8de0c6d7 R10: fffffbfff1bc18da R11: 000000000008c07d R12: 0000000000000246 R13: ffff888026df4028 R14: ffff88807d7aec90 R15: ffff888012743e20 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f7efcce8 CR3: 000000000bc8e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:111 [inline] _raw_spin_lock_irqsave+0x41/0x50 kernel/locking/spinlock.c:162 hidraw_release+0xc9/0x4c0 drivers/hid/hidraw.c:352 __fput+0x27c/0xa90 fs/file_table.c:320 task_work_run+0xdd/0x1a0 kernel/task_work.c:177 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0xb2f/0x2a20 kernel/exit.c:813 do_group_exit+0xd0/0x2a0 kernel/exit.c:943 get_signal+0x21a1/0x2430 kernel/signal.c:2858 arch_do_signal_or_restart+0x82/0x2300 arch/x86/kernel/signal.c:869 exit_to_user_mode_loop kernel/entry/common.c:166 [inline] exit_to_user_mode_prepare+0x15f/0x250 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x19/0x50 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+0x70/0x82 RIP: 0023:0xf7e78549 Code: Unable to access opcode bytes at 0xf7e7851f. RSP: 002b:00000000f7e736ec EFLAGS: 00000296 ORIG_RAX: 00000000000000f0 RAX: fffffffffffffe00 RBX: 00000000f7f38428 RCX: 0000000000000080 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000f7f3842c RBP: 0000000000000081 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000282 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:debug_spin_lock_before kernel/locking/spinlock_debug.c:85 [inline] RIP: 0010:do_raw_spin_lock+0x69/0x2a0 kernel/locking/spinlock_debug.c:114 Code: 5f 81 48 8d 14 03 c7 02 f1 f1 f1 f1 c7 42 04 04 f3 f3 f3 48 89 fa 65 48 8b 0c 25 28 00 00 00 48 89 4c 24 60 31 c9 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 da RSP: 0018:ffffc90005c97998 EFLAGS: 00010003 RAX: dffffc0000000000 RBX: 1ffff92000b92f34 RCX: 0000000000000000 RDX: 000000000000000e RSI: 0000000000000008 RDI: 0000000000000074 RBP: 0000000000000070 R08: 0000000000000000 R09: ffffffff8de0c6d7 R10: fffffbfff1bc18da R11: 000000000008c07d R12: 0000000000000246 R13: ffff888026df4028 R14: ffff88807d7aec90 R15: ffff888012743e20 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f7efcce8 CR3: 000000000bc8e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 5f pop %rdi 1: 81 48 8d 14 03 c7 02 orl $0x2c70314,-0x73(%rax) 8: f1 icebp 9: f1 icebp a: f1 icebp b: f1 icebp c: c7 42 04 04 f3 f3 f3 movl $0xf3f3f304,0x4(%rdx) 13: 48 89 fa mov %rdi,%rdx 16: 65 48 8b 0c 25 28 00 mov %gs:0x28,%rcx 1d: 00 00 1f: 48 89 4c 24 60 mov %rcx,0x60(%rsp) 24: 31 c9 xor %ecx,%ecx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 0f b6 14 02 movzbl (%rdx,%rax,1),%edx <-- trapping instruction 2e: 48 89 f8 mov %rdi,%rax 31: 83 e0 07 and $0x7,%eax 34: 83 c0 03 add $0x3,%eax 37: 38 d0 cmp %dl,%al 39: 7c 08 jl 0x43 3b: 84 d2 test %dl,%dl 3d: 0f .byte 0xf 3e: 85 da test %ebx,%edx