BUG: Bad page state in process syz-executor.0 pfn:7eb87 page:ffffea0001fae1c0 count:0 mapcount:0 mapping:ffff88808fe7ad40 index:0x0 shmem_aops name:"memfd:" flags: 0x1fffc000008000e(referenced|uptodate|dirty|swapbacked) raw: 01fffc000008000e dead000000000100 dead000000000200 ffff88808fe7ad40 raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: non-NULL mapping Modules linked in: CPU: 1 PID: 8642 Comm: syz-executor.0 Not tainted 5.0.0-rc7-next-20190221 #40 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x172/0x1f0 lib/dump_stack.c:113 bad_page.cold+0xda/0xff mm/page_alloc.c:586 free_pages_check_bad+0x142/0x1a0 mm/page_alloc.c:1013 free_pages_check mm/page_alloc.c:1022 [inline] free_pages_prepare mm/page_alloc.c:1112 [inline] free_pcp_prepare mm/page_alloc.c:1137 [inline] free_unref_page_prepare mm/page_alloc.c:3001 [inline] free_unref_page+0x3c6/0x600 mm/page_alloc.c:3050 __put_single_page mm/swap.c:79 [inline] __put_page+0x8d/0xd0 mm/swap.c:113 put_page include/linux/mm.h:1026 [inline] page_cache_pipe_buf_release+0x12b/0x180 fs/splice.c:94 pipe_buf_release include/linux/pipe_fs_i.h:129 [inline] iter_file_splice_write+0x7d1/0xbe0 fs/splice.c:759 do_splice_from fs/splice.c:847 [inline] direct_splice_actor+0x126/0x1a0 fs/splice.c:1019 splice_direct_to_actor+0x369/0x970 fs/splice.c:974 do_splice_direct+0x1da/0x2a0 fs/splice.c:1062 do_sendfile+0x597/0xd00 fs/read_write.c:1442 __do_sys_sendfile64 fs/read_write.c:1503 [inline] __se_sys_sendfile64 fs/read_write.c:1489 [inline] __x64_sys_sendfile64+0x1dd/0x220 fs/read_write.c:1489 do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457e29 Code: ad b8 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 7b b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fe2259a3c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000457e29 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000003 RBP: 000000000073c040 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000400 R11: 0000000000000246 R12: 00007fe2259a46d4 R13: 00000000004c4dce R14: 00000000004d8af8 R15: 00000000ffffffff