lmLogOpen: exit(-22)
ERROR: (device loop3): txBegin: read-only filesystem
ERROR: (device loop3): remounting filesystem as read-only
jfs_dirty_inode called on read-only volume
Is remount racy?
jfs_dirty_inode called on read-only volume
Is remount racy?
INFO: trying to register non-static key.
The code is fine but needs lockdep annotation, or maybe
you didn't initialize this object before use?
turning off the locking correctness validator.
CPU: 1 PID: 5306 Comm: syz.3.170 Not tainted 5.15.182-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025
Call Trace:
dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106
assign_lock_key+0x1e0/0x1f0 kernel/locking/lockdep.c:937
register_lock_class+0x20e/0x880 kernel/locking/lockdep.c:1250
__lock_acquire+0x160/0x7c60 kernel/locking/lockdep.c:4891
lock_acquire+0x197/0x3f0 kernel/locking/lockdep.c:5623
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0xa4/0xf0 kernel/locking/spinlock.c:162
__wake_up_common_lock kernel/sched/wait.c:137 [inline]
__wake_up+0xed/0x180 kernel/sched/wait.c:157
txEnd+0x86/0x520 fs/jfs/jfs_txnmgr.c:504
jfs_truncate_nolock+0x1f7/0x2d0 fs/jfs/inode.c:411
jfs_truncate+0xca/0x140 fs/jfs/inode.c:423
jfs_setattr+0x3e4/0x610 fs/jfs/file.c:119
notify_change+0xbcd/0xee0 fs/attr.c:505
do_truncate+0x197/0x220 fs/open.c:65
vfs_truncate+0x262/0x2f0 fs/open.c:111
do_sys_truncate+0xdc/0x190 fs/open.c:134
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f67501b0969
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f674e018038 EFLAGS: 00000246 ORIG_RAX: 000000000000004c
RAX: ffffffffffffffda RBX: 00007f67503d7fa0 RCX: 00007f67501b0969
RDX: 0000000000000000 RSI: 0000000000008008 RDI: 00002000000000c0
RBP: 00007f6750232ab1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f67503d7fa0 R15: 00007ffccc2d7968
general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 1 PID: 5306 Comm: syz.3.170 Not tainted 5.15.182-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025
RIP: 0010:__wake_up_common+0x23c/0x4e0 kernel/sched/wait.c:101
Code: 24 00 00 00 00 49 83 c5 40 4d 39 ef 0f 84 ed 01 00 00 45 31 f6 eb 09 4d 39 ef 0f 84 df 01 00 00 4c 89 fd 4c 89 f8 48 c1 e8 03 <80> 3c 10 00 74 12 48 89 ef e8 26 27 64 00 48 ba 00 00 00 00 00 fc
RSP: 0018:ffffc900139bf9b8 EFLAGS: 00010046
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffffc90002611030
RBP: 0000000000000000 R08: 0000000000000000 R09: ffffc900139bfa60
R10: fffff52002737f20 R11: 1ffff92002737f20 R12: 0000000000000a06
R13: ffffc90002611070 R14: 0000000000000000 R15: 0000000000000000
FS: 00007f674e0186c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd728faf000 CR3: 0000000060308000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__wake_up_common_lock kernel/sched/wait.c:138 [inline]
__wake_up+0x108/0x180 kernel/sched/wait.c:157
txEnd+0x86/0x520 fs/jfs/jfs_txnmgr.c:504
jfs_truncate_nolock+0x1f7/0x2d0 fs/jfs/inode.c:411
jfs_truncate+0xca/0x140 fs/jfs/inode.c:423
jfs_setattr+0x3e4/0x610 fs/jfs/file.c:119
notify_change+0xbcd/0xee0 fs/attr.c:505
do_truncate+0x197/0x220 fs/open.c:65
vfs_truncate+0x262/0x2f0 fs/open.c:111
do_sys_truncate+0xdc/0x190 fs/open.c:134
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f67501b0969
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f674e018038 EFLAGS: 00000246 ORIG_RAX: 000000000000004c
RAX: ffffffffffffffda RBX: 00007f67503d7fa0 RCX: 00007f67501b0969
RDX: 0000000000000000 RSI: 0000000000008008 RDI: 00002000000000c0
RBP: 00007f6750232ab1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f67503d7fa0 R15: 00007ffccc2d7968
Modules linked in:
---[ end trace 73804effc6f7c989 ]---
RIP: 0010:__wake_up_common+0x23c/0x4e0 kernel/sched/wait.c:101
Code: 24 00 00 00 00 49 83 c5 40 4d 39 ef 0f 84 ed 01 00 00 45 31 f6 eb 09 4d 39 ef 0f 84 df 01 00 00 4c 89 fd 4c 89 f8 48 c1 e8 03 <80> 3c 10 00 74 12 48 89 ef e8 26 27 64 00 48 ba 00 00 00 00 00 fc
RSP: 0018:ffffc900139bf9b8 EFLAGS: 00010046
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffffc90002611030
RBP: 0000000000000000 R08: 0000000000000000 R09: ffffc900139bfa60
R10: fffff52002737f20 R11: 1ffff92002737f20 R12: 0000000000000a06
R13: ffffc90002611070 R14: 0000000000000000 R15: 0000000000000000
FS: 00007f674e0186c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd728faf000 CR3: 0000000060308000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 1 bytes skipped:
0: 00 00 add %al,(%rax)
2: 00 00 add %al,(%rax)
4: 49 83 c5 40 add $0x40,%r13
8: 4d 39 ef cmp %r13,%r15
b: 0f 84 ed 01 00 00 je 0x1fe
11: 45 31 f6 xor %r14d,%r14d
14: eb 09 jmp 0x1f
16: 4d 39 ef cmp %r13,%r15
19: 0f 84 df 01 00 00 je 0x1fe
1f: 4c 89 fd mov %r15,%rbp
22: 4c 89 f8 mov %r15,%rax
25: 48 c1 e8 03 shr $0x3,%rax
* 29: 80 3c 10 00 cmpb $0x0,(%rax,%rdx,1) <-- trapping instruction
2d: 74 12 je 0x41
2f: 48 89 ef mov %rbp,%rdi
32: e8 26 27 64 00 call 0x64275d
37: 48 rex.W
38: ba 00 00 00 00 mov $0x0,%edx
3d: 00 fc add %bh,%ah