Oops: general protection fault, probably for non-canonical address 0xdffffc0000000006: 0000 [#1] PREEMPT SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000030-0x0000000000000037] CPU: 1 PID: 5210 Comm: syz-executor272 Not tainted 6.9.0-syzkaller-12277-g56fb6f92854f #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 RIP: 0010:write_special_inodes+0x71/0x170 fs/jfs/jfs_logmgr.c:207 Code: df e8 03 92 83 fe 48 8d 7b 10 48 89 f8 48 c1 e8 03 80 3c 28 00 0f 85 c0 00 00 00 4c 8b 6b 10 49 8d 7d 30 48 89 f8 48 c1 e8 03 <80> 3c 28 00 0f 85 da 00 00 00 49 8b 7d 30 41 ff d4 0f 1f 00 48 8d RSP: 0018:ffffc9000315fc00 EFLAGS: 00010206 RAX: 0000000000000006 RBX: ffff888025228000 RCX: ffffffff81bef3fe RDX: ffff888022828000 RSI: ffffffff830a51dd RDI: 0000000000000030 RBP: dffffc0000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffffffff81bfbcd0 R13: 0000000000000000 R14: ffff888023fc3800 R15: ffff888016abb8c0 FS: 0000555562d0c380(0000) GS:ffff88806b100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc5690efd8 CR3: 000000001e102000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lmLogSync+0x4a0/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:685 sync_filesystem+0x10d/0x290 fs/sync.c:56 generic_shutdown_super+0x7e/0x3d0 fs/super.c:621 kill_block_super+0x3b/0x90 fs/super.c:1676 deactivate_locked_super+0xbe/0x1a0 fs/super.c:473 deactivate_super+0xde/0x100 fs/super.c:506 cleanup_mnt+0x222/0x450 fs/namespace.c:1267 task_work_run+0x14e/0x250 kernel/task_work.c:180 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:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x278/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f4ceaa89677 Code: 07 00 48 83 c4 08 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffc5690f238 EFLAGS: 00000202 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 000000000002d794 RCX: 00007f4ceaa89677 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffc5690f2f0 RBP: 00007ffc5690f2f0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000202 R12: 00007ffc56910360 R13: 0000555562d0d6c0 R14: 431bde82d7b634db R15: 00007ffc56910380 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:write_special_inodes+0x71/0x170 fs/jfs/jfs_logmgr.c:207 Code: df e8 03 92 83 fe 48 8d 7b 10 48 89 f8 48 c1 e8 03 80 3c 28 00 0f 85 c0 00 00 00 4c 8b 6b 10 49 8d 7d 30 48 89 f8 48 c1 e8 03 <80> 3c 28 00 0f 85 da 00 00 00 49 8b 7d 30 41 ff d4 0f 1f 00 48 8d RSP: 0018:ffffc9000315fc00 EFLAGS: 00010206 RAX: 0000000000000006 RBX: ffff888025228000 RCX: ffffffff81bef3fe RDX: ffff888022828000 RSI: ffffffff830a51dd RDI: 0000000000000030 RBP: dffffc0000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffffffff81bfbcd0 R13: 0000000000000000 R14: ffff888023fc3800 R15: ffff888016abb8c0 FS: 0000555562d0c380(0000) GS:ffff88806b100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc5690efd8 CR3: 000000001e102000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: df e8 fucomip %st(0),%st 2: 03 92 83 fe 48 8d add -0x72b7017d(%rdx),%edx 8: 7b 10 jnp 0x1a 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 c0 00 00 00 jne 0xdb 1b: 4c 8b 6b 10 mov 0x10(%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 da 00 00 00 jne 0x10e 34: 49 8b 7d 30 mov 0x30(%r13),%rdi 38: 41 ff d4 call *%r12 3b: 0f 1f 00 nopl (%rax) 3e: 48 rex.W 3f: 8d .byte 0x8d