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: 2 PID: 5191 Comm: syz-executor106 Not tainted 6.9.0-syzkaller-05151-g1b294a1f3561 #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+0xa9/0x170 fs/jfs/jfs_logmgr.c:208 Code: 41 ff d4 0f 1f 00 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 41 ff d4 0f 1f 00 48 8d RSP: 0018:ffffc900031dfc00 EFLAGS: 00010206 RAX: 0000000000000006 RBX: ffff8880167e7c00 RCX: ffffffff81bef51e RDX: 0000000000000000 RSI: ffffffff81bef4d1 RDI: 0000000000000030 RBP: dffffc0000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffffffff81bfbc50 R13: 0000000000000000 R14: ffff888030023800 R15: ffff888016ab8e40 FS: 00005555571c0380(0000) GS:ffff88806b200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdbc0ea0130 CR3: 0000000032038000 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:620 kill_block_super+0x3b/0x90 fs/super.c:1675 deactivate_locked_super+0xbe/0x1a0 fs/super.c:472 deactivate_super+0xde/0x100 fs/super.c:505 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+0xdc/0x260 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fdbc0e23577 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:00007ffcbed699a8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fdbc0e23577 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffcbed69a60 RBP: 00007ffcbed69a60 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000202 R12: 00007ffcbed6aad0 R13: 00005555571c16c0 R14: 431bde82d7b634db R15: 00007ffcbed6aaf0 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:write_special_inodes+0xa9/0x170 fs/jfs/jfs_logmgr.c:208 Code: 41 ff d4 0f 1f 00 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 41 ff d4 0f 1f 00 48 8d RSP: 0018:ffffc900031dfc00 EFLAGS: 00010206 RAX: 0000000000000006 RBX: ffff8880167e7c00 RCX: ffffffff81bef51e RDX: 0000000000000000 RSI: ffffffff81bef4d1 RDI: 0000000000000030 RBP: dffffc0000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffffffff81bfbc50 R13: 0000000000000000 R14: ffff888030023800 R15: ffff888016ab8e40 FS: 00005555571c0380(0000) GS:ffff88806b200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdbc0ea0130 CR3: 0000000032038000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 41 ff d4 call *%r12 3: 0f 1f 00 nopl (%rax) 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: 41 ff d4 call *%r12 3b: 0f 1f 00 nopl (%rax) 3e: 48 rex.W 3f: 8d .byte 0x8d