jffs2: nextblock 0x0001d000, expected at 0001f000 jffs2: argh. node added in wrong place at 0x0001e03c(2) jffs2: nextblock 0x0001d000, expected at 0001f000 ------------[ cut here ]------------ kernel BUG at fs/jffs2/xattr.c:411! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 6796 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: 80401005 (Nzcv daif +PAN -UAO -TCO -DIT +SSBS BTYPE=--) pc : unrefer_xattr_datum+0x3a8/0x3ac fs/jffs2/xattr.c:411 lr : unrefer_xattr_datum+0x3a8/0x3ac fs/jffs2/xattr.c:411 sp : ffff80009f4b75f0 x29: ffff80009f4b7600 x28: 1fffe0001ac76623 x27: 1fffe0001ac76628 x26: dfff800000000000 x25: 1fffe0001ac76624 x24: ffff0000d63b3120 x23: 0000000000000001 x22: ffff0000d63b3118 x21: ffff0000d3c8c000 x20: ffff0000d63b3100 x19: ffff0000d3c8c638 x18: ffff80009f4b71e0 x17: 000000000001c740 x16: ffff800080333fec x15: 0000000000000001 x14: 1ffff00011e29f98 x13: 0000000000000000 x12: 0000000000000003 x11: 0000000000000001 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000d3693c80 x7 : 0000000000000000 x6 : 0000000000000000 x5 : ffff8000928e00f0 x4 : 0000000000000008 x3 : 0000000000000000 x2 : ffff0000d63b3118 x1 : 0000000000000001 x0 : 00000000000000ff Call trace: unrefer_xattr_datum+0x3a8/0x3ac fs/jffs2/xattr.c:411 do_jffs2_setxattr+0xde0/0x1158 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_lsetxattr fs/xattr.c:694 [inline] __se_sys_lsetxattr fs/xattr.c:690 [inline] __arm64_sys_lsetxattr+0xbc/0xd8 fs/xattr.c:690 __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: aa1803e0 97c8c6bc 17ffff47 97b4dc71 (d4210000) ---[ end trace 0000000000000000 ]---