RBP: 00007fffc31761b0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007fffc3177240 R13: 00007fb7e821089d R14: 00000000000aa0b4 R15: 00007fffc3177280 general protection fault, probably for non-canonical address 0xdffffc0000000005: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000028-0x000000000000002f] CPU: 1 PID: 4256 Comm: syz-executor Not tainted 6.1.139-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:gfs2_remove_from_journal+0x3bf/0x720 fs/gfs2/meta_io.c:350 Code: e1 80 e1 07 80 c1 03 38 c1 7c 2c 4c 89 e7 e8 f8 8a 43 fe eb 22 e8 a1 17 f2 fd 4c 8b 7c 24 10 4d 8d 67 2c 4c 89 e0 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 af 01 00 00 41 ff 04 24 49 8d 7f 18 be RSP: 0018:ffffc900045a7680 EFLAGS: 00010207 RAX: 0000000000000005 RBX: ffff888055f2d910 RCX: ffff88807c2c8000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001 RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed100b4599d7 R10: ffffed100b4599d7 R11: 1ffff1100b4599d6 R12: 000000000000002c R13: dffffc0000000000 R14: ffff88805a2cc000 R15: 0000000000000000 FS: 0000555565af0500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c26df7a CR3: 000000005c529000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: gfs2_discard fs/gfs2/aops.c:622 [inline] gfs2_invalidate_folio+0x5cd/0xa70 fs/gfs2/aops.c:656 folio_invalidate mm/truncate.c:158 [inline] truncate_cleanup_folio+0x218/0x5e0 mm/truncate.c:178 truncate_inode_pages_range+0x237/0xff0 mm/truncate.c:368 gfs2_evict_inode+0xab5/0x1170 fs/gfs2/super.c:1511 evict+0x485/0x870 fs/inode.c:705 gfs2_put_super+0x412/0x8c0 fs/gfs2/super.c:616 generic_shutdown_super+0x130/0x340 fs/super.c:501 kill_block_super+0x7c/0xe0 fs/super.c:1470 deactivate_locked_super+0x93/0xf0 fs/super.c:332 cleanup_mnt+0x463/0x4f0 fs/namespace.c:1186 task_work_run+0x1ca/0x250 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:177 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:303 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fb7e818fc97 Code: a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007fffc31760f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007fb7e821089d RCX: 00007fb7e818fc97 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fffc31761b0 RBP: 00007fffc31761b0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007fffc3177240 R13: 00007fb7e821089d R14: 00000000000aa0b4 R15: 00007fffc3177280 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:gfs2_remove_from_journal+0x3bf/0x720 fs/gfs2/meta_io.c:350 Code: e1 80 e1 07 80 c1 03 38 c1 7c 2c 4c 89 e7 e8 f8 8a 43 fe eb 22 e8 a1 17 f2 fd 4c 8b 7c 24 10 4d 8d 67 2c 4c 89 e0 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 af 01 00 00 41 ff 04 24 49 8d 7f 18 be RSP: 0018:ffffc900045a7680 EFLAGS: 00010207 RAX: 0000000000000005 RBX: ffff888055f2d910 RCX: ffff88807c2c8000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001 RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed100b4599d7 R10: ffffed100b4599d7 R11: 1ffff1100b4599d6 R12: 000000000000002c R13: dffffc0000000000 R14: ffff88805a2cc000 R15: 0000000000000000 FS: 0000555565af0500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c26df7a CR3: 000000005c529000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: e1 80 loope 0xffffff82 2: e1 07 loope 0xb 4: 80 c1 03 add $0x3,%cl 7: 38 c1 cmp %al,%cl 9: 7c 2c jl 0x37 b: 4c 89 e7 mov %r12,%rdi e: e8 f8 8a 43 fe call 0xfe438b0b 13: eb 22 jmp 0x37 15: e8 a1 17 f2 fd call 0xfdf217bb 1a: 4c 8b 7c 24 10 mov 0x10(%rsp),%r15 1f: 4d 8d 67 2c lea 0x2c(%r15),%r12 23: 4c 89 e0 mov %r12,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 0f b6 04 28 movzbl (%rax,%r13,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 af 01 00 00 jne 0x1e6 37: 41 ff 04 24 incl (%r12) 3b: 49 8d 7f 18 lea 0x18(%r15),%rdi 3f: be .byte 0xbe