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 UID: 0 PID: 5860 Comm: syz-executor.2 Not tainted 6.11.0-syzkaller-ga940d9a43e62-dirty #0 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+0x71/0x170 fs/jfs/jfs_logmgr.c:207 Code: df e8 03 f0 7e 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:ffffc9000433fc00 EFLAGS: 00010206 RAX: 0000000000000006 RBX: ffff88803512b800 RCX: ffffffff81bf432e RDX: ffff888043e10000 RSI: ffffffff830d545d RDI: 0000000000000030 RBP: dffffc0000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff81c011b0 R13: 0000000000000000 R14: ffff888045ef8800 R15: ffff8880236d9700 FS: 00005555864b1480(0000) GS:ffff88806a700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f077219e000 CR3: 0000000043996000 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:1696 deactivate_locked_super+0xbe/0x1a0 fs/super.c:473 deactivate_super+0xde/0x100 fs/super.c:506 cleanup_mnt+0x222/0x450 fs/namespace.c:1373 task_work_run+0x14e/0x250 kernel/task_work.c:228 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+0x27b/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:0x7f0ab907e217 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:00007ffdef391c28 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f0ab907e217 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffdef391ce0 RBP: 00007ffdef391ce0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffdef392da0 R13: 00007f0ab90c8336 R14: 00000000000133fc R15: 0000000000000001 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:write_special_inodes+0x71/0x170 fs/jfs/jfs_logmgr.c:207 Code: df e8 03 f0 7e 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:ffffc9000433fc00 EFLAGS: 00010206 RAX: 0000000000000006 RBX: ffff88803512b800 RCX: ffffffff81bf432e RDX: ffff888043e10000 RSI: ffffffff830d545d RDI: 0000000000000030 RBP: dffffc0000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff81c011b0 R13: 0000000000000000 R14: ffff888045ef8800 R15: ffff8880236d9700 FS: 00005555864b1480(0000) GS:ffff88806a600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000561f676ae018 CR3: 0000000043996000 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 f0 add %eax,%esi 4: 7e fe jle 0x4 6: 48 8d 7b 10 lea 0x10(%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 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