syzbot


WARNING in reiserfs_lookup (2)

Status: upstream: reported on 2025/05/13 14:33
Reported-by: syzbot+2b163b03d87021c84d92@syzkaller.appspotmail.com
First crash: 66d, last: 2d10h
Similar bugs (4)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in reiserfs_lookup -1 3 725d 766d 0/3 auto-obsoleted due to no activity on 2023/10/31 18:44
linux-6.1 WARNING in reiserfs_lookup -1 6 460d 630d 0/3 auto-obsoleted due to no activity on 2024/07/23 04:34
upstream WARNING in reiserfs_lookup reiserfs -1 C inconclusive done 1259 549d 1057d 0/29 auto-obsoleted due to no activity on 2024/04/28 17:50
linux-5.15 WARNING in reiserfs_lookup (2) missing-backport origin:upstream -1 C error 15 17d 474d 0/3 upstream: reported C repro on 2024/03/31 03:45

Sample crash report:
loop2: detected capacity change from 0 to 32768
------------[ cut here ]------------
DEBUG_LOCKS_WARN_ON(lock->magic != lock)
WARNING: CPU: 1 PID: 2314 at kernel/locking/mutex.c:582 __mutex_lock_common kernel/locking/mutex.c:582 [inline]
WARNING: CPU: 1 PID: 2314 at kernel/locking/mutex.c:582 __mutex_lock+0xa24/0xaf0 kernel/locking/mutex.c:747
Modules linked in:
CPU: 1 PID: 2314 Comm: syz.2.10623 Not tainted 6.1.145-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:__mutex_lock_common kernel/locking/mutex.c:582 [inline]
RIP: 0010:__mutex_lock+0xa24/0xaf0 kernel/locking/mutex.c:747
Code: 04 28 84 c0 0f 85 b7 00 00 00 83 3d 6d c6 fe 03 00 0f 85 e0 f6 ff ff 48 c7 c7 e0 ee 8b 8a 48 c7 c6 80 ef 8b 8a e8 0c 14 2c f7 <0f> 0b e9 c6 f6 ff ff 0f 0b e9 6c f9 ff ff 48 c7 c1 20 91 be 96 80
RSP: 0018:ffffc9001d05fa20 EFLAGS: 00010246
RAX: 1a264b009547c700 RBX: ffff888079d62c28 RCX: 0000000000080000
RDX: ffffc90005d2b000 RSI: 0000000000004323 RDI: 0000000000004324
RBP: ffffc9001d05fb80 R08: dffffc0000000000 R09: ffffed10171e4f34
R10: ffffed10171e4f34 R11: 1ffff110171e4f33 R12: 0000000000000000
R13: dffffc0000000000 R14: ffff888079d62cb8 R15: 0000000000000000
FS:  00007fe7107c96c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8dea7a4000 CR3: 000000007ec98000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 reiserfs_write_lock+0x75/0xd0 fs/reiserfs/lock.c:27
 reiserfs_lookup+0x137/0x420 fs/reiserfs/namei.c:364
 lookup_one_qstr_excl+0x10e/0x240 fs/namei.c:1605
 do_unlinkat+0x188/0x560 fs/namei.c:4374
 __do_sys_unlinkat fs/namei.c:4433 [inline]
 __se_sys_unlinkat fs/namei.c:4426 [inline]
 __x64_sys_unlinkat+0xd1/0xe0 fs/namei.c:4426
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fe70f98e929
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:00007fe7107c9038 EFLAGS: 00000246 ORIG_RAX: 0000000000000107
RAX: ffffffffffffffda RBX: 00007fe70fbb5fa0 RCX: 00007fe70f98e929
RDX: 0000000000000000 RSI: 0000200000000380 RDI: ffffffffffffff9c
RBP: 00007fe70fa10b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fe70fbb5fa0 R15: 00007ffe52d54b58
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/07/16 07:25 linux-6.1.y f2198ea7eb3e 124ec9cc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in reiserfs_lookup
2025/05/13 14:32 linux-6.1.y 02b72ccb5f9d 7344edeb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in reiserfs_lookup
* Struck through repros no longer work on HEAD.