process_sysctl_arg+0x22f/0x470 fs/proc/proc_sysctl.c:1893 parse_one kernel/params.c:153 [inline] parse_args+0x46e/0x8b0 kernel/params.c:188 do_sysctl_args+0xc3/0x130 fs/proc/proc_sysctl.c:1925 kernel_init+0x6f/0x1d0 init/main.c:1529 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302 page_owner free stack trace missing ------------[ cut here ]------------ kernel BUG at mm/filemap.c:1538! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 14767 Comm: syz-executor.5 Not tainted 5.19.0-rc3-next-20220624-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:folio_unlock+0x196/0x1d0 mm/filemap.c:1538 Code: de 41 0f 94 c4 44 89 e7 e8 17 e8 d8 ff 41 38 dc 0f 85 23 ff ff ff e8 79 ec d8 ff 48 c7 c6 c0 8f d6 89 48 89 ef e8 1a a8 0e 00 <0f> 0b 48 89 df e8 30 3e 25 00 e9 9a fe ff ff 48 89 df e8 23 3e 25 RSP: 0018:ffffc900048879e8 EFLAGS: 00010246 RAX: 0000000000040000 RBX: 0000000000000000 RCX: ffffc90005909000 RDX: 0000000000040000 RSI: ffffffff81a1c246 RDI: 0000000000000003 RBP: ffffea0002d60000 R08: 0000000000000003 R09: 000000000000ffff R10: 000000000000ffff R11: 0000000000000001 R12: 0000000000000000 R13: ffff88807add5540 R14: 0000000000000001 R15: ffff88807b342af8 FS: 00007f4e85ddd700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f613b96c058 CR3: 000000001fa0d000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hugetlb_no_page mm/hugetlb.c:5664 [inline] hugetlb_fault+0x18d5/0x20a0 mm/hugetlb.c:5765 handle_mm_fault+0x661/0x790 mm/memory.c:5164 do_user_addr_fault+0x489/0x1250 arch/x86/mm/fault.c:1397 handle_page_fault arch/x86/mm/fault.c:1488 [inline] exc_page_fault+0x9e/0x180 arch/x86/mm/fault.c:1544 asm_exc_page_fault+0x27/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0010:do_strncpy_from_user lib/strncpy_from_user.c:41 [inline] RIP: 0010:strncpy_from_user+0x1bd/0x3c0 lib/strncpy_from_user.c:139 Code: ed 08 4d 89 74 1d 00 bf 07 00 00 00 48 83 c3 08 48 89 ee e8 65 a2 5c fd 48 83 fd 07 0f 86 c0 01 00 00 e8 e6 a5 5c fd 45 31 ff <49> 8b 04 1c 31 ff 44 89 fe 49 89 c6 e8 22 a2 5c fd 45 85 ff 0f 84 RSP: 0018:ffffc90004887d20 EFLAGS: 00050246 RAX: 0000000000000072 RBX: 0000000000000000 RCX: ffffc90005909000 RDX: 0000000000040000 RSI: ffffffff841e08ca RDI: 0000000000000007 RBP: 0000000000000fe0 R08: 0000000000000007 R09: 0000000000000007 R10: 0000000000000fe0 R11: 0000000000000000 R12: 00000000200000c0 R13: ffff8880365a1120 R14: ffff8880365a1120 R15: 0000000000000000 getname_flags.part.0+0x95/0x4f0 fs/namei.c:150 getname_flags include/linux/audit.h:321 [inline] getname+0x8e/0xd0 fs/namei.c:218 do_sys_openat2+0xf5/0x4c0 fs/open.c:1302 do_sys_open fs/open.c:1324 [inline] __do_sys_creat fs/open.c:1400 [inline] __se_sys_creat fs/open.c:1394 [inline] __x64_sys_creat+0xc9/0x120 fs/open.c:1394 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+0x46/0xb0 RIP: 0033:0x7f4e86e89109 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f4e85ddd168 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f4e86f9c030 RCX: 00007f4e86e89109 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200000c0 RBP: 00007f4e86ee305d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc88f1a1df R14: 00007f4e85ddd300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:folio_unlock+0x196/0x1d0 mm/filemap.c:1538 Code: de 41 0f 94 c4 44 89 e7 e8 17 e8 d8 ff 41 38 dc 0f 85 23 ff ff ff e8 79 ec d8 ff 48 c7 c6 c0 8f d6 89 48 89 ef e8 1a a8 0e 00 <0f> 0b 48 89 df e8 30 3e 25 00 e9 9a fe ff ff 48 89 df e8 23 3e 25 RSP: 0018:ffffc900048879e8 EFLAGS: 00010246 RAX: 0000000000040000 RBX: 0000000000000000 RCX: ffffc90005909000 RDX: 0000000000040000 RSI: ffffffff81a1c246 RDI: 0000000000000003 RBP: ffffea0002d60000 R08: 0000000000000003 R09: 000000000000ffff R10: 000000000000ffff R11: 0000000000000001 R12: 0000000000000000 R13: ffff88807add5540 R14: 0000000000000001 R15: ffff88807b342af8 FS: 00007f4e85ddd700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f036000 CR3: 000000001fa0d000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: ed in (%dx),%eax 1: 08 4d 89 or %cl,-0x77(%rbp) 4: 74 1d je 0x23 6: 00 bf 07 00 00 00 add %bh,0x7(%rdi) c: 48 83 c3 08 add $0x8,%rbx 10: 48 89 ee mov %rbp,%rsi 13: e8 65 a2 5c fd callq 0xfd5ca27d 18: 48 83 fd 07 cmp $0x7,%rbp 1c: 0f 86 c0 01 00 00 jbe 0x1e2 22: e8 e6 a5 5c fd callq 0xfd5ca60d 27: 45 31 ff xor %r15d,%r15d * 2a: 49 8b 04 1c mov (%r12,%rbx,1),%rax <-- trapping instruction 2e: 31 ff xor %edi,%edi 30: 44 89 fe mov %r15d,%esi 33: 49 89 c6 mov %rax,%r14 36: e8 22 a2 5c fd callq 0xfd5ca25d 3b: 45 85 ff test %r15d,%r15d 3e: 0f .byte 0xf 3f: 84 .byte 0x84