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 UID: 0 PID: 17373 Comm: syz.4.2118 Not tainted 6.17.0-rc1-syzkaller-00111-g24ea63ea3877 #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
assign_lock_key+0x133/0x150 kernel/locking/lockdep.c:984
register_lock_class+0x105/0x320 kernel/locking/lockdep.c:1299
__lock_acquire+0x99/0xd20 kernel/locking/lockdep.c:5112
lock_acquire+0x120/0x360 kernel/locking/lockdep.c:5868
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0xa7/0xf0 kernel/locking/spinlock.c:162
__wake_up_common_lock+0x2f/0x1f0 kernel/sched/wait.c:124
txEnd+0x8a/0x530 fs/jfs/jfs_txnmgr.c:504
jfs_mkdir+0x344/0xa70 fs/jfs/namei.c:293
vfs_mkdir+0x306/0x510 fs/namei.c:4366
do_mkdirat+0x247/0x590 fs/namei.c:4399
__do_sys_mkdirat fs/namei.c:4416 [inline]
__se_sys_mkdirat fs/namei.c:4414 [inline]
__x64_sys_mkdirat+0x87/0xa0 fs/namei.c:4414
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7faf3f78ebe9
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:00007faf3d9d5038 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 00007faf3f9b6090 RCX: 00007faf3f78ebe9
RDX: 0000000000000000 RSI: 0000200000000100 RDI: ffffffffffffff9c
RBP: 00007faf3f811e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007faf3f9b6128 R14: 00007faf3f9b6090 R15: 00007ffe539ff038
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] SMP KASAN NOPTI
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 1 UID: 0 PID: 17373 Comm: syz.4.2118 Not tainted 6.17.0-rc1-syzkaller-00111-g24ea63ea3877 #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:__wake_up_common kernel/sched/wait.c:104 [inline]
RIP: 0010:__wake_up_common_lock+0xd3/0x1f0 kernel/sched/wait.c:125
Code: fd 0f 84 d1 00 00 00 8b 6c 24 04 eb 13 48 ba 00 00 00 00 00 fc ff df 4d 39 fd 0f 84 b8 00 00 00 4d 89 ee 4c 89 e8 48 c1 e8 03 <80> 3c 10 00 74 12 4c 89 f7 e8 cf 72 88 00 48 ba 00 00 00 00 00 fc
RSP: 0018:ffffc9000e18faa0 EFLAGS: 00010056
RAX: 0000000000000000 RBX: 0000000000000002 RCX: dffffc0000000000
RDX: dffffc0000000000 RSI: 0000000000000004 RDI: ffffc9000e18f980
RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff52001c31f30 R12: ffff88807e4c0bc0
R13: 0000000000000000 R14: 0000000000000000 R15: ffffc90002719070
FS: 00007faf3d9d56c0(0000) GS:ffff888125d1c000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000692000 CR3: 000000009c8b6000 CR4: 0000000000350ef0
Call Trace:
txEnd+0x8a/0x530 fs/jfs/jfs_txnmgr.c:504
jfs_mkdir+0x344/0xa70 fs/jfs/namei.c:293
vfs_mkdir+0x306/0x510 fs/namei.c:4366
do_mkdirat+0x247/0x590 fs/namei.c:4399
__do_sys_mkdirat fs/namei.c:4416 [inline]
__se_sys_mkdirat fs/namei.c:4414 [inline]
__x64_sys_mkdirat+0x87/0xa0 fs/namei.c:4414
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7faf3f78ebe9
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:00007faf3d9d5038 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 00007faf3f9b6090 RCX: 00007faf3f78ebe9
RDX: 0000000000000000 RSI: 0000200000000100 RDI: ffffffffffffff9c
RBP: 00007faf3f811e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007faf3f9b6128 R14: 00007faf3f9b6090 R15: 00007ffe539ff038
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__wake_up_common kernel/sched/wait.c:104 [inline]
RIP: 0010:__wake_up_common_lock+0xd3/0x1f0 kernel/sched/wait.c:125
Code: fd 0f 84 d1 00 00 00 8b 6c 24 04 eb 13 48 ba 00 00 00 00 00 fc ff df 4d 39 fd 0f 84 b8 00 00 00 4d 89 ee 4c 89 e8 48 c1 e8 03 <80> 3c 10 00 74 12 4c 89 f7 e8 cf 72 88 00 48 ba 00 00 00 00 00 fc
RSP: 0018:ffffc9000e18faa0 EFLAGS: 00010056
RAX: 0000000000000000 RBX: 0000000000000002 RCX: dffffc0000000000
RDX: dffffc0000000000 RSI: 0000000000000004 RDI: ffffc9000e18f980
RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff52001c31f30 R12: ffff88807e4c0bc0
R13: 0000000000000000 R14: 0000000000000000 R15: ffffc90002719070
FS: 00007faf3d9d56c0(0000) GS:ffff888125d1c000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000692000 CR3: 000000009c8b6000 CR4: 0000000000350ef0
----------------
Code disassembly (best guess):
0: fd std
1: 0f 84 d1 00 00 00 je 0xd8
7: 8b 6c 24 04 mov 0x4(%rsp),%ebp
b: eb 13 jmp 0x20
d: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx
14: fc ff df
17: 4d 39 fd cmp %r15,%r13
1a: 0f 84 b8 00 00 00 je 0xd8
20: 4d 89 ee mov %r13,%r14
23: 4c 89 e8 mov %r13,%rax
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 80 3c 10 00 cmpb $0x0,(%rax,%rdx,1) <-- trapping instruction
2e: 74 12 je 0x42
30: 4c 89 f7 mov %r14,%rdi
33: e8 cf 72 88 00 call 0x887307
38: 48 rex.W
39: ba 00 00 00 00 mov $0x0,%edx
3e: 00 fc add %bh,%ah