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: 0 PID: 25769 Comm: syz-executor.4 Not tainted 4.9.194+ #0 task: 0000000020dd97a4 task.stack: 0000000006f706f0 RIP: 0010:[] [<000000003b2dc98b>] perf_event_count kernel/events/core.c:3583 [inline] RIP: 0010:[] [<000000003b2dc98b>] perf_output_read_group kernel/events/core.c:5742 [inline] RIP: 0010:[] [<000000003b2dc98b>] perf_output_read+0x63e/0x12e0 kernel/events/core.c:5779 RSP: 0018:ffff8801c67d7038 EFLAGS: 00010207 RAX: 000000000000001b RBX: 0000000000000006 RCX: ffffc90004746000 RDX: 0000000000040000 RSI: ffffffff813c5a60 RDI: 00000000000000de RBP: ffff8801c67d71b0 R08: 1ffff100389d561b R09: ffffed00389d561d R10: ffffed00389d561c R11: ffff8801c4eab0e7 R12: ffff8801d719d048 R13: ffff8801c67d7348 R14: dffffc0000000000 R15: ffff8801d719cfd0 FS: 00007f6de826d700(0000) GS:ffff8801db600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002043913f CR3: 00000001d2b61000 CR4: 00000000001606b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Stack: ffff8801c67d71e0 ffff8801c67d7350 ffffed0038cfae6a 0000000000000010 0000000000000004 0000000000000010 ffffed0038cfae6d 1ffff10038cfae15 ffff8801a47ee620 ffff8801c67d7368 ffff8801c67d7360 ffff8801c67d7118 Call Trace: [<000000006b5debdd>] perf_output_sample+0x1142/0x17e0 kernel/events/core.c:5821 [<00000000c4e8be4f>] __perf_event_output kernel/events/core.c:6093 [inline] [<00000000c4e8be4f>] perf_event_output_forward+0x129/0x240 kernel/events/core.c:6106 [<000000007098d87a>] __perf_event_overflow+0x121/0x330 kernel/events/core.c:7208 [<00000000988f9cc8>] perf_swevent_overflow+0x17c/0x210 kernel/events/core.c:7284 [<00000000bc9b22e9>] perf_swevent_event+0x1ac/0x280 kernel/events/core.c:7317 [<00000000987e7b48>] do_perf_sw_event kernel/events/core.c:7425 [inline] [<00000000987e7b48>] ___perf_sw_event+0x299/0x4c0 kernel/events/core.c:7456 [<000000007856b2b3>] __perf_sw_event+0x47/0x90 kernel/events/core.c:7468 [<000000004506d776>] perf_sw_event include/linux/perf_event.h:1045 [inline] [<000000004506d776>] __do_page_fault+0x6cd/0xa60 arch/x86/mm/fault.c:1442 [<000000007d7eb53a>] do_page_fault+0x28/0x30 arch/x86/mm/fault.c:1464 [<000000009f529155>] page_fault+0x25/0x30 arch/x86/entry/entry_64.S:956 [<00000000267ee670>] generic_perform_write+0x1b6/0x500 mm/filemap.c:2929 [<000000009dbdb570>] __generic_file_write_iter+0x340/0x530 mm/filemap.c:3064 [<00000000435740e3>] ext4_file_write_iter+0x364/0xcd0 fs/ext4/file.c:165 [<0000000005d6bbc2>] new_sync_write fs/read_write.c:498 [inline] [<0000000005d6bbc2>] __vfs_write+0x3c1/0x560 fs/read_write.c:511 [<000000009d8396ea>] vfs_write+0x185/0x520 fs/read_write.c:559 [<00000000e378ae2b>] SYSC_write fs/read_write.c:607 [inline] [<00000000e378ae2b>] SyS_write+0x121/0x270 fs/read_write.c:599 [<0000000057b34681>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000ad91ea87>] 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 [<000000003b2dc98b>] perf_event_count kernel/events/core.c:3583 [inline] RIP [<000000003b2dc98b>] perf_output_read_group kernel/events/core.c:5742 [inline] RIP [<000000003b2dc98b>] perf_output_read+0x63e/0x12e0 kernel/events/core.c:5779 RSP ---[ end trace f417371dce660f73 ]---