getname_flags include/linux/audit.h:321 [inline] getname+0x90/0xe0 fs/namei.c:219 do_sys_openat2+0x100/0x1e0 fs/open.c:1416 do_sys_open fs/open.c:1437 [inline] __do_sys_openat fs/open.c:1453 [inline] __se_sys_openat fs/open.c:1448 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1448 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd ------------[ cut here ]------------ kernel BUG at include/linux/page-flags.h:314! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 14033 Comm: syz-executor.0 Not tainted 6.6.0-rc7-syzkaller-00039-g4f82870119a4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:folio_flags+0x1b7/0x1f0 include/linux/page-flags.h:314 Code: 06 41 83 e4 01 44 89 e6 e8 06 52 b1 ff 45 84 e4 0f 85 c9 fe ff ff e8 c8 56 b1 ff 48 c7 c6 e0 2f 9a 8a 48 89 ef e8 39 20 ef ff <0f> 0b e8 22 67 06 00 e9 6c fe ff ff 48 89 ef e8 15 67 06 00 eb b7 RSP: 0018:ffffc900146df208 EFLAGS: 00010246 RAX: 0000000000040000 RBX: 0000000000000001 RCX: ffffc90009df1000 RDX: 0000000000040000 RSI: ffffffff81d581b7 RDI: ffffffff8ae91320 RBP: ffffea00009e2300 R08: 0000000000000000 R09: fffffbfff1d96c42 R10: ffffffff8ecb6217 R11: 0000000000000000 R12: 0000000000000000 R13: ffffea00009e22c0 R14: ffffea00009e2300 R15: 000000000002788c FS: 00007f738d7496c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2fb38000 CR3: 0000000072751000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: folio_test_hugetlb include/linux/page-flags.h:835 [inline] PageHuge+0x215/0x2b0 mm/hugetlb.c:2082 isolate_migratepages_block+0x61b/0x4a40 mm/compaction.c:950 isolate_migratepages mm/compaction.c:2053 [inline] compact_zone+0x18f6/0x4020 mm/compaction.c:2491 compact_node+0x13e/0x1e0 mm/compaction.c:2812 compact_nodes mm/compaction.c:2825 [inline] sysctl_compaction_handler mm/compaction.c:2871 [inline] sysctl_compaction_handler+0x11b/0x1c0 mm/compaction.c:2858 proc_sys_call_handler+0x4c6/0x6e0 fs/proc/proc_sysctl.c:600 call_write_iter include/linux/fs.h:1956 [inline] do_iter_readv_writev+0x21e/0x3c0 fs/read_write.c:735 do_iter_write+0x17f/0x830 fs/read_write.c:860 vfs_iter_write+0x7a/0xb0 fs/read_write.c:901 iter_file_splice_write+0x698/0xbf0 fs/splice.c:736 do_splice_from fs/splice.c:933 [inline] direct_splice_actor+0x118/0x180 fs/splice.c:1142 splice_direct_to_actor+0x347/0xa30 fs/splice.c:1088 do_splice_direct+0x1af/0x280 fs/splice.c:1194 do_sendfile+0xb88/0x1390 fs/read_write.c:1254 __do_sys_sendfile64 fs/read_write.c:1316 [inline] __se_sys_sendfile64 fs/read_write.c:1308 [inline] __x64_sys_sendfile64+0x155/0x220 fs/read_write.c:1308 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f738ca7cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f738d7490c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f738cb9bf80 RCX: 00007f738ca7cae9 RDX: 00000000200000c0 RSI: 0000000000000009 RDI: 000000000000000a RBP: 00007f738cac847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000007 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f738cb9bf80 R15: 00007fff52ef4588 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:folio_flags+0x1b7/0x1f0 include/linux/page-flags.h:314 Code: 06 41 83 e4 01 44 89 e6 e8 06 52 b1 ff 45 84 e4 0f 85 c9 fe ff ff e8 c8 56 b1 ff 48 c7 c6 e0 2f 9a 8a 48 89 ef e8 39 20 ef ff <0f> 0b e8 22 67 06 00 e9 6c fe ff ff 48 89 ef e8 15 67 06 00 eb b7 RSP: 0018:ffffc900146df208 EFLAGS: 00010246 RAX: 0000000000040000 RBX: 0000000000000001 RCX: ffffc90009df1000 RDX: 0000000000040000 RSI: ffffffff81d581b7 RDI: ffffffff8ae91320 RBP: ffffea00009e2300 R08: 0000000000000000 R09: fffffbfff1d96c42 R10: ffffffff8ecb6217 R11: 0000000000000000 R12: 0000000000000000 R13: ffffea00009e22c0 R14: ffffea00009e2300 R15: 000000000002788c FS: 00007f738d7496c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f930000 CR3: 0000000072751000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400