__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: 0 PID: 15503 Comm: syz-executor.0 Not tainted 5.14.0-rc5-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 31 2d db ff 48 83 eb 01 e9 dd fd ff ff e8 23 2d db ff 48 c7 c6 00 9d 94 89 48 89 ef e8 84 c3 0d 00 <0f> 0b e8 0d 2d db ff 48 83 eb 01 e9 8d fe ff ff e8 ff 2c db ff 48 RSP: 0018:ffffc9000a607988 EFLAGS: 00010246 RAX: 0000000000040000 RBX: 0000000000000001 RCX: ffffc90003049000 RDX: 0000000000040000 RSI: ffffffff8199b01c RDI: 0000000000000003 RBP: ffffea0000ca01c0 R08: 0000000000000018 R09: 00000000ffffffff R10: ffffffff88ea66d5 R11: 00000000ffffffff R12: ffffea0000ca01c8 R13: 0000000000000001 R14: ffff88803b393ae0 R15: 0000000000000007 FS: 00007f32f38da700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000560d9a2a5358 CR3: 000000008babb000 CR4: 00000000001526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f32f38da188 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: ffffffffffffffda RBX: 000000000056c0f0 RCX: 00000000004665e9 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: 0000000020000180 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 000000000056c0f0 R13: 00007fff3460f48f R14: 00007f32f38da300 R15: 0000000000022000 Modules linked in: ---[ end trace d31b9b6f7b6856cb ]--- 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 31 2d db ff 48 83 eb 01 e9 dd fd ff ff e8 23 2d db ff 48 c7 c6 00 9d 94 89 48 89 ef e8 84 c3 0d 00 <0f> 0b e8 0d 2d db ff 48 83 eb 01 e9 8d fe ff ff e8 ff 2c db ff 48 RSP: 0018:ffffc9000a607988 EFLAGS: 00010246 RAX: 0000000000040000 RBX: 0000000000000001 RCX: ffffc90003049000 RDX: 0000000000040000 RSI: ffffffff8199b01c RDI: 0000000000000003 RBP: ffffea0000ca01c0 R08: 0000000000000018 R09: 00000000ffffffff R10: ffffffff88ea66d5 R11: 00000000ffffffff R12: ffffea0000ca01c8 R13: 0000000000000001 R14: ffff88803b393ae0 R15: 0000000000000007 FS: 00007f32f38da700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000560d9a34e110 CR3: 000000008babb000 CR4: 00000000001526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 6c insb (%dx),%es:(%rdi) 1: 24 ff and $0xff,%al 3: e9 61 fd ff ff jmpq 0xfffffd69 8: e8 31 2d db ff callq 0xffdb2d3e d: 48 83 eb 01 sub $0x1,%rbx 11: e9 dd fd ff ff jmpq 0xfffffdf3 16: e8 23 2d db ff callq 0xffdb2d3e 1b: 48 c7 c6 00 9d 94 89 mov $0xffffffff89949d00,%rsi 22: 48 89 ef mov %rbp,%rdi 25: e8 84 c3 0d 00 callq 0xdc3ae 2a: 0f 0b ud2 <-- trapping instruction 2c: e8 0d 2d db ff callq 0xffdb2d3e 31: 48 83 eb 01 sub $0x1,%rbx 35: e9 8d fe ff ff jmpq 0xfffffec7 3a: e8 ff 2c db ff callq 0xffdb2d3e 3f: 48 rex.W