syzbot


WARNING in jfs_rename

Status: upstream: reported C repro on 2025/05/09 04:43
Subsystems: jfs
[Documentation on labels]
Reported-by: syzbot+9131ddfd7870623b719f@syzkaller.appspotmail.com
First crash: 4d10h, last: 3d21h
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: WARNING in jfs_rename (log)
Repro: C syz .config
  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [jfs?] WARNING in jfs_rename 0 (1) 2025/05/09 04:43
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in jfs_rename C 4 4d09h 4d09h 0/3 upstream: reported C repro on 2025/05/05 05:04
linux-6.1 WARNING in jfs_rename origin:upstream C 4 4d09h 4d09h 0/3 upstream: reported C repro on 2025/05/05 04:58

Sample crash report:
loop0: detected capacity change from 0 to 32768
------------[ cut here ]------------
WARNING: CPU: 0 PID: 5817 at fs/inode.c:417 drop_nlink+0xc5/0x110 fs/inode.c:417
Modules linked in:
CPU: 0 UID: 0 PID: 5817 Comm: syz-executor227 Not tainted 6.15.0-rc5-syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/29/2025
RIP: 0010:drop_nlink+0xc5/0x110 fs/inode.c:417
Code: 70 07 00 00 be 08 00 00 00 e8 b7 84 e8 ff f0 48 ff 83 70 07 00 00 5b 41 5c 41 5e 41 5f 5d c3 cc cc cc cc cc e8 0c b3 88 ff 90 <0f> 0b 90 eb 81 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 5b ff ff ff
RSP: 0018:ffffc90003fa78b0 EFLAGS: 00010293
RAX: ffffffff82371c54 RBX: ffff888078bd8d68 RCX: ffff888079695a00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffea0001d573b7 R09: 1ffffd40003aae76
R10: dffffc0000000000 R11: fffff940003aae77 R12: 1ffff1100f17b1b6
R13: 1ffff920007f4f28 R14: ffff888078bd8db0 R15: dffffc0000000000
FS:  000055556b6af380(0000) GS:ffff8881260fd000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000066c7e0 CR3: 0000000075764000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 jfs_rename+0xbb3/0x1610 fs/jfs/namei.c:1247
 vfs_rename+0xb99/0xec0 fs/namei.c:5121
 do_renameat2+0x878/0xc50 fs/namei.c:5270
 __do_sys_rename fs/namei.c:5317 [inline]
 __se_sys_rename fs/namei.c:5315 [inline]
 __x64_sys_rename+0x82/0x90 fs/namei.c:5315
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fe20dc55639
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc472e5298 EFLAGS: 00000246 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 00007ffc472e5478 RCX: 00007fe20dc55639
RDX: 0000000000000000 RSI: 0000200000000780 RDI: 00002000000003c0
RBP: 00007fe20dcce610 R08: 0000000000006221 R09: 0000000000000000
R10: 00007ffc472e5160 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffc472e5468 R14: 0000000000000001 R15: 0000000000000001
 </TASK>

Crashes (10):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/05/05 17:24 upstream 92a09c47464d 6ca47dd8 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-upstream-fs WARNING in jfs_rename
2025/05/05 16:54 upstream 92a09c47464d 6ca47dd8 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-upstream-fs WARNING in jfs_rename
2025/05/05 16:25 upstream 92a09c47464d 6ca47dd8 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-upstream-fs WARNING in jfs_rename
2025/05/05 05:19 upstream 14c55b7bb0a8 b0714e37 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-upstream-fs WARNING in jfs_rename
2025/05/05 04:57 upstream 14c55b7bb0a8 b0714e37 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-upstream-fs WARNING in jfs_rename
2025/05/05 05:12 upstream 92a09c47464d b0714e37 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci-snapshot-upstream-root WARNING in jfs_rename
2025/05/05 11:49 upstream 92a09c47464d b0714e37 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in jfs_rename
2025/05/05 11:49 upstream 92a09c47464d b0714e37 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in jfs_rename
2025/05/05 04:35 upstream 14c55b7bb0a8 b0714e37 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in jfs_rename
2025/05/05 04:50 upstream 92a09c47464d b0714e37 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in jfs_rename
* Struck through repros no longer work on HEAD.