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: 16312 Comm: syz-executor.5 Not tainted 4.9.168+ #40 task: 000000006cd0d045 task.stack: 000000005b9b3210 RIP: 0010:[] [<000000008353dbb9>] perf_event_count kernel/events/core.c:3583 [inline] RIP: 0010:[] [<000000008353dbb9>] perf_output_read_group kernel/events/core.c:5742 [inline] RIP: 0010:[] [<000000008353dbb9>] perf_output_read+0x63e/0x12e0 kernel/events/core.c:5779 RSP: 0018:ffff8801d7ce6ff8 EFLAGS: 00010202 RAX: 000000000000001c RBX: 0000000000000009 RCX: ffffc90001545000 RDX: 0000000000040000 RSI: ffffffff813c0100 RDI: 00000000000000e1 RBP: ffff8801d7ce7170 R08: 1ffff1003a928fe5 R09: ffffed003a928fe7 R10: ffffed003a928fe6 R11: ffff8801d4947f37 R12: ffff8801d298c648 R13: ffff8801d7ce7308 R14: dffffc0000000000 R15: ffff8801d298c5d0 FS: 00007f74b0001700(0000) GS:ffff8801db700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002050013f CR3: 00000001d6d44000 CR4: 00000000001606b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Stack: ffff8801ca7d97c0 ffff8801d7ce7310 ffffed003af9ce62 0000000000000010 0000000000000004 0000000000000010 ffffed003af9ce65 1ffff1003af9ce0d ffff8801a54619a0 ffff8801d7ce7328 ffff8801d7ce7320 ffff8801d7ce70d8 Call Trace: [<000000000737199c>] perf_output_sample+0x1142/0x17e0 kernel/events/core.c:5821 [<000000007e580d9f>] __perf_event_output kernel/events/core.c:6093 [inline] [<000000007e580d9f>] perf_event_output_forward+0x129/0x240 kernel/events/core.c:6106 [<000000000f4a6fe2>] __perf_event_overflow+0x121/0x330 kernel/events/core.c:7206 [<00000000ddaa7d6e>] perf_swevent_overflow+0x17c/0x210 kernel/events/core.c:7282 [<0000000000edf234>] perf_swevent_event+0x1ac/0x280 kernel/events/core.c:7315 [<0000000088f574f6>] do_perf_sw_event kernel/events/core.c:7423 [inline] [<0000000088f574f6>] ___perf_sw_event+0x299/0x4c0 kernel/events/core.c:7454 [<000000003a720853>] __perf_sw_event+0x47/0x90 kernel/events/core.c:7466 [<0000000052b6333b>] perf_sw_event include/linux/perf_event.h:1045 [inline] [<0000000052b6333b>] __do_page_fault+0x6cd/0xa60 arch/x86/mm/fault.c:1447 [<000000007637f101>] do_page_fault+0x28/0x30 arch/x86/mm/fault.c:1469 [<00000000d142dae4>] page_fault+0x25/0x30 arch/x86/entry/entry_64.S:951 [<000000001ddcd8f0>] generic_perform_write+0x1b6/0x500 mm/filemap.c:2929 [<00000000ca23b47b>] __generic_file_write_iter+0x340/0x530 mm/filemap.c:3064 [<000000006df1d41b>] ext4_file_write_iter+0x66e/0xdd0 fs/ext4/file.c:165 [<0000000060ba0e82>] new_sync_write fs/read_write.c:498 [inline] [<0000000060ba0e82>] __vfs_write+0x3c1/0x560 fs/read_write.c:511 [<000000000beec866>] vfs_write+0x185/0x520 fs/read_write.c:559 [<000000002dec1c93>] SYSC_write fs/read_write.c:606 [inline] [<000000002dec1c93>] SyS_write+0xdc/0x1c0 fs/read_write.c:598 [<000000002bb8564d>] do_syscall_64+0x1ad/0x570 arch/x86/entry/common.c:285 [<00000000d14558fa>] 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 60 cf 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 [<000000008353dbb9>] perf_event_count kernel/events/core.c:3583 [inline] RIP [<000000008353dbb9>] perf_output_read_group kernel/events/core.c:5742 [inline] RIP [<000000008353dbb9>] perf_output_read+0x63e/0x12e0 kernel/events/core.c:5779 RSP ---[ end trace 2cc69a998a2f0b23 ]---