------------[ cut here ]------------ kernel BUG at include/linux/highmem.h:202! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 21620 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:ffffc90002c47a00 EFLAGS: 00010206 RAX: 000000000000ac70 RBX: 0000000000200000 RCX: ffffc9000d214000 RDX: 0000000000040000 RSI: ffffffff819882ca RDI: 0000000000000005 RBP: ffffea00022b0000 R08: 0000000000000000 R09: ffffea00022b0007 R10: 0000000000001000 R11: 0000000000000000 R12: 00000000001ffeff R13: 00000000001ffeff R14: 0000000000000101 R15: ffffea00022b0008 FS: 00007fb272802700(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000748138 CR3: 0000000086109000 CR4: 00000000001526f0 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_setattr+0x67a/0xc70 mm/shmem.c:1058 notify_change+0xb60/0x10a0 fs/attr.c:336 do_truncate+0x134/0x1f0 fs/open.c:64 vfs_truncate+0x49e/0x600 fs/open.c:110 do_sys_truncate.part.0+0x11e/0x140 fs/open.c:133 do_sys_truncate fs/open.c:127 [inline] __do_sys_truncate fs/open.c:145 [inline] __se_sys_truncate fs/open.c:143 [inline] __x64_sys_truncate+0x69/0x90 fs/open.c:143 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:00007fb272801c78 EFLAGS: 00000246 ORIG_RAX: 000000000000004c RAX: ffffffffffffffda RBX: 00000000000380c0 RCX: 000000000045deb9 RDX: 0000000000000000 RSI: 0000000000000101 RDI: 0000000020000180 RBP: 000000000118bf58 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c R13: 00007ffed59b862f R14: 00007fb2728029c0 R15: 000000000118bf2c Modules linked in: ---[ end trace 8d48a5f1f0caf79c ]--- 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:ffffc90002c47a00 EFLAGS: 00010206 RAX: 000000000000ac70 RBX: 0000000000200000 RCX: ffffc9000d214000 RDX: 0000000000040000 RSI: ffffffff819882ca RDI: 0000000000000005 RBP: ffffea00022b0000 R08: 0000000000000000 R09: ffffea00022b0007 R10: 0000000000001000 R11: 0000000000000000 R12: 00000000001ffeff R13: 00000000001ffeff R14: 0000000000000101 R15: ffffea00022b0008 FS: 00007fb272802700(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000748138 CR3: 0000000086109000 CR4: 00000000001526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400