ERROR: (device loop9): 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: 8510 Comm: syz.9.674 Not tainted 6.1.134-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106
assign_lock_key+0x230/0x260 kernel/locking/lockdep.c:974
register_lock_class+0x28a/0x990 kernel/locking/lockdep.c:1287
__lock_acquire+0xd3/0x1f80 kernel/locking/lockdep.c:4928
lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162
__wake_up_common_lock kernel/sched/wait.c:137 [inline]
__wake_up+0xfd/0x1c0 kernel/sched/wait.c:160
txEnd+0x88/0x560 fs/jfs/jfs_txnmgr.c:504
jfs_truncate_nolock+0x269/0x380 fs/jfs/inode.c:405
jfs_truncate fs/jfs/inode.c:417 [inline]
jfs_write_failed+0x11a/0x190 fs/jfs/inode.c:294
jfs_direct_IO+0x1b1/0x1e0 fs/jfs/inode.c:347
generic_file_direct_write+0x204/0x460 mm/filemap.c:3769
__generic_file_write_iter+0x1c4/0x400 mm/filemap.c:3929
generic_file_write_iter+0xab/0x310 mm/filemap.c:4005
call_write_iter include/linux/fs.h:2265 [inline]
new_sync_write fs/read_write.c:491 [inline]
vfs_write+0x857/0xbc0 fs/read_write.c:584
ksys_write+0x19c/0x2c0 fs/read_write.c:637
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fa85e38d169
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:00007fa85f1a2038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fa85e5a5fa0 RCX: 00007fa85e38d169
RDX: 0000000000000200 RSI: 0000000000000000 RDI: 0000000000000005
RBP: 00007fa85e40e990 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fa85e5a5fa0 R15: 00007ffee22037d8
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: 8510 Comm: syz.9.674 Not tainted 6.1.134-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:__wake_up_common+0x23d/0x4e0 kernel/sched/wait.c:-1
Code: 00 49 83 c4 40 4d 39 e7 0f 84 f1 01 00 00 45 31 f6 eb 09 4d 39 e7 0f 84 e3 01 00 00 4c 89 fb 49 8d 6f e8 4c 89 f8 48 c1 e8 03 <80> 3c 10 00 74 12 48 89 df e8 b5 2d 7a 00 48 ba 00 00 00 00 00 fc
RSP: 0018:ffffc90003c37878 EFLAGS: 00010046
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffffc90002619030
RBP: ffffffffffffffe8 R08: 0000000000000000 R09: ffffc90003c37920
R10: ffffffffffffffff R11: dffffc0000000001 R12: ffffc90002619070
R13: 1ffff92000786f24 R14: 0000000000000000 R15: 0000000000000000
FS: 00007fa85f1a26c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2f31fffc CR3: 0000000057be5000 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+0x11a/0x1c0 kernel/sched/wait.c:160
txEnd+0x88/0x560 fs/jfs/jfs_txnmgr.c:504
jfs_truncate_nolock+0x269/0x380 fs/jfs/inode.c:405
jfs_truncate fs/jfs/inode.c:417 [inline]
jfs_write_failed+0x11a/0x190 fs/jfs/inode.c:294
jfs_direct_IO+0x1b1/0x1e0 fs/jfs/inode.c:347
generic_file_direct_write+0x204/0x460 mm/filemap.c:3769
__generic_file_write_iter+0x1c4/0x400 mm/filemap.c:3929
generic_file_write_iter+0xab/0x310 mm/filemap.c:4005
call_write_iter include/linux/fs.h:2265 [inline]
new_sync_write fs/read_write.c:491 [inline]
vfs_write+0x857/0xbc0 fs/read_write.c:584
ksys_write+0x19c/0x2c0 fs/read_write.c:637
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fa85e38d169
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:00007fa85f1a2038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fa85e5a5fa0 RCX: 00007fa85e38d169
RDX: 0000000000000200 RSI: 0000000000000000 RDI: 0000000000000005
RBP: 00007fa85e40e990 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fa85e5a5fa0 R15: 00007ffee22037d8
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__wake_up_common+0x23d/0x4e0 kernel/sched/wait.c:-1
Code: 00 49 83 c4 40 4d 39 e7 0f 84 f1 01 00 00 45 31 f6 eb 09 4d 39 e7 0f 84 e3 01 00 00 4c 89 fb 49 8d 6f e8 4c 89 f8 48 c1 e8 03 <80> 3c 10 00 74 12 48 89 df e8 b5 2d 7a 00 48 ba 00 00 00 00 00 fc
RSP: 0018:ffffc90003c37878 EFLAGS: 00010046
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffffc90002619030
RBP: ffffffffffffffe8 R08: 0000000000000000 R09: ffffc90003c37920
R10: ffffffffffffffff R11: dffffc0000000001 R12: ffffc90002619070
R13: 1ffff92000786f24 R14: 0000000000000000 R15: 0000000000000000
FS: 00007fa85f1a26c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2f31fffc CR3: 0000000057be5000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 1 bytes skipped:
0: 49 83 c4 40 add $0x40,%r12
4: 4d 39 e7 cmp %r12,%r15
7: 0f 84 f1 01 00 00 je 0x1fe
d: 45 31 f6 xor %r14d,%r14d
10: eb 09 jmp 0x1b
12: 4d 39 e7 cmp %r12,%r15
15: 0f 84 e3 01 00 00 je 0x1fe
1b: 4c 89 fb mov %r15,%rbx
1e: 49 8d 6f e8 lea -0x18(%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 df mov %rbx,%rdi
32: e8 b5 2d 7a 00 call 0x7a2dec
37: 48 rex.W
38: ba 00 00 00 00 mov $0x0,%edx
3d: 00 fc add %bh,%ah