kernel BUG in jffs2_sum_write_sumnode

Status: upstream: reported on 2026/09/17 08:59
Reported-by: syzbot+e4484dcf0982d86ca2e1@syzkaller.appspotmail.com
First crash: 8h58m, last: 8h58m
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 kernel BUG in jffs2_sum_write_sumnode -1 2 33d 33d 0/3 upstream: reported on 2026/08/15 05:15
upstream kernel BUG in jffs2_sum_write_sumnode (2) jffs2 prio:high -1 3 5d08h 11d 0/29 upstream: reported on 2026/09/06 12:10
upstream kernel BUG in jffs2_sum_write_sumnode jffs2 -1 4 886d 888d 0/29 auto-obsoleted due to no activity on 2024/07/23 08:54

Sample crash report:
jffs2: notice: (10721) jffs2_build_xattr_subsystem: complete building xattr subsystem, 6 of xdatum (4 unchecked, 0 orphan) and 6 of xref (0 dead, 0 orphan) found.
jffs2: warning: (10721) jffs2_sum_write_sumnode: Empty summary info!!!
------------[ cut here ]------------
kernel BUG at fs/jffs2/summary.c:868!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 10721 Comm: syz.1.1766 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:jffs2_sum_write_sumnode+0x25c8/0x25e0 fs/jffs2/summary.c:868
Code: 14 89 d9 80 e1 07 80 c1 03 38 c1 7c 08 48 89 df e8 bd dd 02 ff 8b 33 48 c7 c7 20 e6 fe 8a 48 c7 c2 5b a3 a6 8c e8 d8 89 a8 07 <0f> 0b e8 a1 51 aa fe 0f 0b cc cc cc cc cc cc cc cc cc cc cc cc cc
RSP: 0018:ffffc90019fef540 EFLAGS: 00010246
RAX: 0000000000000046 RBX: ffff888018b65fc0 RCX: 3c9c3e2e37d4f200
RDX: ffffc9000e14c000 RSI: 0000000000002f5e RDI: 0000000000002f5f
RBP: ffffc90019fef6d0 R08: ffffc90019fef247 R09: 1ffff920033fde48
R10: dffffc0000000000 R11: fffff520033fde49 R12: ffff88814d416278
R13: ffff88814d4165a8 R14: 0000000000000000 R15: 1ffff920033fdeb8
FS:  00007fa993fd66c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000001fe0 CR3: 000000005c7b7000 CR4: 00000000003506e0
Call Trace:
 <TASK>
 jffs2_do_reserve_space+0x20d/0x1090 fs/jffs2/nodemgmt.c:388
 jffs2_reserve_space+0x8e3/0xc90 fs/jffs2/nodemgmt.c:197
 do_jffs2_setxattr+0x1c6/0x16a0 fs/jffs2/xattr.c:1116
 __vfs_setxattr+0x437/0x470 fs/xattr.c:201
 __vfs_setxattr_noperm+0x12a/0x5e0 fs/xattr.c:235
 vfs_setxattr+0x16b/0x2f0 fs/xattr.c:322
 do_setxattr fs/xattr.c:630 [inline]
 path_setxattr+0x33a/0x590 fs/xattr.c:659
 __do_sys_setxattr fs/xattr.c:677 [inline]
 __se_sys_setxattr fs/xattr.c:673 [inline]
 __x64_sys_setxattr+0xbb/0xd0 fs/xattr.c:673
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fa99319e159
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:00007fa993fd6028 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc
RAX: ffffffffffffffda RBX: 00007fa993425fa0 RCX: 00007fa99319e159
RDX: 0000200000001240 RSI: 0000200000000240 RDI: 0000200000000200
RBP: 00007fa99323506b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000f8f R11: 0000000000000246 R12: 0000000000000000
R13: 00007fa993426038 R14: 00007fa993425fa0 R15: 00007fff92867cd8
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:jffs2_sum_write_sumnode+0x25c8/0x25e0 fs/jffs2/summary.c:868
Code: 14 89 d9 80 e1 07 80 c1 03 38 c1 7c 08 48 89 df e8 bd dd 02 ff 8b 33 48 c7 c7 20 e6 fe 8a 48 c7 c2 5b a3 a6 8c e8 d8 89 a8 07 <0f> 0b e8 a1 51 aa fe 0f 0b cc cc cc cc cc cc cc cc cc cc cc cc cc
RSP: 0018:ffffc90019fef540 EFLAGS: 00010246
RAX: 0000000000000046 RBX: ffff888018b65fc0 RCX: 3c9c3e2e37d4f200
RDX: ffffc9000e14c000 RSI: 0000000000002f5e RDI: 0000000000002f5f
RBP: ffffc90019fef6d0 R08: ffffc90019fef247 R09: 1ffff920033fde48
R10: dffffc0000000000 R11: fffff520033fde49 R12: ffff88814d416278
R13: ffff88814d4165a8 R14: 0000000000000000 R15: 1ffff920033fdeb8
FS:  00007fa993fd66c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c24c806 CR3: 000000005c7b7000 CR4: 00000000003506e0

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/09/17 08:59 linux-6.6.y 79643295eba1 95928915 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in jffs2_sum_write_sumnode
* Struck through repros no longer work on HEAD.