Oops: general protection fault, probably for non-canonical address 0xdffffc0000000006: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000030-0x0000000000000037] CPU: 0 UID: 0 PID: 6482 Comm: syz-executor Not tainted 6.16.0-rc1-syzkaller-g2c4a1f3fe03e #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:write_special_inodes+0xa9/0x170 fs/jfs/jfs_logmgr.c:208 Code: 2e e8 22 01 b7 1c 48 8d 7b 28 48 89 f8 48 c1 e8 03 80 3c 28 00 0f 85 b1 00 00 00 4c 8b 6b 28 49 8d 7d 30 48 89 f8 48 c1 e8 03 <80> 3c 28 00 0f 85 8e 00 00 00 49 8b 7d 30 2e e8 ee 00 b7 1c 48 8d RSP: 0018:ffffc90004d1fc08 EFLAGS: 00010206 RAX: 0000000000000006 RBX: ffff888033814600 RCX: ffffffff81f369ce RDX: 0000000000000000 RSI: ffffffff81f36981 RDI: 0000000000000030 RBP: dffffc0000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffffffff81f43130 R13: 0000000000000000 R14: ffff8880383c0800 R15: ffff888029ca3380 FS: 000055558e8ee480(0000) GS:ffff8880d6754000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9ef60d56c6 CR3: 000000002b770000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lmLogSync+0x49e/0x820 fs/jfs/jfs_logmgr.c:937 jfs_syncpt+0x89/0xa0 fs/jfs/jfs_logmgr.c:1041 jfs_sync_fs+0x83/0xb0 fs/jfs/super.c:650 sync_filesystem+0x10e/0x290 fs/sync.c:56 generic_shutdown_super+0x74/0x390 fs/super.c:622 kill_block_super+0x3b/0x90 fs/super.c:1753 deactivate_locked_super+0xc1/0x1a0 fs/super.c:474 deactivate_super fs/super.c:507 [inline] deactivate_super+0xde/0x100 fs/super.c:503 cleanup_mnt+0x225/0x450 fs/namespace.c:1417 task_work_run+0x14d/0x240 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop+0xeb/0x110 kernel/entry/common.c:114 exit_to_user_mode_prepare include/linux/entry-common.h:330 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:414 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:449 [inline] do_syscall_64+0x3f6/0x4c0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f4849c7e217 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:00007fff77a25308 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f4849c7e217 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fff77a253c0 RBP: 00007fff77a253c0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007fff77a26480 R13: 00007f4849cc8336 R14: 0000000000013739 R15: 0000000000000001 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:write_special_inodes+0xa9/0x170 fs/jfs/jfs_logmgr.c:208 Code: 2e e8 22 01 b7 1c 48 8d 7b 28 48 89 f8 48 c1 e8 03 80 3c 28 00 0f 85 b1 00 00 00 4c 8b 6b 28 49 8d 7d 30 48 89 f8 48 c1 e8 03 <80> 3c 28 00 0f 85 8e 00 00 00 49 8b 7d 30 2e e8 ee 00 b7 1c 48 8d RSP: 0018:ffffc90004d1fc08 EFLAGS: 00010206 RAX: 0000000000000006 RBX: ffff888033814600 RCX: ffffffff81f369ce RDX: 0000000000000000 RSI: ffffffff81f36981 RDI: 0000000000000030 RBP: dffffc0000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffffffff81f43130 R13: 0000000000000000 R14: ffff8880383c0800 R15: ffff888029ca3380 FS: 000055558e8ee480(0000) GS:ffff8880d6754000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbd1b1bea10 CR3: 000000002b770000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 2e e8 22 01 b7 1c cs call 0x1cb70128 6: 48 8d 7b 28 lea 0x28(%rbx),%rdi a: 48 89 f8 mov %rdi,%rax d: 48 c1 e8 03 shr $0x3,%rax 11: 80 3c 28 00 cmpb $0x0,(%rax,%rbp,1) 15: 0f 85 b1 00 00 00 jne 0xcc 1b: 4c 8b 6b 28 mov 0x28(%rbx),%r13 1f: 49 8d 7d 30 lea 0x30(%r13),%rdi 23: 48 89 f8 mov %rdi,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 80 3c 28 00 cmpb $0x0,(%rax,%rbp,1) <-- trapping instruction 2e: 0f 85 8e 00 00 00 jne 0xc2 34: 49 8b 7d 30 mov 0x30(%r13),%rdi 38: 2e e8 ee 00 b7 1c cs call 0x1cb7012c 3e: 48 rex.W 3f: 8d .byte 0x8d