kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 26260 Comm: syz-executor.1 Not tainted 4.9.186+ #9 task: 000000007da35949 task.stack: 0000000003d942b6 RIP: 0010:[] [<000000003448fc9a>] perf_event_count kernel/events/core.c:3583 [inline] RIP: 0010:[] [<000000003448fc9a>] perf_output_read_group kernel/events/core.c:5742 [inline] RIP: 0010:[] [<000000003448fc9a>] perf_output_read+0x63e/0x12e0 kernel/events/core.c:5779 RSP: 0018:ffff8801d0c5f0f8 EFLAGS: 00010207 RAX: 000000000000001b RBX: 0000000000000006 RCX: ffffc90006b78000 RDX: 0000000000040000 RSI: ffffffff813c4110 RDI: 00000000000000de RBP: ffff8801d0c5f270 R08: 1ffff1003aebcc1d R09: ffffed003aebcc1f R10: ffffed003aebcc1e R11: ffff8801d75e60f7 R12: ffff8801d2adc648 R13: ffff8801d0c5f408 R14: dffffc0000000000 R15: ffff8801d2adc5d0 FS: 00007f136d994700(0000) GS:ffff8801db700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020ff0000 CR3: 00000001c4599000 CR4: 00000000001606b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffff8801d0c5f140 ffff8801d0c5f410 ffffed003a18be82 0000000000000010 0000000000000004 0000000000000010 ffffed003a18be85 1ffff1003a18be2d ffff8801c3f5a220 ffff8801d0c5f428 ffff8801d0c5f420 ffff8801d0c5f1d8 Call Trace: [<000000009c13cf4b>] perf_output_sample+0x1142/0x17e0 kernel/events/core.c:5821 [<000000003a5b99ba>] __perf_event_output kernel/events/core.c:6093 [inline] [<000000003a5b99ba>] perf_event_output_forward+0x129/0x240 kernel/events/core.c:6106 [<00000000c6a2790e>] __perf_event_overflow+0x121/0x330 kernel/events/core.c:7208 [<0000000019fd4774>] perf_swevent_overflow+0x17c/0x210 kernel/events/core.c:7284 [<000000008aade02b>] perf_swevent_event+0x1ac/0x280 kernel/events/core.c:7317 [<000000005cd184ab>] do_perf_sw_event kernel/events/core.c:7425 [inline] [<000000005cd184ab>] ___perf_sw_event+0x299/0x4c0 kernel/events/core.c:7456 [<000000001754e44a>] __perf_sw_event+0x47/0x90 kernel/events/core.c:7468 [<00000000774cf3f5>] perf_sw_event include/linux/perf_event.h:1045 [inline] [<00000000774cf3f5>] __do_page_fault+0x6cd/0xa60 arch/x86/mm/fault.c:1445 [<00000000166365e6>] do_page_fault+0x28/0x30 arch/x86/mm/fault.c:1467 [<00000000aea387a3>] page_fault+0x25/0x30 arch/x86/entry/entry_64.S:953 [<0000000071079499>] skb_do_copy_data_nocache include/net/sock.h:1805 [inline] [<0000000071079499>] skb_copy_to_page_nocache include/net/sock.h:1831 [inline] [<0000000071079499>] tcp_sendmsg+0x998/0x2f90 net/ipv4/tcp.c:1289 [<000000003d04be43>] inet_sendmsg+0x202/0x4d0 net/ipv4/af_inet.c:766 [<000000001aff61d7>] sock_sendmsg_nosec net/socket.c:649 [inline] [<000000001aff61d7>] sock_sendmsg+0xbe/0x110 net/socket.c:659 [<000000003bd92eb4>] SYSC_sendto net/socket.c:1684 [inline] [<000000003bd92eb4>] SyS_sendto+0x201/0x340 net/socket.c:1652 [<000000007ad8de3d>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000b726e872>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Code: 74 08 3c 03 0f 8e 55 0a 00 00 41 83 bf 88 00 00 00 01 0f 84 09 07 00 00 e8 a0 cc f5 ff 48 8d bb d8 00 00 00 48 89 f8 48 c1 e8 03 <42> 80 3c 30 00 0f 85 15 0a 00 00 48 8b 9b d8 00 00 00 48 85 db RIP [<000000003448fc9a>] perf_event_count kernel/events/core.c:3583 [inline] RIP [<000000003448fc9a>] perf_output_read_group kernel/events/core.c:5742 [inline] RIP [<000000003448fc9a>] perf_output_read+0x63e/0x12e0 kernel/events/core.c:5779 RSP ---[ end trace b9d902a2748d1e05 ]---