syzbot


kernel BUG in direntry_check_right

Status: upstream: reported C repro on 2025/03/26 15:43
Bug presence: origin:lts-only
Labels: missing-backport
[Documentation on labels]
Reported-by: syzbot+c8047ec9b25cceccad70@syzkaller.appspotmail.com
First crash: 357d, last: 10d
Fix bisection: failed (error log, bisect log)
  
Bug presence (2)
Date Name Commit Repro Result
2026/01/01 linux-6.1.y (ToT) 50cbba13faa2 C [report] kernel BUG in direntry_check_right
2026/01/01 upstream (ToT) b69053dd3ffb C Didn't crash
Similar bugs (4)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 kernel BUG in direntry_check_right reiserfs -1 syz error 1 1178d 1178d 0/1 upstream: reported syz repro on 2022/12/26 20:36
upstream kernel BUG in direntry_check_right fs -1 C done done 2 817d 860d 25/29 fixed on 2024/01/30 15:47
linux-5.15 kernel BUG in direntry_check_right origin:lts-only -1 C error 111 20d 214d 0/3 upstream: reported C repro on 2025/08/16 17:50
linux-6.6 kernel BUG in direntry_check_right -1 1 68d 68d 0/2 upstream: reported on 2026/01/10 05:16
Fix bisection attempts (4)
Created Duration User Patch Repo Result
2026/02/22 00:45 1m fix candidate upstream error job log
2026/01/22 22:24 1m fix candidate upstream error job log
2025/09/12 00:07 2h17m fix candidate upstream OK (0) job log
2025/04/29 06:54 18m 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 r5 hash to sort names
REISERFS (device loop0): using 3.5.x disk format
REISERFS warning (device loop0): vs-13060 reiserfs_update_sd_size: stat data of object [1 2 0x0 SD] (nlink == 4) not found (pos 2)
REISERFS (device loop0): Created .reiserfs_priv - reserved for xattr storage.
------------[ cut here ]------------
kernel BUG at fs/reiserfs/item_ops.c:569!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 4410 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
RIP: 0010:direntry_check_right+0x262/0x270 fs/reiserfs/item_ops.c:569
Code: e9 4b ff ff ff 44 89 f9 80 e1 07 38 c1 0f 8c 51 ff ff ff be 04 00 00 00 4c 89 ff e8 38 5f b6 ff e9 3f ff ff ff e8 6e 73 65 ff <0f> 0b e8 67 73 65 ff 0f 0b 0f 1f 44 00 00 55 41 57 41 56 41 55 41
RSP: 0018:ffffc90003437078 EFLAGS: 00010293
RAX: ffffffff821cff42 RBX: dffffc0000000000 RCX: ffff888073b90000
RDX: 0000000000000000 RSI: 0000000000000020 RDI: 0000000000000041
RBP: ffff88805d8b412a R08: ffff888073b90000 R09: 0000000000000004
R10: 00000000ffffffff R11: 0000000000000000 R12: ffff88805d8b4126
R13: 0000000000000020 R14: fffffffffffffffe R15: 0000000000000021
FS:  000055557bbd3500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2dd63fff CR3: 000000007dccf000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 check_right+0x4ea/0x7f0 fs/reiserfs/fix_node.c:355
 dc_check_balance_leaf fs/reiserfs/fix_node.c:1983 [inline]
 dc_check_balance fs/reiserfs/fix_node.c:2039 [inline]
 check_balance fs/reiserfs/fix_node.c:2086 [inline]
 fix_nodes+0x3e24/0x8340 fs/reiserfs/fix_node.c:2635
 reiserfs_cut_from_item+0x33e/0x1fc0 fs/reiserfs/stree.c:1742
 reiserfs_do_truncate+0xa09/0x1390 fs/reiserfs/stree.c:1973
 reiserfs_truncate_file+0x47c/0x7d0 fs/reiserfs/inode.c:2310
 reiserfs_file_release+0x942/0xad0 fs/reiserfs/file.c:109
 __fput+0x22c/0x920 fs/file_table.c:320
 task_work_run+0x1d0/0x260 kernel/task_work.c:203
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:177
 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:210
 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline]
 syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:303
 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f4f4839c799
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd6048a9f8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007ffd6048aae0 RCX: 00007f4f4839c799
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 0000000000016e29 R08: 0000000000000001 R09: 0000000000000000
R10: 0000001b2d120000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f4f48615fac R14: 00007f4f48615fa8 R15: 00007f4f48615fa0
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:direntry_check_right+0x262/0x270 fs/reiserfs/item_ops.c:569
Code: e9 4b ff ff ff 44 89 f9 80 e1 07 38 c1 0f 8c 51 ff ff ff be 04 00 00 00 4c 89 ff e8 38 5f b6 ff e9 3f ff ff ff e8 6e 73 65 ff <0f> 0b e8 67 73 65 ff 0f 0b 0f 1f 44 00 00 55 41 57 41 56 41 55 41
RSP: 0018:ffffc90003437078 EFLAGS: 00010293
RAX: ffffffff821cff42 RBX: dffffc0000000000 RCX: ffff888073b90000
RDX: 0000000000000000 RSI: 0000000000000020 RDI: 0000000000000041
RBP: ffff88805d8b412a R08: ffff888073b90000 R09: 0000000000000004
R10: 00000000ffffffff R11: 0000000000000000 R12: ffff88805d8b4126
R13: 0000000000000020 R14: fffffffffffffffe R15: 0000000000000021
FS:  000055557bbd3500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2dd63fff CR3: 000000007dccf000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (44):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/03/08 19:38 linux-6.1.y f2ddafa93a25 5cb44a80 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-1-kasan kernel BUG in direntry_check_right
2025/12/29 22:45 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-1-kasan kernel BUG in direntry_check_right
2025/03/27 02:58 linux-6.1.y 344a09659766 20510e88 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-1-kasan-arm64 kernel BUG in direntry_check_right
2025/03/27 02:07 linux-6.1.y 344a09659766 20510e88 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-1-kasan-arm64 kernel BUG in direntry_check_right
2025/12/29 19:49 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in direntry_check_right
2025/12/11 19:27 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in direntry_check_right
2025/12/11 19:27 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in direntry_check_right
2025/12/11 19:26 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in direntry_check_right
2025/12/10 01:15 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in direntry_check_right
2025/12/03 20:36 linux-6.1.y f6e38ae624cf d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in direntry_check_right
2025/10/26 18:30 linux-6.1.y 8e6e2188d949 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in direntry_check_right
2025/10/26 01:53 linux-6.1.y 8e6e2188d949 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in direntry_check_right
2025/10/26 01:53 linux-6.1.y 8e6e2188d949 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in direntry_check_right
2025/10/25 19:19 linux-6.1.y 8e6e2188d949 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in direntry_check_right
2025/10/25 19:18 linux-6.1.y 8e6e2188d949 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in direntry_check_right
2025/10/25 19:13 linux-6.1.y 8e6e2188d949 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in direntry_check_right
2025/10/25 19:13 linux-6.1.y 8e6e2188d949 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in direntry_check_right
2025/10/25 14:11 linux-6.1.y 8e6e2188d949 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in direntry_check_right
2025/10/25 14:09 linux-6.1.y 8e6e2188d949 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in direntry_check_right
2025/10/25 14:09 linux-6.1.y 8e6e2188d949 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in direntry_check_right
2025/10/25 14:02 linux-6.1.y 8e6e2188d949 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in direntry_check_right
2025/09/18 15:51 linux-6.1.y 3db754f56897 e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in direntry_check_right
2025/09/17 16:58 linux-6.1.y 3db754f56897 e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in direntry_check_right
2026/02/04 06:18 linux-6.1.y cd9b81672742 42b01fab .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in direntry_check_right
2025/12/19 00:55 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in direntry_check_right
2025/12/09 21:24 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in direntry_check_right
2025/12/05 23:15 linux-6.1.y f6e38ae624cf d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in direntry_check_right
2025/12/04 14:13 linux-6.1.y f6e38ae624cf d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in direntry_check_right
2025/12/01 18:37 linux-6.1.y f6e38ae624cf d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in direntry_check_right
2025/11/04 21:30 linux-6.1.y f6e38ae624cf 686bf657 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in direntry_check_right
2025/10/25 13:40 linux-6.1.y 8e6e2188d949 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in direntry_check_right
2025/10/25 11:55 linux-6.1.y 8e6e2188d949 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in direntry_check_right
2025/10/25 10:23 linux-6.1.y 8e6e2188d949 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in direntry_check_right
2025/10/25 09:37 linux-6.1.y 8e6e2188d949 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in direntry_check_right
2025/10/25 09:35 linux-6.1.y 8e6e2188d949 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in direntry_check_right
2025/10/25 09:35 linux-6.1.y 8e6e2188d949 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in direntry_check_right
2025/10/25 09:30 linux-6.1.y 8e6e2188d949 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in direntry_check_right
2025/10/25 09:29 linux-6.1.y 8e6e2188d949 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in direntry_check_right
2025/10/16 23:24 linux-6.1.y c2fda4b3f577 19568248 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in direntry_check_right
2025/09/23 04:19 linux-6.1.y 363a599da6d9 0ac7291c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in direntry_check_right
2025/09/18 19:16 linux-6.1.y 3db754f56897 e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in direntry_check_right
2025/09/18 19:14 linux-6.1.y 3db754f56897 e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in direntry_check_right
2025/09/18 19:13 linux-6.1.y 3db754f56897 e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in direntry_check_right
2025/03/26 15:42 linux-6.1.y 344a09659766 89d30d73 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in direntry_check_right
* Struck through repros no longer work on HEAD.