------------[ cut here ]------------ kernel BUG at include/linux/highmem.h:202! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 19387 Comm: syz-executor.3 Not tainted 5.10.0-rc4-next-20201120-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 0c 10 d8 ff 48 c7 c6 00 48 54 89 48 89 ef e8 3d b6 08 00 0f 0b e8 f6 0f d8 ff <0f> 0b e8 ef 0f d8 ff 48 c7 c6 80 48 54 89 48 89 ef e8 20 b6 08 00 RSP: 0018:ffffc9000bad7ab0 EFLAGS: 00010216 RAX: 0000000000011594 RBX: 0000000000200000 RCX: ffffc9000f8e7000 RDX: 0000000000040000 RSI: ffffffff8198852a RDI: 0000000000000005 RBP: ffffea0002370000 R08: 0000000000000000 R09: ffffea0002370007 R10: 0000000000001000 R11: 0000000000000000 R12: 00000000001f30ff R13: 00000000001f30ff R14: 000000000000cf01 R15: ffffea0002370008 FS: 00007f2660ef7700(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f325000 CR3: 00000000261c6000 CR4: 00000000001506f0 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 do_sys_ftruncate+0x703/0x860 fs/open.c:195 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:00007f2660ef6c78 EFLAGS: 00000246 ORIG_RAX: 000000000000004d RAX: ffffffffffffffda RBX: 0000000000003e00 RCX: 000000000045deb9 RDX: 0000000000000000 RSI: 000000000000cf01 RDI: 0000000000000005 RBP: 000000000118bf58 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c R13: 00007ffe4d8bda7f R14: 00007f2660ef79c0 R15: 000000000118bf2c Modules linked in: ---[ end trace e1759c9bb79c7cb3 ]--- 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 0c 10 d8 ff 48 c7 c6 00 48 54 89 48 89 ef e8 3d b6 08 00 0f 0b e8 f6 0f d8 ff <0f> 0b e8 ef 0f d8 ff 48 c7 c6 80 48 54 89 48 89 ef e8 20 b6 08 00 RSP: 0018:ffffc9000bad7ab0 EFLAGS: 00010216 RAX: 0000000000011594 RBX: 0000000000200000 RCX: ffffc9000f8e7000 RDX: 0000000000040000 RSI: ffffffff8198852a RDI: 0000000000000005 RBP: ffffea0002370000 R08: 0000000000000000 R09: ffffea0002370007 R10: 0000000000001000 R11: 0000000000000000 R12: 00000000001f30ff R13: 00000000001f30ff R14: 000000000000cf01 R15: ffffea0002370008 FS: 00007f2660ef7700(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f325000 CR3: 00000000261c6000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400