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: 22611 Comm: syz-executor.0 Not tainted 6.0.0-rc6-next-20220923-syzkaller #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:ffffc90003557948 EFLAGS: 00010003 RAX: dffffc0000000000 RBX: 1ffff920006aaf2a RCX: 0000000000000000 RDX: 000000000000000e RSI: 0000000000000008 RDI: 0000000000000074 RBP: 0000000000000070 R08: 0000000000000000 R09: ffffffff8de06717 R10: fffffbfff1bc0ce2 R11: 000000000008c07e R12: 0000000000000246 R13: ffff888025d06f28 R14: ffff888085940de0 R15: ffff88813fe0f9a0 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb6af10c843 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+0x16b/0x270 kernel/task_work.c:179 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0xb35/0x2a20 kernel/exit.c:820 do_group_exit+0xd0/0x2a0 kernel/exit.c:950 get_signal+0x21a6/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:168 [inline] exit_to_user_mode_prepare+0x15f/0x250 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:296 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f2c8763d37b Code: Unable to access opcode bytes at 0x7f2c8763d351. RSP: 002b:00007ffd784b6c10 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f2c8763d37b RDX: 0000001b2ee20000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007f2c877ad980 R08: 0000000000000000 R09: 00007ffd78547080 R10: 00007ffd78547090 R11: 0000000000000293 R12: 00000000000b3a1b R13: 00007ffd784b6d10 R14: 00007f2c877ac120 R15: 0000000000000226 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:ffffc90003557948 EFLAGS: 00010003 RAX: dffffc0000000000 RBX: 1ffff920006aaf2a RCX: 0000000000000000 RDX: 000000000000000e RSI: 0000000000000008 RDI: 0000000000000074 RBP: 0000000000000070 R08: 0000000000000000 R09: ffffffff8de06717 R10: fffffbfff1bc0ce2 R11: 000000000008c07e R12: 0000000000000246 R13: ffff888025d06f28 R14: ffff888085940de0 R15: ffff88813fe0f9a0 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb6af10c843 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