------------[ cut here ]------------ kernel BUG at kernel/power/snapshot.c:257! Internal error: Oops - BUG: 0 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 2274 Comm: syz-executor.0 Not tainted 5.11.0-rc5-syzkaller-00328-g6642d600b541 #0 Hardware name: linux,dummy-virt (DT) pstate: 20400009 (nzCv daif +PAN -UAO -TCO BTYPE=--) pc : free_image_page kernel/power/snapshot.c:257 [inline] pc : free_image_page kernel/power/snapshot.c:253 [inline] pc : free_list_of_pages kernel/power/snapshot.c:274 [inline] pc : memory_bm_free+0x260/0x320 kernel/power/snapshot.c:726 lr : free_basic_memory_bitmaps+0x40/0x90 kernel/power/snapshot.c:1173 sp : ffff80001d6abc50 x29: ffff80001d6abc50 x28: f3ff00002a74b070 x27: ffff800012d7b000 x26: f3ff00002a74b008 x25: f4ff00002a9c3e00 x24: ffff800012d7b000 x23: 00007fffffffffff x22: f3ff00002a74b018 x21: 0000000000000001 x20: ffff8000132e76d0 x19: f4ff00002a9c3e00 x18: 0000000000000000 x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000000 x10: 0000000000000000 x9 : 0000000000000000 x8 : 0000000000000000 x7 : 0000000000000000 x6 : 00000000000001ff x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff8000132e76d0 x2 : f0ff00002a9c1000 x1 : 0000000000000001 x0 : 0f0000002a9c1000 Call trace: free_image_page kernel/power/snapshot.c:257 [inline] free_list_of_pages kernel/power/snapshot.c:274 [inline] memory_bm_free+0x260/0x320 kernel/power/snapshot.c:726 free_basic_memory_bitmaps+0x40/0x90 kernel/power/snapshot.c:1173 snapshot_release+0x78/0x90 kernel/power/user.c:120 __fput+0x78/0x230 fs/file_table.c:280 ____fput+0x14/0x20 fs/file_table.c:313 task_work_run+0x88/0x160 kernel/task_work.c:140 tracehook_notify_resume include/linux/tracehook.h:189 [inline] do_notify_resume+0x20c/0x13e0 arch/arm64/kernel/signal.c:939 work_pending+0xc/0x3d4 Code: cb000260 d34cfc00 97fcf5fe 35fffc20 (d4210000) ---[ end trace abba8780ebb93da6 ]---