do_group_exit+0x168/0x2d0 kernel/exit.c:922 get_signal+0x16b0/0x2080 kernel/signal.c:2808 arch_do_signal_or_restart+0x8e/0x6d0 arch/x86/kernel/signal.c:865 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0x191/0x220 kernel/entry/common.c:209 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x26/0x60 kernel/entry/common.c:302 do_syscall_64+0x4c/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae ------------[ cut here ]------------ kernel BUG at mm/filemap.c:2041! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 12137 Comm: syz-executor.0 Not tainted 5.14.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:find_lock_entries+0x10d5/0x1110 mm/filemap.c:2041 Code: e8 b0 36 d8 ff 4c 89 e7 48 c7 c6 20 70 39 8a e8 71 bf 0d 00 0f 0b e8 9a 36 d8 ff 4c 89 e7 48 c7 c6 40 62 39 8a e8 5b bf 0d 00 <0f> 0b e8 84 36 d8 ff 4c 89 e7 48 c7 c6 80 6a 39 8a e8 45 bf 0d 00 RSP: 0018:ffffc9000b2c77e0 EFLAGS: 00010246 RAX: 46bbb7e0299b1800 RBX: 0000000000000400 RCX: ffff88802cdbd4c0 RDX: 0000000000000000 RSI: 000000000000ffff RDI: 000000000000ffff RBP: ffffc9000b2c7930 R08: ffffffff81d085e4 R09: ffffed1017389798 R10: ffffed1017389798 R11: 0000000000000000 R12: ffffea0001318000 R13: 0000000000000400 R14: fffffffffffffffe R15: 00000000000004c0 FS: 00007fde97e44700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055ff66440b20 CR3: 000000003529b000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: shmem_undo_range+0x1ea/0x1a60 mm/shmem.c:910 shmem_truncate_range mm/shmem.c:1030 [inline] shmem_setattr+0x4f0/0x890 mm/shmem.c:1091 notify_change+0xbb8/0x1060 fs/attr.c:398 do_truncate fs/open.c:64 [inline] vfs_truncate+0x6be/0x880 fs/open.c:112 do_sys_truncate fs/open.c:135 [inline] __do_sys_truncate fs/open.c:147 [inline] __se_sys_truncate fs/open.c:145 [inline] __x64_sys_truncate+0x110/0x1b0 fs/open.c:145 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665e9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fde97e44188 EFLAGS: 00000246 ORIG_RAX: 000000000000004c RAX: ffffffffffffffda RBX: 000000000056c038 RCX: 00000000004665e9 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000020000340 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c038 R13: 00007fff9e33571f R14: 00007fde97e44300 R15: 0000000000022000 Modules linked in: ---[ end trace 426a6eda0648f26d ]--- RIP: 0010:find_lock_entries+0x10d5/0x1110 mm/filemap.c:2041 Code: e8 b0 36 d8 ff 4c 89 e7 48 c7 c6 20 70 39 8a e8 71 bf 0d 00 0f 0b e8 9a 36 d8 ff 4c 89 e7 48 c7 c6 40 62 39 8a e8 5b bf 0d 00 <0f> 0b e8 84 36 d8 ff 4c 89 e7 48 c7 c6 80 6a 39 8a e8 45 bf 0d 00 RSP: 0018:ffffc9000b2c77e0 EFLAGS: 00010246 RAX: 46bbb7e0299b1800 RBX: 0000000000000400 RCX: ffff88802cdbd4c0 RDX: 0000000000000000 RSI: 000000000000ffff RDI: 000000000000ffff RBP: ffffc9000b2c7930 R08: ffffffff81d085e4 R09: ffffed1017389798 R10: ffffed1017389798 R11: 0000000000000000 R12: ffffea0001318000 R13: 0000000000000400 R14: fffffffffffffffe R15: 00000000000004c0 FS: 00007fde97e44700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055ff66440b20 CR3: 000000003529b000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400