------------[ cut here ]------------ kernel BUG at include/linux/highmem.h:202! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 11356 Comm: syz-executor.2 Not tainted 5.10.0-rc4-next-20201117-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:zero_user_segments include/linux/highmem.h:202 [inline] RIP: 0010:zero_user include/linux/highmem.h:223 [inline] RIP: 0010:truncate_inode_partial_page+0x5aa/0x720 mm/truncate.c:264 Code: bc 01 00 00 00 e8 e6 f8 ff ff e9 e7 fe ff ff e8 2c 12 d8 ff 48 c7 c6 00 44 54 89 48 89 ef e8 dd b5 08 00 0f 0b e8 16 12 d8 ff <0f> 0b e8 0f 12 d8 ff 48 c7 c6 80 44 54 89 48 89 ef e8 c0 b5 08 00 RSP: 0018:ffffc900018ff9e8 EFLAGS: 00010216 RAX: 000000000000018f RBX: 000000000000ffe0 RCX: ffffc9000dcbb000 RDX: 0000000000040000 RSI: ffffffff819882ca RDI: 0000000000000005 RBP: ffffea0001a10000 R08: 0000000000000000 R09: ffffea0001a10007 R10: 0000000000001000 R11: 0000000000000000 R12: 000000000000ffe0 R13: 000000000000ffe0 R14: 0000000000000000 R15: ffffea0001a10008 FS: 00007f46e2347700(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000051d478 CR3: 00000000121b2000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: shmem_undo_range+0x6fd/0x18f0 mm/shmem.c:921 shmem_truncate_range mm/shmem.c:999 [inline] shmem_fallocate+0x9f6/0xe00 mm/shmem.c:2699 vfs_fallocate+0x48d/0xd70 fs/open.c:309 ksys_fallocate fs/open.c:332 [inline] __do_sys_fallocate fs/open.c:340 [inline] __se_sys_fallocate fs/open.c:338 [inline] __x64_sys_fallocate+0xcf/0x140 fs/open.c:338 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45deb9 Code: 0d b4 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 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f46e2346c78 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 0000000000002f40 RCX: 000000000045deb9 RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000004 RBP: 000000000118bf68 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000ffe0 R11: 0000000000000246 R12: 000000000118bf2c R13: 00007ffc9b65673f R14: 00007f46e23479c0 R15: 000000000118bf2c Modules linked in: ---[ end trace ed369e9e09b89726 ]--- RIP: 0010:zero_user_segments include/linux/highmem.h:202 [inline] RIP: 0010:zero_user include/linux/highmem.h:223 [inline] RIP: 0010:truncate_inode_partial_page+0x5aa/0x720 mm/truncate.c:264 Code: bc 01 00 00 00 e8 e6 f8 ff ff e9 e7 fe ff ff e8 2c 12 d8 ff 48 c7 c6 00 44 54 89 48 89 ef e8 dd b5 08 00 0f 0b e8 16 12 d8 ff <0f> 0b e8 0f 12 d8 ff 48 c7 c6 80 44 54 89 48 89 ef e8 c0 b5 08 00 RSP: 0018:ffffc900018ff9e8 EFLAGS: 00010216 RAX: 000000000000018f RBX: 000000000000ffe0 RCX: ffffc9000dcbb000 RDX: 0000000000040000 RSI: ffffffff819882ca RDI: 0000000000000005 RBP: ffffea0001a10000 R08: 0000000000000000 R09: ffffea0001a10007 R10: 0000000000001000 R11: 0000000000000000 R12: 000000000000ffe0 R13: 000000000000ffe0 R14: 0000000000000000 R15: ffffea0001a10008 FS: 00007f46e2347700(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000051d478 CR3: 00000000121b2000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400