------------[ cut here ]------------ kernel BUG at include/linux/highmem.h:202! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 16632 Comm: syz-executor.4 Not tainted 5.10.0-rc4-next-20201123-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 ac 12 d8 ff 48 c7 c6 80 49 54 89 48 89 ef e8 3d b6 08 00 0f 0b e8 96 12 d8 ff <0f> 0b e8 8f 12 d8 ff 48 c7 c6 00 4a 54 89 48 89 ef e8 20 b6 08 00 RSP: 0018:ffffc90017cffa00 EFLAGS: 00010212 RAX: 0000000000013693 RBX: 0000000000200000 RCX: ffffc90011d37000 RDX: 0000000000040000 RSI: ffffffff8198788a RDI: 0000000000000005 RBP: ffffea0001e28000 R08: 0000000000000000 R09: ffffea0001e28007 R10: 0000000000001000 R11: 0000000000000000 R12: 00000000001fb8ff R13: 00000000001fb8ff R14: 0000000000004701 R15: ffffea0001e28008 FS: 00007faa603fe700(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000118c000 CR3: 0000000025883000 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_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:00007faa603fdc78 EFLAGS: 00000246 ORIG_RAX: 000000000000004c RAX: ffffffffffffffda RBX: 0000000000038100 RCX: 000000000045deb9 RDX: 0000000000000000 RSI: 0000000000004701 RDI: 0000000020000040 RBP: 000000000118bf58 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c R13: 00007fffffad578f R14: 00007faa603fe9c0 R15: 000000000118bf2c Modules linked in: ---[ end trace 428895aedee6133c ]--- 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 ac 12 d8 ff 48 c7 c6 80 49 54 89 48 89 ef e8 3d b6 08 00 0f 0b e8 96 12 d8 ff <0f> 0b e8 8f 12 d8 ff 48 c7 c6 00 4a 54 89 48 89 ef e8 20 b6 08 00 RSP: 0018:ffffc90017cffa00 EFLAGS: 00010212 RAX: 0000000000013693 RBX: 0000000000200000 RCX: ffffc90011d37000 RDX: 0000000000040000 RSI: ffffffff8198788a RDI: 0000000000000005 RBP: ffffea0001e28000 R08: 0000000000000000 R09: ffffea0001e28007 R10: 0000000000001000 R11: 0000000000000000 R12: 00000000001fb8ff R13: 00000000001fb8ff R14: 0000000000004701 R15: ffffea0001e28008 FS: 00007faa603fe700(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000118c000 CR3: 0000000025883000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400