raw: 02fffc0000001028 ffffea0006ea0d88 ffffea0006d14c08 ffff8801d27c8a38 raw: 00000000000001c0 ffff8801c910c7e0 00000003ffffffff ffff880194748440 page dumped because: VM_BUG_ON_PAGE(page_to_pgoff(page) != index) page->mem_cgroup:ffff880194748440 ------------[ cut here ]------------ kernel BUG at mm/shmem.c:815! invalid opcode: 0000 [#1] SMP KASAN ntfs: (device loop2): parse_options(): The gid option requires an argument. CPU: 0 PID: 530 Comm: syz-executor5 Not tainted 4.18.0-rc3-next-20180706+ #1 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:shmem_undo_range+0xdaa/0x29a0 mm/shmem.c:815 Code: 00 0f 85 bd 19 00 00 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 a5 f0 d6 ff 48 c7 c6 e0 32 f1 87 4c 89 e7 e8 16 10 05 00 <0f> 0b e8 8f f0 d6 ff 49 8d 7c 24 20 48 89 f8 48 c1 e8 03 80 3c 18 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 RSP: 0018:ffff880192e967b0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: 00000000000128cb RSI: ffffffff81aaab95 RDI: ffffed00325d2ce0 RBP: ffff880192e96f28 R08: ffff8801bd4aa600 R09: ffffed003b5c4fc0 R10: ffffed003b5c4fc0 R11: ffff8801dae27e07 R12: ffffea0006e69dc0 R13: ffff880192e96f00 R14: 0000000000000002 R15: 00000000000001c0 FS: 00007f4fb6bb4700(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CPU: 1 PID: 589 Comm: syz-executor4 Not tainted 4.18.0-rc3-next-20180706+ #1 CR2: 0000001b33222000 CR3: 00000001abb1e000 CR4: 00000000001406f0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 DR0: 00000000200001c0 DR1: 0000000000000000 DR2: 0000000000000000 Call Trace: DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1c9/0x2b4 lib/dump_stack.c:113 Call Trace: fail_dump lib/fault-inject.c:51 [inline] should_fail.cold.4+0xa/0x11 lib/fault-inject.c:149 __should_failslab+0x124/0x180 mm/failslab.c:32 should_failslab+0x9/0x14 mm/slab_common.c:1557 slab_pre_alloc_hook mm/slab.h:423 [inline] slab_alloc mm/slab.c:3378 [inline] kmem_cache_alloc+0x2af/0x760 mm/slab.c:3552 shmem_alloc_inode+0x1b/0x40 mm/shmem.c:3519 alloc_inode+0x63/0x190 fs/inode.c:210 new_inode_pseudo+0x71/0x1a0 fs/inode.c:895 new_inode+0x1c/0x40 fs/inode.c:924 shmem_get_inode+0xf1/0x910 mm/shmem.c:2146 shmem_truncate_range+0x27/0xa0 mm/shmem.c:971 shmem_evict_inode+0x3b2/0xcb0 mm/shmem.c:1071 __shmem_file_setup+0x259/0x700 mm/shmem.c:3894 shmem_file_setup+0x2f/0x40 mm/shmem.c:3943 __do_sys_memfd_create mm/memfd.c:304 [inline] __se_sys_memfd_create mm/memfd.c:247 [inline] __x64_sys_memfd_create+0x2af/0x4f0 mm/memfd.c:247 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 evict+0x4ae/0x990 fs/inode.c:558 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x455e29 Code: 1d ba iput_final fs/inode.c:1508 [inline] iput+0x635/0xaa0 fs/inode.c:1534 fb ff c3 66 2e 0f 1f 84 00 00 dentry_unlink_inode+0x4ae/0x640 fs/dcache.c:377 00 00 00 66 90 48 89 f8 48 __dentry_kill+0x44c/0x7a0 fs/dcache.c:569 89 f7 48 89 d6 48 dentry_kill+0xc9/0x5a0 fs/dcache.c:688 89 dput.part.26+0x66b/0x7a0 fs/dcache.c:849 ca 4d 89 dput+0x15/0x20 fs/dcache.c:831 c2 4d __fput+0x558/0x930 fs/file_table.c:235 89 c8 4c 8b 4c 24 ____fput+0x15/0x20 fs/file_table.c:251 08 task_work_run+0x1ec/0x2a0 kernel/task_work.c:113 0f 05 <48> get_signal+0x1557/0x1970 kernel/signal.c:2297 3d 01 f0 ff ff 0f 83 do_signal+0x9c/0x21c0 arch/x86/kernel/signal.c:816 eb b9 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f80151c1a88 EFLAGS: 00000246 ORIG_RAX: 000000000000013f RAX: ffffffffffffffda RBX: 0000000020000400 RCX: 0000000000455e29 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000004baa70 RBP: 000000000072bea0 R08: 0000000000000000 R09: 00000000fbad8001 R10: 0000000020000400 R11: 0000000000000246 R12: 0000000000000013 exit_to_usermode_loop+0x2e0/0x370 arch/x86/entry/common.c:162 R13: 00000000004c25f2 R14: 00000000004d3eb0 R15: 0000000000000002 prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline] syscall_return_slowpath arch/x86/entry/common.c:268 [inline] do_syscall_64+0x6be/0x820 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x455c97 Code: 48 83 c4 08 48 89 d8 5b 5d c3 66 0f 1f 84 00 00 00 00 00 48 89 e8 48 f7 d8 48 39 c3 0f 92 c0 eb 92 66 90 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 7d bb fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f4fb6bb3a88 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 00007f4fb6bb3b30 RCX: 0000000000455c97 RDX: 0000000000000000 RSI: 0000000000004c01 RDI: 0000000000000016 RBP: 0000000020000080 R08: 00007f4fb6bb3b30 R09: 00007f4fb6bb3ad0 R10: 0000000000008000 R11: 0000000000000246 R12: 0000000000000015 R13: 0000000000008000 R14: 00000000004d3f10 R15: 0000000000000005 Modules linked in: Dumping ftrace buffer: (ftrace buffer empty) ---[ end trace c0f564badead2727 ]--- RIP: 0010:shmem_undo_range+0xdaa/0x29a0 mm/shmem.c:815 Code: 00 0f 85 bd 19 00 00 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 a5 f0 d6 ff 48 c7 c6 e0 32 f1 87 4c 89 e7 e8 16 10 05 00 <0f> 0b e8 8f f0 d6 ff 49 8d 7c 24 20 48 89 f8 48 c1 e8 03 80 3c 18 RSP: 0018:ffff880192e967b0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: 00000000000128cb RSI: ffffffff81aaab95 RDI: ffffed00325d2ce0 RBP: ffff880192e96f28 R08: ffff8801bd4aa600 R09: ffffed003b5c4fc0 R10: ffffed003b5c4fc0 R11: ffff8801dae27e07 R12: ffffea0006e69dc0 R13: ffff880192e96f00 R14: 0000000000000002 R15: 00000000000001c0 FS: 00007f4fb6bb4700(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33222000 CR3: 00000001abb1e000 CR4: 00000000001406f0 DR0: 00000000200001c0 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600