general protection fault, probably for non-canonical address 0xdffffc000000000d: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000068-0x000000000000006f] CPU: 0 PID: 9 Comm: kworker/0:1H Not tainted 5.18.0-rc7-syzkaller-00015-gef1302160bfb #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 Workqueue: events_highpri snd_usbmidi_out_work RIP: 0010:__lock_acquire+0xd85/0x56c0 kernel/locking/lockdep.c:4899 Code: 1f 0e 41 be 01 00 00 00 0f 86 c8 00 00 00 89 05 a1 a0 1f 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 64 27 8f 0f 84 4f f3 ff RSP: 0018:ffffc900005cf8e8 EFLAGS: 00010002 RAX: dffffc0000000000 RBX: 0000000000000068 RCX: 0000000000000000 RDX: 000000000000000d RSI: 0000000000000000 RDI: 0000000000000068 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff888011860240 R14: 0000000000000000 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff88802ca00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0671f9d090 CR3: 0000000070150000 CR4: 0000000000150ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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 snd_rawmidi_transmit+0x47/0xf0 sound/core/rawmidi.c:1407 snd_usbmidi_standard_output+0x264/0xc10 sound/usb/midi.c:650 snd_usbmidi_do_output+0x200/0x510 sound/usb/midi.c:311 process_one_work+0x996/0x1610 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__lock_acquire+0xd85/0x56c0 kernel/locking/lockdep.c:4899 Code: 1f 0e 41 be 01 00 00 00 0f 86 c8 00 00 00 89 05 a1 a0 1f 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 64 27 8f 0f 84 4f f3 ff RSP: 0018:ffffc900005cf8e8 EFLAGS: 00010002 RAX: dffffc0000000000 RBX: 0000000000000068 RCX: 0000000000000000 RDX: 000000000000000d RSI: 0000000000000000 RDI: 0000000000000068 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff888011860240 R14: 0000000000000000 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff88802ca00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0671f9d090 CR3: 0000000070150000 CR4: 0000000000150ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- 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 a1 a0 1f 0e mov %eax,0xe1fa0a1(%rip) # 0xe1fa0b3 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 64 27 8f cmpq $0xffffffff8f276420,(%rbx) 39: 0f .byte 0xf 3a: 84 4f f3 test %cl,-0xd(%rdi) 3d: ff .byte 0xff