loop6: detected capacity change from 0 to 40427 Oops: general protection fault, probably for non-canonical address 0xec2c282c2c2c2c2c: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: maybe wild-memory-access in range [0x6161616161616160-0x6161616161616167] CPU: 0 UID: 0 PID: 14989 Comm: syz.6.1391 Not tainted 6.13.0-rc3-next-20241220-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__debug_check_no_obj_freed lib/debugobjects.c:1089 [inline] RIP: 0010:debug_check_no_obj_freed+0x2b8/0x580 lib/debugobjects.c:1129 Code: e8 0d 18 00 00 41 ff c7 48 8b 44 24 38 48 85 c0 0f 84 a4 02 00 00 49 89 c4 49 89 c5 49 c1 ed 03 48 b8 00 00 00 00 00 fc ff df <41> 80 7c 05 00 00 74 08 4c 89 e7 e8 d8 5c 39 fd 49 8b 04 24 48 89 RSP: 0018:ffffc90003337340 EFLAGS: 00010002 RAX: dffffc0000000000 RBX: ffff888035083018 RCX: dffffc0000000000 RDX: dffffc0000000000 RSI: 0000000000000004 RDI: ffffc90003337220 RBP: ffffc900033374a0 R08: 0000000000000003 R09: fffff52000666e44 R10: dffffc0000000000 R11: fffff52000666e44 R12: 6161616161616161 R13: 0c2c2c2c2c2c2c2c R14: ffff88805f108238 R15: 0000000000000003 FS: 00007f8bbed856c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056335c5a8680 CR3: 0000000032b08000 CR4: 00000000003526f0 Call Trace: free_pages_prepare mm/page_alloc.c:1134 [inline] free_unref_folios+0x55d/0x18b0 mm/page_alloc.c:2707 folios_put_refs+0x76c/0x860 mm/swap.c:990 folio_batch_release include/linux/pagevec.h:101 [inline] shmem_undo_range+0x593/0x1820 mm/shmem.c:1112 shmem_truncate_range mm/shmem.c:1224 [inline] shmem_evict_inode+0x29b/0xa80 mm/shmem.c:1352 evict+0x4e8/0x9a0 fs/inode.c:796 __dentry_kill+0x20d/0x630 fs/dcache.c:625 dput+0x19f/0x2b0 fs/dcache.c:867 __fput+0x60b/0x9f0 fs/file_table.c:458 task_work_run+0x24f/0x310 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x13f/0x340 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8bbdf8498a Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 43 91 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 a3 91 02 00 8b 44 24 RSP: 002b:00007f8bbed84e50 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: ffffffffffffffff RCX: 00007f8bbdf8498a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000008 RBP: 0000000000000008 R08: 0000000000000000 R09: 000000000000001f R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 R13: 00007f8bbed84eb0 R14: 0000000000005519 R15: 00000000200003c0 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__debug_check_no_obj_freed lib/debugobjects.c:1089 [inline] RIP: 0010:debug_check_no_obj_freed+0x2b8/0x580 lib/debugobjects.c:1129 Code: e8 0d 18 00 00 41 ff c7 48 8b 44 24 38 48 85 c0 0f 84 a4 02 00 00 49 89 c4 49 89 c5 49 c1 ed 03 48 b8 00 00 00 00 00 fc ff df <41> 80 7c 05 00 00 74 08 4c 89 e7 e8 d8 5c 39 fd 49 8b 04 24 48 89 RSP: 0018:ffffc90003337340 EFLAGS: 00010002 RAX: dffffc0000000000 RBX: ffff888035083018 RCX: dffffc0000000000 RDX: dffffc0000000000 RSI: 0000000000000004 RDI: ffffc90003337220 RBP: ffffc900033374a0 R08: 0000000000000003 R09: fffff52000666e44 R10: dffffc0000000000 R11: fffff52000666e44 R12: 6161616161616161 R13: 0c2c2c2c2c2c2c2c R14: ffff88805f108238 R15: 0000000000000003 FS: 00007f8bbed856c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056335c5a8680 CR3: 0000000032b08000 CR4: 00000000003526f0 ---------------- Code disassembly (best guess): 0: e8 0d 18 00 00 call 0x1812 5: 41 ff c7 inc %r15d 8: 48 8b 44 24 38 mov 0x38(%rsp),%rax d: 48 85 c0 test %rax,%rax 10: 0f 84 a4 02 00 00 je 0x2ba 16: 49 89 c4 mov %rax,%r12 19: 49 89 c5 mov %rax,%r13 1c: 49 c1 ed 03 shr $0x3,%r13 20: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 27: fc ff df * 2a: 41 80 7c 05 00 00 cmpb $0x0,0x0(%r13,%rax,1) <-- trapping instruction 30: 74 08 je 0x3a 32: 4c 89 e7 mov %r12,%rdi 35: e8 d8 5c 39 fd call 0xfd395d12 3a: 49 8b 04 24 mov (%r12),%rax 3e: 48 rex.W 3f: 89 .byte 0x89