Oops: general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN NOPTI
KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]
CPU: 2 UID: 0 PID: 6564 Comm: syz.3.134 Not tainted 6.13.0-rc3-syzkaller-00062-gc061cf420ded #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
RIP: 0010:_compound_head include/linux/page-flags.h:242 [inline]
RIP: 0010:get_page include/linux/mm.h:1460 [inline]
RIP: 0010:__skb_frag_ref include/linux/skbuff_ref.h:20 [inline]
RIP: 0010:skb_frag_ref include/linux/skbuff_ref.h:32 [inline]
RIP: 0010:pskb_expand_head+0x8ac/0x1170 net/core/skbuff.c:2300
Code: 41 83 e7 01 4c 89 fe e8 d2 76 a1 f8 4d 85 ff 0f 85 c3 02 00 00 e8 54 74 a1 f8 e8 4f 74 a1 f8 48 8d 7d 08 48 89 f8 48 c1 e8 03 <42> 80 3c 20 00 0f 85 28 07 00 00 4c 8b 7d 08 31 ff 4c 89 fb 83 e3
RSP: 0018:ffffc90000548908 EFLAGS: 00010202
RAX: 0000000000000001 RBX: ffff88806824ea80 RCX: ffffffff88f7da8e
RDX: ffff888023474880 RSI: ffffffff88f7daa1 RDI: 0000000000000008
RBP: 0000000000000000 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000034 R12: dffffc0000000000
R13: 0000000000000000 R14: 0000000000000030 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff88802b600000(0063) knlGS:00000000f5066b40
CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: 000000002043b000 CR3: 000000006799e000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__skb_unclone_keeptruesize+0x91/0x280 net/core/skbuff.c:2375
skb_unclone_keeptruesize include/linux/skbuff.h:1998 [inline]
__tcp_retransmit_skb.part.0+0xc58/0x2680 net/ipv4/tcp_output.c:3376
__tcp_retransmit_skb net/ipv4/tcp_output.c:3330 [inline]
tcp_send_loss_probe+0x454/0xb00 net/ipv4/tcp_output.c:2982
tcp_write_timer_handler net/ipv4/tcp_timer.c:710 [inline]
tcp_write_timer_handler+0x59d/0xa70 net/ipv4/tcp_timer.c:688
tcp_write_timer+0x157/0x2f0 net/ipv4/tcp_timer.c:735
call_timer_fn+0x1a0/0x610 kernel/time/timer.c:1793
expire_timers kernel/time/timer.c:1844 [inline]
__run_timers+0x6e8/0x930 kernel/time/timer.c:2418
__run_timer_base kernel/time/timer.c:2430 [inline]
__run_timer_base kernel/time/timer.c:2422 [inline]
run_timer_base+0x114/0x190 kernel/time/timer.c:2439
run_timer_softirq+0x1a/0x40 kernel/time/timer.c:2449
handle_softirqs+0x213/0x8f0 kernel/softirq.c:561
__do_softirq kernel/softirq.c:595 [inline]
invoke_softirq kernel/softirq.c:435 [inline]
__irq_exit_rcu+0x109/0x170 kernel/softirq.c:662
irq_exit_rcu+0x9/0x30 kernel/softirq.c:678
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline]
sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1049
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:87 [inline]
RIP: 0010:memory_is_nonzero mm/kasan/generic.c:104 [inline]
RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:129 [inline]
RIP: 0010:memory_is_poisoned mm/kasan/generic.c:161 [inline]
RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline]
RIP: 0010:kasan_check_range+0x113/0x1a0 mm/kasan/generic.c:189
Code: c2 e8 11 eb ff ff 83 f0 01 5b 5d 41 5c c3 cc cc cc cc 48 85 d2 74 4f 48 01 ea eb 09 48 83 c0 01 48 39 d0 74 41 80 38 00 74 f2 b2 41 bc 08 00 00 00 45 29 dc 49 8d 14 2c eb 0c 48 83 c0 01 49
RSP: 0018:ffffc90025e577d8 EFLAGS: 00000202
RAX: fffffbfff34ed060 RBX: fffffbfff34ed061 RCX: ffffffff8b144956
RDX: fffffbfff34ed061 RSI: 0000000000000004 RDI: ffffffff9a768300
RBP: fffffbfff34ed060 R08: 0000000000000001 R09: fffffbfff34ed060
R10: ffffffff9a768303 R11: 0000000000000001 R12: 0000000021000000
R13: ffffc90025e57938 R14: 0000000000000002 R15: 000000002043b000
instrument_atomic_read_write include/linux/instrumented.h:96 [inline]
atomic_inc include/linux/atomic/atomic-instrumented.h:435 [inline]
mt_find+0x876/0xa20 lib/maple_tree.c:6952
find_vma+0xc0/0x140 mm/mmap.c:957
lock_mm_and_find_vma+0x62/0x6a0 mm/memory.c:6212
do_user_addr_fault+0x2b5/0x13f0 arch/x86/mm/fault.c:1361
handle_page_fault arch/x86/mm/fault.c:1481 [inline]
exc_page_fault+0x5c/0xc0 arch/x86/mm/fault.c:1539
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623
RIP: 0010:copy_user_generic arch/x86/include/asm/uaccess_64.h:126 [inline]
RIP: 0010:raw_copy_from_user arch/x86/include/asm/uaccess_64.h:141 [inline]
RIP: 0010:_inline_copy_from_user include/linux/uaccess.h:178 [inline]
RIP: 0010:_copy_from_user+0x95/0xd0 lib/usercopy.c:18
Code: fd 89 ee 4c 89 ef 48 b8 00 f0 ff ff ff 7f 00 00 48 39 d8 48 19 c0 48 09 c3 e8 67 28 63 fd 0f 01 cb 4c 89 ef 48 89 de 48 89 e9 a4 0f 1f 00 49 89 cc 48 89 cb 0f 01 ca 31 ff 48 89 ce e8 73 b8
RSP: 0018:ffffc90025e57b18 EFLAGS: 00050246
RAX: 0000000000000001 RBX: 000000002043b000 RCX: 00000000000004b1
RDX: ffffed100d58b497 RSI: 000000002043b000 RDI: ffff88806ac5a000
RBP: 00000000000004b1 R08: 0000000000000001 R09: ffffed100d58b496
R10: ffff88806ac5a4b0 R11: 0000000000000000 R12: 0000000000000000
R13: ffff88806ac5a000 R14: ffff88806ac5a000 R15: 000000002043b000
copy_from_user include/linux/uaccess.h:212 [inline]
snd_rawmidi_kernel_write1+0x35e/0x860 sound/core/rawmidi.c:1557
snd_rawmidi_write+0x267/0xbe0 sound/core/rawmidi.c:1626
vfs_write+0x24c/0x1150 fs/read_write.c:677
ksys_write+0x207/0x250 fs/read_write.c:731
do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline]
__do_fast_syscall_32+0x73/0x120 arch/x86/entry/common.c:386
do_fast_syscall_32+0x32/0x80 arch/x86/entry/common.c:411
entry_SYSENTER_compat_after_hwframe+0x84/0x8e
RIP: 0023:0xf7f15579
Code: 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 00 00 00 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:00000000f506655c EFLAGS: 00000296 ORIG_RAX: 0000000000000004
RAX: ffffffffffffffda RBX: 0000000000000007 RCX: 0000000020000000
RDX: 00000000fffffd2c RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000296 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:_compound_head include/linux/page-flags.h:242 [inline]
RIP: 0010:get_page include/linux/mm.h:1460 [inline]
RIP: 0010:__skb_frag_ref include/linux/skbuff_ref.h:20 [inline]
RIP: 0010:skb_frag_ref include/linux/skbuff_ref.h:32 [inline]
RIP: 0010:pskb_expand_head+0x8ac/0x1170 net/core/skbuff.c:2300
Code: 41 83 e7 01 4c 89 fe e8 d2 76 a1 f8 4d 85 ff 0f 85 c3 02 00 00 e8 54 74 a1 f8 e8 4f 74 a1 f8 48 8d 7d 08 48 89 f8 48 c1 e8 03 <42> 80 3c 20 00 0f 85 28 07 00 00 4c 8b 7d 08 31 ff 4c 89 fb 83 e3
RSP: 0018:ffffc90000548908 EFLAGS: 00010202
RAX: 0000000000000001 RBX: ffff88806824ea80 RCX: ffffffff88f7da8e
RDX: ffff888023474880 RSI: ffffffff88f7daa1 RDI: 0000000000000008
RBP: 0000000000000000 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000034 R12: dffffc0000000000
R13: 0000000000000000 R14: 0000000000000030 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff88802b600000(0063) knlGS:00000000f5066b40
CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: 000000002043b000 CR3: 000000006799e000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 41 83 e7 01 and $0x1,%r15d
4: 4c 89 fe mov %r15,%rsi
7: e8 d2 76 a1 f8 call 0xf8a176de
c: 4d 85 ff test %r15,%r15
f: 0f 85 c3 02 00 00 jne 0x2d8
15: e8 54 74 a1 f8 call 0xf8a1746e
1a: e8 4f 74 a1 f8 call 0xf8a1746e
1f: 48 8d 7d 08 lea 0x8(%rbp),%rdi
23: 48 89 f8 mov %rdi,%rax
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) <-- trapping instruction
2f: 0f 85 28 07 00 00 jne 0x75d
35: 4c 8b 7d 08 mov 0x8(%rbp),%r15
39: 31 ff xor %edi,%edi
3b: 4c 89 fb mov %r15,%rbx
3e: 83 .byte 0x83
3f: e3 .byte 0xe3