blkno = 10c0310000, nblocks = b900
ERROR: (device loop0): dbUpdatePMap: blocks are outside the map
ERROR: (device loop0): remounting filesystem as read-only
BUG: unable to handle page fault for address: ffff8880040b8040
#PF: supervisor write access in kernel mode
#PF: error_code(0x0003) - permissions violation
PGD 1aa0a067 P4D 1aa0a067 PUD 1aa0b067 PMD 80000000040001a1
Oops: Oops: 0003 [#1] SMP KASAN NOPTI
CPU: 0 UID: 0 PID: 110 Comm: jfsCommit Not tainted syzkaller #0 PREEMPT(full)
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:txAllocPMap+0x3d4/0x6b0 fs/jfs/jfs_txnmgr.c:2418
Code: 81 e5 ff ff ff 00 48 8b 7c 24 18 31 f6 48 89 ea 4c 89 e9 4c 8b 44 24 20 e8 d9 00 fb ff 42 0f b6 04 33 84 c0 0f 85 f7 00 00 00 <41> 80 24 24 fc 48 8b 44 24 28 42 0f b6 04 30 84 c0 0f 85 fb 00 00
RSP: 0018:ffffc900013e7bf0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 1ffff11000817008 RCX: 5f20dcac7359bc00
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: 00000010c0310000 R08: ffff88801fc24713 R09: 1ffff11003f848e2
R10: dffffc0000000000 R11: ffffed1003f848e3 R12: ffff8880040b8040
R13: 000000000000b900 R14: dffffc0000000000 R15: ffff8880040b8040
FS: 0000000000000000(0000) GS:ffff88808c815000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff8880040b8040 CR3: 0000000012e4f000 CR4: 0000000000352ef0
Call Trace:
<TASK>
txUpdateMap+0x2c0/0x9f0 fs/jfs/jfs_txnmgr.c:2310
txLazyCommit fs/jfs/jfs_txnmgr.c:2666 [inline]
jfs_lazycommit+0x44c/0xac0 fs/jfs/jfs_txnmgr.c:2735
kthread+0x388/0x470 kernel/kthread.c:436
ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
</TASK>
Modules linked in:
CR2: ffff8880040b8040
---[ end trace 0000000000000000 ]---
RIP: 0010:txAllocPMap+0x3d4/0x6b0 fs/jfs/jfs_txnmgr.c:2418
Code: 81 e5 ff ff ff 00 48 8b 7c 24 18 31 f6 48 89 ea 4c 89 e9 4c 8b 44 24 20 e8 d9 00 fb ff 42 0f b6 04 33 84 c0 0f 85 f7 00 00 00 <41> 80 24 24 fc 48 8b 44 24 28 42 0f b6 04 30 84 c0 0f 85 fb 00 00
RSP: 0018:ffffc900013e7bf0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 1ffff11000817008 RCX: 5f20dcac7359bc00
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: 00000010c0310000 R08: ffff88801fc24713 R09: 1ffff11003f848e2
R10: dffffc0000000000 R11: ffffed1003f848e3 R12: ffff8880040b8040
R13: 000000000000b900 R14: dffffc0000000000 R15: ffff8880040b8040
FS: 0000000000000000(0000) GS:ffff88808c815000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff8880040b8040 CR3: 0000000012e4f000 CR4: 0000000000352ef0
----------------
Code disassembly (best guess):
0: 81 e5 ff ff ff 00 and $0xffffff,%ebp
6: 48 8b 7c 24 18 mov 0x18(%rsp),%rdi
b: 31 f6 xor %esi,%esi
d: 48 89 ea mov %rbp,%rdx
10: 4c 89 e9 mov %r13,%rcx
13: 4c 8b 44 24 20 mov 0x20(%rsp),%r8
18: e8 d9 00 fb ff call 0xfffb00f6
1d: 42 0f b6 04 33 movzbl (%rbx,%r14,1),%eax
22: 84 c0 test %al,%al
24: 0f 85 f7 00 00 00 jne 0x121
* 2a: 41 80 24 24 fc andb $0xfc,(%r12) <-- trapping instruction
2f: 48 8b 44 24 28 mov 0x28(%rsp),%rax
34: 42 0f b6 04 30 movzbl (%rax,%r14,1),%eax
39: 84 c0 test %al,%al
3b: 0f .byte 0xf
3c: 85 fb test %edi,%ebx