------------[ cut here ]------------ kernel BUG at include/linux/highmem.h:202! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 12092 Comm: syz-executor.0 Not tainted 5.10.0-rc4-next-20201118-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 1c 12 d8 ff 48 c7 c6 00 44 54 89 48 89 ef e8 dd b5 08 00 0f 0b e8 06 12 d8 ff <0f> 0b e8 ff 11 d8 ff 48 c7 c6 80 44 54 89 48 89 ef e8 c0 b5 08 00 RSP: 0018:ffffc90002c77a00 EFLAGS: 00010212 RAX: 00000000000143ce RBX: 0000000000200000 RCX: ffffc9000ff00000 RDX: 0000000000040000 RSI: ffffffff819882ca RDI: 0000000000000005 RBP: ffffea0002530000 R08: 0000000000000000 R09: ffffea0002530007 R10: 0000000000001000 R11: 0000000000000000 R12: 00000000001fb8ff R13: 00000000001fb8ff R14: 0000000000004701 R15: ffffea0002530008 FS: 00007f718a84c700(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200003c0 CR3: 000000007b39c000 CR4: 00000000001506e0 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:00007f718a84bc78 EFLAGS: 00000246 ORIG_RAX: 000000000000004c RAX: ffffffffffffffda RBX: 00000000000380c0 RCX: 000000000045deb9 RDX: 0000000000000000 RSI: 0000000000004701 RDI: 0000000020000040 RBP: 000000000118bf58 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c R13: 00007ffcfa926f4f R14: 00007f718a84c9c0 R15: 000000000118bf2c Modules linked in: ---[ end trace 8de963d8f20e6b4a ]--- 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 1c 12 d8 ff 48 c7 c6 00 44 54 89 48 89 ef e8 dd b5 08 00 0f 0b e8 06 12 d8 ff <0f> 0b e8 ff 11 d8 ff 48 c7 c6 80 44 54 89 48 89 ef e8 c0 b5 08 00 RSP: 0018:ffffc90002c77a00 EFLAGS: 00010212 RAX: 00000000000143ce RBX: 0000000000200000 RCX: ffffc9000ff00000 RDX: 0000000000040000 RSI: ffffffff819882ca RDI: 0000000000000005 RBP: ffffea0002530000 R08: 0000000000000000 R09: ffffea0002530007 R10: 0000000000001000 R11: 0000000000000000 R12: 00000000001fb8ff R13: 00000000001fb8ff R14: 0000000000004701 R15: ffffea0002530008 FS: 00007f718a84c700(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200003c0 CR3: 000000007b39c000 CR4: 00000000001506e0