general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 PID: 5411 Comm: syz-executor.0 Not tainted 6.6.0-rc4-next-20231003-syzkaller-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:lbmStartIO+0xb7/0x3a0 fs/jfs/jfs_logmgr.c:2116 Code: fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 cf 02 00 00 48 b8 00 00 00 00 00 fc ff df 49 8b 5c 24 20 48 89 da 48 c1 ea 03 <80> 3c 02 00 0f 85 86 02 00 00 48 8b 3b ba 01 08 00 00 b9 40 0c 00 RSP: 0018:ffffc90004f87ab8 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff82fd8ed3 RDX: 0000000000000000 RSI: ffffffff82fd8ee1 RDI: ffff88807b192020 RBP: ffff888140accf00 R08: 0000000000000005 R09: 0000000000000003 R10: 0000000000000002 R11: ffffffff910d9a18 R12: ffff88807b192000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000002 FS: 0000555556f96480(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555556f9f938 CR3: 000000007b52f000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lbmWrite+0x32e/0x470 fs/jfs/jfs_logmgr.c:2067 lmNextPage.isra.0+0x278/0x700 fs/jfs/jfs_logmgr.c:616 lmWriteRecord+0xb6d/0x12a0 fs/jfs/jfs_logmgr.c:529 lmLogSync+0x182/0x820 fs/jfs/jfs_logmgr.c:969 jfs_syncpt+0x89/0xa0 fs/jfs/jfs_logmgr.c:1041 jfs_sync_fs+0x83/0xa0 fs/jfs/super.c:685 sync_filesystem fs/sync.c:56 [inline] sync_filesystem+0x109/0x280 fs/sync.c:30 generic_shutdown_super+0x7e/0x3c0 fs/super.c:669 kill_block_super+0x3b/0x90 fs/super.c:1652 deactivate_locked_super+0xbc/0x1a0 fs/super.c:484 deactivate_super+0xde/0x100 fs/super.c:517 cleanup_mnt+0x222/0x3d0 fs/namespace.c:1256 task_work_run+0x14d/0x240 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x215/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1d/0x60 kernel/entry/common.c:296 do_syscall_64+0x44/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f8ded27de17 Code: b0 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 b0 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffee20dbc08 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f8ded27de17 RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007ffee20dbcc0 RBP: 00007ffee20dbcc0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffee20dcd80 R13: 00007f8ded2c73b9 R14: 0000000000020fc9 R15: 0000000000000001 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:lbmStartIO+0xb7/0x3a0 fs/jfs/jfs_logmgr.c:2116 Code: fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 cf 02 00 00 48 b8 00 00 00 00 00 fc ff df 49 8b 5c 24 20 48 89 da 48 c1 ea 03 <80> 3c 02 00 0f 85 86 02 00 00 48 8b 3b ba 01 08 00 00 b9 40 0c 00 RSP: 0018:ffffc90004f87ab8 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff82fd8ed3 RDX: 0000000000000000 RSI: ffffffff82fd8ee1 RDI: ffff88807b192020 RBP: ffff888140accf00 R08: 0000000000000005 R09: 0000000000000003 R10: 0000000000000002 R11: ffffffff910d9a18 R12: ffff88807b192000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000002 FS: 0000555556f96480(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8ded398000 CR3: 000000007b52f000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: df 48 89 fisttps -0x77(%rax) 3: fa cli 4: 48 c1 ea 03 shr $0x3,%rdx 8: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) c: 0f 85 cf 02 00 00 jne 0x2e1 12: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 19: fc ff df 1c: 49 8b 5c 24 20 mov 0x20(%r12),%rbx 21: 48 89 da mov %rbx,%rdx 24: 48 c1 ea 03 shr $0x3,%rdx * 28: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2c: 0f 85 86 02 00 00 jne 0x2b8 32: 48 8b 3b mov (%rbx),%rdi 35: ba 01 08 00 00 mov $0x801,%edx 3a: b9 .byte 0xb9 3b: 40 0c 00 rex or $0x0,%al