Is remount racy?
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: 12416 Comm: syz-executor.5 Not tainted 6.7.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106
assign_lock_key kernel/locking/lockdep.c:976 [inline]
register_lock_class+0xc1e/0x1220 kernel/locking/lockdep.c:1289
__lock_acquire+0x112/0x3b20 kernel/locking/lockdep.c:5014
lock_acquire kernel/locking/lockdep.c:5754 [inline]
lock_acquire+0x1ae/0x520 kernel/locking/lockdep.c:5719
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0x3a/0x50 kernel/locking/spinlock.c:162
__wake_up_common_lock kernel/sched/wait.c:105 [inline]
__wake_up+0x1c/0x50 kernel/sched/wait.c:127
txEnd+0x98/0x5a0 fs/jfs/jfs_txnmgr.c:504
jfs_rename+0xb42/0x19d0 fs/jfs/namei.c:1305
vfs_rename+0x13e0/0x1c30 fs/namei.c:4844
do_renameat2+0xc3c/0xdc0 fs/namei.c:4996
__do_sys_renameat2 fs/namei.c:5029 [inline]
__se_sys_renameat2 fs/namei.c:5026 [inline]
__x64_sys_renameat2+0xeb/0x130 fs/namei.c:5026
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f72ef07cce9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f72efdb40c8 EFLAGS: 00000246 ORIG_RAX: 000000000000013c
RAX: ffffffffffffffda RBX: 00007f72ef19c050 RCX: 00007f72ef07cce9
RDX: 0000000000000007 RSI: 00000000200001c0 RDI: 0000000000000007
RBP: 00007f72ef0c947a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000020000200 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f72ef19c050 R15: 00007ffd522adf68
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: 12416 Comm: syz-executor.5 Not tainted 6.7.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
RIP: 0010:__wake_up_common+0x9a/0x1d0 kernel/sched/wait.c:85
Code: 02 00 0f 85 46 01 00 00 48 8b 5b 40 48 8d 43 e8 4c 39 fb 0f 84 a4 00 00 00 48 ba 00 00 00 00 00 fc ff df 48 89 d9 48 c1 e9 03 <80> 3c 11 00 0f 85 03 01 00 00 49 bc 00 00 00 00 00 fc ff df 4c 8b
RSP: 0018:ffffc900033cf868 EFLAGS: 00010056
RAX: ffffffffffffffe8 RBX: 0000000000000000 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffffc900025c1030
RBP: 0000000000000000 R08: 0000000000000000 R09: fffff52000679f04
R10: 0000000000000003 R11: 0000000000000001 R12: 0000000000000003
R13: 0000000000000246 R14: 0000000000000000 R15: ffffc900025c1070
FS: 00007f72efdb46c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2454cee000 CR3: 0000000025b21000 CR4: 0000000000350ef0
Call Trace:
__wake_up_common_lock kernel/sched/wait.c:106 [inline]
__wake_up+0x31/0x50 kernel/sched/wait.c:127
txEnd+0x98/0x5a0 fs/jfs/jfs_txnmgr.c:504
jfs_rename+0xb42/0x19d0 fs/jfs/namei.c:1305
vfs_rename+0x13e0/0x1c30 fs/namei.c:4844
do_renameat2+0xc3c/0xdc0 fs/namei.c:4996
__do_sys_renameat2 fs/namei.c:5029 [inline]
__se_sys_renameat2 fs/namei.c:5026 [inline]
__x64_sys_renameat2+0xeb/0x130 fs/namei.c:5026
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f72ef07cce9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f72efdb40c8 EFLAGS: 00000246 ORIG_RAX: 000000000000013c
RAX: ffffffffffffffda RBX: 00007f72ef19c050 RCX: 00007f72ef07cce9
RDX: 0000000000000007 RSI: 00000000200001c0 RDI: 0000000000000007
RBP: 00007f72ef0c947a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000020000200 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f72ef19c050 R15: 00007ffd522adf68
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__wake_up_common+0x9a/0x1d0 kernel/sched/wait.c:85
Code: 02 00 0f 85 46 01 00 00 48 8b 5b 40 48 8d 43 e8 4c 39 fb 0f 84 a4 00 00 00 48 ba 00 00 00 00 00 fc ff df 48 89 d9 48 c1 e9 03 <80> 3c 11 00 0f 85 03 01 00 00 49 bc 00 00 00 00 00 fc ff df 4c 8b
RSP: 0018:ffffc900033cf868 EFLAGS: 00010056
RAX: ffffffffffffffe8 RBX: 0000000000000000 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffffc900025c1030
RBP: 0000000000000000 R08: 0000000000000000 R09: fffff52000679f04
R10: 0000000000000003 R11: 0000000000000001 R12: 0000000000000003
R13: 0000000000000246 R14: 0000000000000000 R15: ffffc900025c1070
FS: 00007f72efdb46c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2454cee000 CR3: 0000000025b21000 CR4: 0000000000350ef0
----------------
Code disassembly (best guess):
0: 02 00 add (%rax),%al
2: 0f 85 46 01 00 00 jne 0x14e
8: 48 8b 5b 40 mov 0x40(%rbx),%rbx
c: 48 8d 43 e8 lea -0x18(%rbx),%rax
10: 4c 39 fb cmp %r15,%rbx
13: 0f 84 a4 00 00 00 je 0xbd
19: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx
20: fc ff df
23: 48 89 d9 mov %rbx,%rcx
26: 48 c1 e9 03 shr $0x3,%rcx
* 2a: 80 3c 11 00 cmpb $0x0,(%rcx,%rdx,1) <-- trapping instruction
2e: 0f 85 03 01 00 00 jne 0x137
34: 49 bc 00 00 00 00 00 movabs $0xdffffc0000000000,%r12
3b: fc ff df
3e: 4c rex.WR
3f: 8b .byte 0x8b