general protection fault, probably for non-canonical address 0xdffffc0000000182: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000c10-0x0000000000000c17]
CPU: 0 PID: 16177 Comm: syz-executor.0 Not tainted 5.15.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__ref_is_percpu include/linux/percpu-refcount.h:174 [inline]
RIP: 0010:percpu_ref_put_many include/linux/percpu-refcount.h:319 [inline]
RIP: 0010:percpu_ref_put+0x93/0x1d0 include/linux/percpu-refcount.h:338
Code: 01 48 c7 c7 40 59 52 8a be b1 02 00 00 48 c7 c2 80 59 52 8a e8 de 18 e9 ff 49 bd 00 00 00 00 00 fc ff df 48 89 d8 48 c1 e8 03 <42> 80 3c 28 00 74 08 48 89 df e8 1e 75 52 00 48 8b 2b 48 89 ee 48
RSP: 0018:ffffc90000007b30 EFLAGS: 00010206
RAX: 0000000000000182 RBX: 0000000000000c10 RCX: ffff88807efc9c80
RDX: 0000000080000101 RSI: 0000000000000004 RDI: ffff8880b9c32508
RBP: 000000000000003b R08: dffffc0000000000 R09: ffffed10173864a2
R10: ffffed10173864a2 R11: 0000000000000000 R12: ffff88806e4bc000
R13: dffffc0000000000 R14: 0000000000000000 R15: dffffc0000000000
FS: 00007f877c2d1700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f10252b59a0 CR3: 000000002a4ba000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
cgroup_bpf_put include/linux/cgroup.h:926 [inline]
cgroup_sk_free+0x3c/0xa0 kernel/cgroup/cgroup.c:6613
sk_prot_free net/core/sock.c:1852 [inline]
__sk_destruct+0x541/0x820 net/core/sock.c:1943
call_timer_fn+0xf6/0x210 kernel/time/timer.c:1421
expire_timers kernel/time/timer.c:1466 [inline]
__run_timers+0x71a/0x910 kernel/time/timer.c:1734
run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1747
__do_softirq+0x392/0x7a3 kernel/softirq.c:558
__irq_exit_rcu+0xec/0x170 kernel/softirq.c:636
irq_exit_rcu+0x5/0x20 kernel/softirq.c:648
sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1097
asm_sysvec_apic_timer_interrupt+0x12/0x20
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0xd4/0x130 kernel/locking/spinlock.c:194
Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 12 55 d2 f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 37 d4 5d f7 65 8b 05 f8 72 06 76 85 c0 74 3f 48 c7 04 24 0e 36
RSP: 0018:ffffc9000c40f700 EFLAGS: 00000206
RAX: 11c7508b7f1d7900 RBX: 1ffff92001881ee4 RCX: ffffffff816483c1
RDX: dffffc0000000000 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffffc9000c40f790 R08: dffffc0000000000 R09: fffffbfff1fa31ea
R10: fffffbfff1fa31ea R11: 0000000000000000 R12: dffffc0000000000
R13: 1ffff92001881ee0 R14: ffffc9000c40f720 R15: 0000000000000246
spin_unlock_irqrestore include/linux/spinlock.h:418 [inline]
snd_seq_timer_get_cur_time+0x30c/0x3e0 sound/core/seq/seq_timer.c:456
snd_seq_check_queue+0x311/0x5d0 sound/core/seq/seq_queue.c:269
snd_seq_enqueue_event+0x396/0x570 sound/core/seq/seq_queue.c:334
snd_seq_client_enqueue_event+0x357/0x510 sound/core/seq/seq_clientmgr.c:976
snd_seq_write+0x6f7/0xad0 sound/core/seq/seq_clientmgr.c:1096
vfs_write+0x327/0xe90 fs/read_write.c:592
ksys_write+0x18f/0x2c0 fs/read_write.c:647
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f877ed5a709
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f877c2d1188 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f877ee5ef60 RCX: 00007f877ed5a709
RDX: 00000000fffffee4 RSI: 00000000200000c0 RDI: 0000000000000004
RBP: 00007f877edb4cb4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fffa31294af R14: 00007f877c2d1300 R15: 0000000000022000
Modules linked in:
---[ end trace 0ec04b7407208658 ]---
RIP: 0010:__ref_is_percpu include/linux/percpu-refcount.h:174 [inline]
RIP: 0010:percpu_ref_put_many include/linux/percpu-refcount.h:319 [inline]
RIP: 0010:percpu_ref_put+0x93/0x1d0 include/linux/percpu-refcount.h:338
Code: 01 48 c7 c7 40 59 52 8a be b1 02 00 00 48 c7 c2 80 59 52 8a e8 de 18 e9 ff 49 bd 00 00 00 00 00 fc ff df 48 89 d8 48 c1 e8 03 <42> 80 3c 28 00 74 08 48 89 df e8 1e 75 52 00 48 8b 2b 48 89 ee 48
RSP: 0018:ffffc90000007b30 EFLAGS: 00010206
RAX: 0000000000000182 RBX: 0000000000000c10 RCX: ffff88807efc9c80
RDX: 0000000080000101 RSI: 0000000000000004 RDI: ffff8880b9c32508
RBP: 000000000000003b R08: dffffc0000000000 R09: ffffed10173864a2
R10: ffffed10173864a2 R11: 0000000000000000 R12: ffff88806e4bc000
R13: dffffc0000000000 R14: 0000000000000000 R15: dffffc0000000000
FS: 00007f877c2d1700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f10252b59a0 CR3: 000000002a4ba000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 1 bytes skipped:
0: 48 c7 c7 40 59 52 8a mov $0xffffffff8a525940,%rdi
7: be b1 02 00 00 mov $0x2b1,%esi
c: 48 c7 c2 80 59 52 8a mov $0xffffffff8a525980,%rdx
13: e8 de 18 e9 ff callq 0xffe918f6
18: 49 bd 00 00 00 00 00 movabs $0xdffffc0000000000,%r13
1f: fc ff df
22: 48 89 d8 mov %rbx,%rax
25: 48 c1 e8 03 shr $0x3,%rax
* 29: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) <-- trapping instruction
2e: 74 08 je 0x38
30: 48 89 df mov %rbx,%rdi
33: e8 1e 75 52 00 callq 0x527556
38: 48 8b 2b mov (%rbx),%rbp
3b: 48 89 ee mov %rbp,%rsi
3e: 48 rex.W