jffs2: notice: (6696) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 1 of xref (0 dead, 0 orphan) found. jffs2: warning: (6696) jffs2_sum_write_sumnode: Empty summary info!!! ------------[ cut here ]------------ kernel BUG at fs/jffs2/summary.c:865! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 6696 Comm: syz-executor.0 Not tainted 6.9.0-rc4-syzkaller-00050-g6a71d2909427 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 pstate: 60401005 (nZCv daif +PAN -UAO -TCO -DIT +SSBS BTYPE=--) pc : jffs2_sum_write_sumnode+0x1d64/0x1d70 fs/jffs2/summary.c:864 lr : jffs2_sum_write_sumnode+0x1d64/0x1d70 fs/jffs2/summary.c:864 sp : ffff8000a0a171a0 x29: ffff8000a0a17310 x28: dfff800000000000 x27: dfff800000000000 x26: ffff8000a0a17220 x25: ffff0000ca41c828 x24: ffff0000cc030400 x23: 0000000000000000 x22: ffff0000c87145a8 x21: 1fffe000190e28b5 x20: ffff0000cc030404 x19: ffff0000e3be0578 x18: 1fffe000367bdd96 x17: ffff80008ee7d000 x16: ffff800080333fec x15: 0000000000000001 x14: 1fffe0001ae1bf00 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000001 x10: 0000000000ff0100 x9 : 1f6229750a40ba00 x8 : 1f6229750a40ba00 x7 : ffff8000802aabc8 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : ffff800080296e70 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000045 Call trace: jffs2_sum_write_sumnode+0x1d64/0x1d70 fs/jffs2/summary.c:864 jffs2_do_reserve_space+0x1a4/0xe00 fs/jffs2/nodemgmt.c:388 jffs2_reserve_space+0x73c/0xa48 fs/jffs2/nodemgmt.c:197 do_jffs2_setxattr+0x148/0x1158 fs/jffs2/xattr.c:1113 jffs2_trusted_setxattr+0x4c/0x64 fs/jffs2/xattr_trusted.c:33 __vfs_setxattr+0x3d8/0x400 fs/xattr.c:200 __vfs_setxattr_noperm+0x110/0x528 fs/xattr.c:234 __vfs_setxattr_locked+0x1ec/0x218 fs/xattr.c:295 vfs_setxattr+0x1a8/0x344 fs/xattr.c:321 do_setxattr fs/xattr.c:629 [inline] setxattr+0x208/0x29c fs/xattr.c:652 path_setxattr+0x17c/0x258 fs/xattr.c:671 __do_sys_setxattr fs/xattr.c:687 [inline] __se_sys_setxattr fs/xattr.c:683 [inline] __arm64_sys_setxattr+0xbc/0xd8 fs/xattr.c:683 __invoke_syscall arch/arm64/kernel/syscall.c:34 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:48 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:133 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:152 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 Code: 91238000 b0066742 910fb042 959bcd80 (d4210000) ---[ end trace 0000000000000000 ]---