general protection fault, probably for non-canonical address 0xdffffc0000000006: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000030-0x0000000000000037] CPU: 1 PID: 108 Comm: jfsCommit Not tainted 6.1.138-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 RIP: 0010:write_special_inodes fs/jfs/jfs_logmgr.c:208 [inline] RIP: 0010:lmLogSync+0x135/0x9c0 fs/jfs/jfs_logmgr.c:935 Code: 01 bd fe 4d 8d 7e f0 4c 89 f8 48 c1 e8 03 80 3c 18 00 74 08 4c 89 ff e8 f9 59 e4 fe 4d 8b 3f 49 83 c7 30 4c 89 f8 48 c1 e8 03 <80> 3c 18 00 74 08 4c 89 ff e8 dd 59 e4 fe 49 8b 3f e8 85 01 bd fe RSP: 0018:ffffc90002d47c60 EFLAGS: 00010206 RAX: 0000000000000006 RBX: dffffc0000000000 RCX: 16319252b6b3ca00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90002d47d68 R08: dffffc0000000000 R09: ffffc90002d47b84 R10: fffff520005a8f79 R11: 1ffff920005a8f70 R12: ffff8880570c8000 R13: dffffc0000000000 R14: ffff888078647638 R15: 0000000000000030 FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f37ecf7d2d8 CR3: 000000005b3b7000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: jfs_syncpt+0x77/0x90 fs/jfs/jfs_logmgr.c:1041 txEnd+0x2e1/0x520 fs/jfs/jfs_txnmgr.c:549 txLazyCommit fs/jfs/jfs_txnmgr.c:2684 [inline] jfs_lazycommit+0x5a2/0xa50 fs/jfs/jfs_txnmgr.c:2732 kthread+0x29d/0x330 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:write_special_inodes fs/jfs/jfs_logmgr.c:208 [inline] RIP: 0010:lmLogSync+0x135/0x9c0 fs/jfs/jfs_logmgr.c:935 Code: 01 bd fe 4d 8d 7e f0 4c 89 f8 48 c1 e8 03 80 3c 18 00 74 08 4c 89 ff e8 f9 59 e4 fe 4d 8b 3f 49 83 c7 30 4c 89 f8 48 c1 e8 03 <80> 3c 18 00 74 08 4c 89 ff e8 dd 59 e4 fe 49 8b 3f e8 85 01 bd fe RSP: 0018:ffffc90002d47c60 EFLAGS: 00010206 RAX: 0000000000000006 RBX: dffffc0000000000 RCX: 16319252b6b3ca00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90002d47d68 R08: dffffc0000000000 R09: ffffc90002d47b84 R10: fffff520005a8f79 R11: 1ffff920005a8f70 R12: ffff8880570c8000 R13: dffffc0000000000 R14: ffff888078647638 R15: 0000000000000030 FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c2f69a8 CR3: 0000000066051000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 01 bd fe 4d 8d 7e add %edi,0x7e8d4dfe(%rbp) 6: f0 4c 89 f8 lock mov %r15,%rax a: 48 c1 e8 03 shr $0x3,%rax e: 80 3c 18 00 cmpb $0x0,(%rax,%rbx,1) 12: 74 08 je 0x1c 14: 4c 89 ff mov %r15,%rdi 17: e8 f9 59 e4 fe call 0xfee45a15 1c: 4d 8b 3f mov (%r15),%r15 1f: 49 83 c7 30 add $0x30,%r15 23: 4c 89 f8 mov %r15,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 80 3c 18 00 cmpb $0x0,(%rax,%rbx,1) <-- trapping instruction 2e: 74 08 je 0x38 30: 4c 89 ff mov %r15,%rdi 33: e8 dd 59 e4 fe call 0xfee45a15 38: 49 8b 3f mov (%r15),%rdi 3b: e8 85 01 bd fe call 0xfebd01c5