jffs2: warning: (6742) jffs2_sum_write_sumnode: Empty summary info!!! ------------[ cut here ]------------ kernel BUG at fs/jffs2/summary.c:865! invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 1 PID: 6742 Comm: syz-executor.1 Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:jffs2_sum_write_sumnode+0x1c48/0x22d0 fs/jffs2/summary.c:865 Code: 0f b6 04 02 84 c0 74 08 3c 03 0f 8e 84 05 00 00 8b b3 c0 05 00 00 48 c7 c2 40 7f 44 8b 48 c7 c7 40 7b 44 8b e8 c9 f9 90 fe 90 <0f> 0b e8 a1 60 0a ff e9 56 e8 ff ff 48 8b bd b8 fe ff ff e8 f0 60 RSP: 0000:ffffc9000396f4e0 EFLAGS: 00010286 RAX: 0000000000000045 RBX: ffff888026111e00 RCX: ffffc90004649000 RDX: 0000000000000000 RSI: ffffffff816e66f6 RDI: 0000000000000005 RBP: ffffc9000396f660 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: ffff88807b3c2850 R15: ffff88807e2c2000 FS: 00007f76cf31b6c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f76a86a1001 CR3: 0000000051cda000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: jffs2_do_reserve_space+0xb52/0x1030 fs/jffs2/nodemgmt.c:388 jffs2_reserve_space+0x62e/0xba0 fs/jffs2/nodemgmt.c:197 do_jffs2_setxattr+0x1a1/0x1640 fs/jffs2/xattr.c:1113 __vfs_setxattr+0x173/0x1e0 fs/xattr.c:200 __vfs_setxattr_noperm+0x127/0x5e0 fs/xattr.c:234 __vfs_setxattr_locked+0x182/0x260 fs/xattr.c:295 vfs_setxattr+0x146/0x350 fs/xattr.c:321 do_setxattr+0x146/0x170 fs/xattr.c:629 setxattr+0x15d/0x180 fs/xattr.c:652 path_setxattr+0x179/0x1e0 fs/xattr.c:671 __do_sys_setxattr fs/xattr.c:687 [inline] __se_sys_setxattr fs/xattr.c:683 [inline] __x64_sys_setxattr+0xc4/0x160 fs/xattr.c:683 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd2/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7f76ce67de69 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f76cf31b0c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007f76ce7abf80 RCX: 00007f76ce67de69 RDX: 0000000020000900 RSI: 0000000020000100 RDI: 00000000200000c0 RBP: 00007f76ce6ca47a R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000feeb R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f76ce7abf80 R15: 00007ffc76067c58 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:jffs2_sum_write_sumnode+0x1c48/0x22d0 fs/jffs2/summary.c:865 Code: 0f b6 04 02 84 c0 74 08 3c 03 0f 8e 84 05 00 00 8b b3 c0 05 00 00 48 c7 c2 40 7f 44 8b 48 c7 c7 40 7b 44 8b e8 c9 f9 90 fe 90 <0f> 0b e8 a1 60 0a ff e9 56 e8 ff ff 48 8b bd b8 fe ff ff e8 f0 60 RSP: 0000:ffffc9000396f4e0 EFLAGS: 00010286 RAX: 0000000000000045 RBX: ffff888026111e00 RCX: ffffc90004649000 RDX: 0000000000000000 RSI: ffffffff816e66f6 RDI: 0000000000000005 RBP: ffffc9000396f660 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: ffff88807b3c2850 R15: ffff88807e2c2000 FS: 00007f76cf31b6c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6efe63f000 CR3: 0000000051cda000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400