__alloc_pages+0x412/0x500 mm/page_alloc.c:5404 __alloc_pages_node include/linux/gfp.h:570 [inline] khugepaged_alloc_page+0xa0/0x170 mm/khugepaged.c:881 collapse_file+0x20a/0x3e40 mm/khugepaged.c:1655 khugepaged_scan_file mm/khugepaged.c:2051 [inline] khugepaged_scan_mm_slot mm/khugepaged.c:2146 [inline] khugepaged_do_scan mm/khugepaged.c:2230 [inline] khugepaged+0x2cc5/0x5590 mm/khugepaged.c:2275 kthread+0x3e5/0x4d0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ------------[ cut here ]------------ kernel BUG at include/linux/page-flags.h:333! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 15154 Comm: syz-executor.4 Not tainted 5.14.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ClearPageError include/linux/page-flags.h:333 [inline] RIP: 0010:do_read_cache_page+0x116c/0x13c0 mm/filemap.c:3420 Code: 6c 24 ff e9 61 fd ff ff e8 e1 fd da ff 48 83 eb 01 e9 dd fd ff ff e8 d3 fd da ff 48 c7 c6 a0 ce 94 89 48 89 ef e8 64 c3 0d 00 <0f> 0b e8 bd fd da ff 48 83 eb 01 e9 8d fe ff ff e8 af fd da ff 48 RSP: 0018:ffffc900029d7988 EFLAGS: 00010246 RAX: 0000000000040000 RBX: 0000000000000001 RCX: ffffc9000bcbb000 RDX: 0000000000040000 RSI: ffffffff819aab3c RDI: 0000000000000003 RBP: ffffea0002128340 R08: 0000000000000018 R09: 00000000ffffffff R10: ffffffff88ea697e R11: 00000000ffffffff R12: ffffea0002128348 R13: 0000000000000001 R14: ffff88802c9b8f58 R15: 000000000000000d FS: 00007f9171e0e700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000041331e CR3: 0000000071208000 CR4: 0000000000350ee0 Call Trace: read_mapping_page include/linux/pagemap.h:515 [inline] __copy_insn kernel/events/uprobes.c:800 [inline] copy_insn kernel/events/uprobes.c:826 [inline] prepare_uprobe kernel/events/uprobes.c:851 [inline] install_breakpoint.isra.0+0x27c/0x7c0 kernel/events/uprobes.c:902 register_for_each_vma+0x896/0xc10 kernel/events/uprobes.c:1070 uprobe_apply+0xfc/0x150 kernel/events/uprobes.c:1230 uprobe_perf_open kernel/trace/trace_uprobe.c:1316 [inline] trace_uprobe_register+0x5c9/0x880 kernel/trace/trace_uprobe.c:1468 perf_trace_event_open kernel/trace/trace_event_perf.c:186 [inline] perf_trace_event_init kernel/trace/trace_event_perf.c:208 [inline] perf_trace_event_init+0x17a/0xa20 kernel/trace/trace_event_perf.c:195 perf_uprobe_init+0x16f/0x210 kernel/trace/trace_event_perf.c:336 perf_uprobe_event_init+0xff/0x1c0 kernel/events/core.c:9875 perf_try_init_event+0x12a/0x560 kernel/events/core.c:11192 perf_init_event kernel/events/core.c:11256 [inline] perf_event_alloc.part.0+0xf16/0x3b10 kernel/events/core.c:11547 perf_event_alloc kernel/events/core.c:11970 [inline] __do_sys_perf_event_open+0x4ae/0x3130 kernel/events/core.c:12068 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665e9 Code: Unable to access opcode bytes at RIP 0x4665bf. RSP: 002b:00007f9171e0e188 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000180 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffc3b01041f R14: 00007f9171e0e300 R15: 0000000000022000 Modules linked in: ---[ end trace b8657a506f8b43fb ]--- RIP: 0010:ClearPageError include/linux/page-flags.h:333 [inline] RIP: 0010:do_read_cache_page+0x116c/0x13c0 mm/filemap.c:3420 Code: 6c 24 ff e9 61 fd ff ff e8 e1 fd da ff 48 83 eb 01 e9 dd fd ff ff e8 d3 fd da ff 48 c7 c6 a0 ce 94 89 48 89 ef e8 64 c3 0d 00 <0f> 0b e8 bd fd da ff 48 83 eb 01 e9 8d fe ff ff e8 af fd da ff 48 RSP: 0018:ffffc900029d7988 EFLAGS: 00010246 RAX: 0000000000040000 RBX: 0000000000000001 RCX: ffffc9000bcbb000 RDX: 0000000000040000 RSI: ffffffff819aab3c RDI: 0000000000000003 RBP: ffffea0002128340 R08: 0000000000000018 R09: 00000000ffffffff R10: ffffffff88ea697e R11: 00000000ffffffff R12: ffffea0002128348 R13: 0000000000000001 R14: ffff88802c9b8f58 R15: 000000000000000d FS: 00007f9171e0e700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004665bf CR3: 0000000071208000 CR4: 0000000000350ee0