raw: 02fffc0000040068 ffffea0006dec488 ffffea00070df448 ffff8801a9f979f9 raw: 0000000000000721 0000000000000000 0000000200000000 ffff88019c8f0140 page dumped because: VM_BUG_ON_PAGE(page_to_pgoff(page) != index) page->mem_cgroup:ffff88019c8f0140 ------------[ cut here ]------------ kernel BUG at mm/shmem.c:815! invalid opcode: 0000 [#1] SMP KASAN CPU: 1 PID: 11391 Comm: syz-executor3 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 RSP: 0018:ffff88019664e158 EFLAGS: 00010246 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff81aaab95 RDI: ffffed0032cc9c18 RBP: ffff88019664e8d0 R08: ffff88019cecc080 R09: ffffed003b5e4fc0 R10: ffffed003b5e4fc0 R11: ffff8801daf27e07 R12: ffffea0007099140 R13: ffff88019664e8a8 R14: 0000000000000001 R15: 0000000000000721 FS: 00007fd7c1e10700(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000625208 CR3: 00000001b11a8000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: shmem_truncate_range+0x27/0xa0 mm/shmem.c:971 shmem_evict_inode+0x3b2/0xcb0 mm/shmem.c:1071 evict+0x4ae/0x990 fs/inode.c:558 iput_final fs/inode.c:1508 [inline] iput+0x635/0xaa0 fs/inode.c:1534 dentry_unlink_inode+0x4ae/0x640 fs/dcache.c:377 __dentry_kill+0x44c/0x7a0 fs/dcache.c:569 dentry_kill+0xc9/0x5a0 fs/dcache.c:688 dput.part.26+0x66b/0x7a0 fs/dcache.c:849 dput+0x15/0x20 fs/dcache.c:831 __fput+0x558/0x930 fs/file_table.c:235 ____fput+0x15/0x20 fs/file_table.c:251 task_work_run+0x1ec/0x2a0 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0x1b08/0x2750 kernel/exit.c:869 do_group_exit+0x177/0x440 kernel/exit.c:972 get_signal+0x88e/0x1970 kernel/signal.c:2467 do_signal+0x9c/0x21c0 arch/x86/kernel/signal.c:816 exit_to_usermode_loop+0x2e0/0x370 arch/x86/entry/common.c:162 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:0x455ba9 Code: 1d ba fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 eb b9 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fd7c1e0fce8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 000000000072bec0 RCX: 0000000000455ba9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000000072bec0 RBP: 000000000072bec0 R08: 0000000000000035 R09: 000000000072bea0 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff8a7fbc8f R14: 00007fd7c1e109c0 R15: 0000000000000000 Modules linked in: Dumping ftrace buffer: (ftrace buffer empty) ---[ end trace 1cc2d92a1a99ccfb ]--- 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:ffff88019664e158 EFLAGS: 00010246 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff81aaab95 RDI: ffffed0032cc9c18 RBP: ffff88019664e8d0 R08: ffff88019cecc080 R09: ffffed003b5e4fc0 R10: ffffed003b5e4fc0 R11: ffff8801daf27e07 R12: ffffea0007099140 R13: ffff88019664e8a8 R14: 0000000000000001 R15: 0000000000000721 FS: 00007fd7c1e10700(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000625208 CR3: 00000001b11a8000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400