WARNING in reiserfs_mkdir

Status: upstream: reported C repro on 2024/12/09 11:21
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+2778e0eefed09b215b38@syzkaller.appspotmail.com
First crash: 699d, last: 10d
Fix bisection: failed (error log, bisect log)
  
▶ ▼ Bug presence (2)
Date Name Commit Repro Result
2024/12/09 linux-6.1.y (ToT) e4d90d63d385 C [report] WARNING in reiserfs_mkdir
2024/12/09 upstream (ToT) 7cb1b4663150 C Didn't crash
▶ ▼ Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in reiserfs_mkdir origin:lts-only -1 syz, C done 4 14d 634d 0/3 upstream: reported C repro on 2025/02/12 06:02
▶ ▼ Fix bisection attempts (3)
Created Duration User Patch Repo Result
2025/08/15 00:39 1h38m fix candidate upstream OK (0) job log
2025/02/25 08:17 17m fix candidate upstream error job log
2025/02/12 00:27 13m bisect fix linux-6.1.y error job log

Sample crash report:
REISERFS (device loop0): journal params: device loop0, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30
REISERFS (device loop0): checking transaction log (loop0)
REISERFS (device loop0): Using tea hash to sort names
------------[ cut here ]------------
WARNING: CPU: 0 PID: 4504 at fs/inode.c:332 drop_nlink+0xe4/0x134 fs/inode.c:332
Modules linked in:
CPU: 0 PID: 4504 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/14/2026
pstate: 82400005 (Nzcv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--)
pc : drop_nlink+0xe4/0x134 fs/inode.c:332
lr : drop_nlink+0xe4/0x134 fs/inode.c:332
sp : ffff800021f376c0
x29: ffff800021f376c0 x28: ffff800021f37720 x27: dfff800000000000
x26: ffff7000043e6ee4 x25: ffff800021f37720 x24: 00000000ffffffff
x23: 1fffe0001ddea03b x22: ffff0000eef501d8 x21: dfff800000000000
x20: 0000000000000000 x19: ffff0000eef50190 x18: 1fffe00033c1877e
x17: 0000000000000000 x16: ffff8000082dd38c x15: ffff800008a455c0
x14: 0000000000000001 x13: 1ffff00002d90e5e x12: 0000000000000000
x11: ff00800008a20d20 x10: 0000000000000000 x9 : ffff800008a20d20
x8 : ffff0000d4720000 x7 : ffff80000805a5e8 x6 : ffff80000805a7f8
x5 : ffff0000ecd08df0 x4 : ffff800021f37058 x3 : 0000000000000000
x2 : 0000000000000006 x1 : 0000000000000000 x0 : 0000000000000000
Call trace:
 drop_nlink+0xe4/0x134 fs/inode.c:332
 reiserfs_mkdir+0x614/0x7d4 fs/reiserfs/namei.c:850
 xattr_mkdir fs/reiserfs/xattr.c:76 [inline]
 create_privroot fs/reiserfs/xattr.c:882 [inline]
 reiserfs_xattr_init+0x2b4/0x6a8 fs/reiserfs/xattr.c:1005
 reiserfs_fill_super+0x198c/0x1dbc fs/reiserfs/super.c:2175
 mount_bdev+0x264/0x35c fs/super.c:1454
 get_super_block+0x44/0x58 fs/reiserfs/super.c:2601
 legacy_get_tree+0xd8/0x174 fs/fs_context.c:632
 vfs_get_tree+0x90/0x278 fs/super.c:1584
 do_new_mount+0x228/0x804 fs/namespace.c:3078
 path_mount+0x5ac/0xe6c fs/namespace.c:3408
 do_mount fs/namespace.c:3421 [inline]
 __do_sys_mount fs/namespace.c:3629 [inline]
 __se_sys_mount fs/namespace.c:3606 [inline]
 __arm64_sys_mount+0x4a0/0x5a0 fs/namespace.c:3606
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x290 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x13c/0x258 arch/arm64/kernel/syscall.c:140
 do_el0_svc+0x5c/0x134 arch/arm64/kernel/syscall.c:204
 el0_svc+0x58/0x12c arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585
irq event stamp: 41264
hardirqs last  enabled at (41263): [<ffff8000083630cc>] call_rcu+0x5d8/0x958 kernel/rcu/tree.c:2884
hardirqs last disabled at (41264): [<ffff800011bcadc0>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405
softirqs last  enabled at (41188): [<ffff8000081ae3b4>] softirq_handle_end kernel/softirq.c:439 [inline]
softirqs last  enabled at (41188): [<ffff8000081ae3b4>] handle_softirqs+0xb1c/0xc90 kernel/softirq.c:624
softirqs last disabled at (41133): [<ffff800008020e6c>] __do_softirq+0x14/0x20 kernel/softirq.c:630
---[ end trace 0000000000000000 ]---
REISERFS warning (device loop0): jdm-20006 create_privroot: xattrs/ACLs enabled and couldn't find/create .reiserfs_priv. Failing mount.

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/10/28 22:14 linux-6.1.y 79807e970724 858db2ec .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-1-kasan-arm64 WARNING in reiserfs_mkdir
2025/01/09 09:23 linux-6.1.y 7dc732d24ff7 f3558dbf .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in reiserfs_mkdir
2024/12/09 12:13 linux-6.1.y e4d90d63d385 9ac0fdc6 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in reiserfs_mkdir
2024/12/09 11:48 linux-6.1.y e4d90d63d385 9ac0fdc6 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in reiserfs_mkdir
2024/12/09 11:20 linux-6.1.y e4d90d63d385 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in reiserfs_mkdir
* Struck through repros no longer work on HEAD.