jffs2: notice: (22449) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found. jffs2: warning: (22449) jffs2_sum_write_sumnode: Empty summary info!!! ------------[ cut here ]------------ kernel BUG at fs/jffs2/summary.c:868! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 2 UID: 0 PID: 22449 Comm: syz.3.4784 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:jffs2_sum_write_sumnode.cold+0x4e/0x174 fs/jffs2/summary.c:868 Code: 0f b6 04 02 84 c0 74 08 3c 03 0f 8e 2c 01 00 00 8b b3 40 06 00 00 48 c7 c2 00 7d 33 8c 48 c7 c7 00 79 33 8c e8 cd 72 f8 ff 90 <0f> 0b e8 25 8b e1 00 65 4c 8b 3d 65 29 62 13 b8 ff ff 37 00 48 c1 RSP: 0018:ffffc90005766d70 EFLAGS: 00010286 RAX: 0000000000000046 RBX: ffff8880290c8000 RCX: 0000000000000000 RDX: 0000000000000046 RSI: ffffffff81e97409 RDI: fffff52000aecd9f RBP: ffffc90005766ef0 R08: 0000000000000007 R09: 0000000000000000 R10: 8000000000000000 R11: 0000000000000001 R12: ffff88804d3d6300 R13: 0000000000000000 R14: 0000000000000f40 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff888096b60000(0063) knlGS:00000000f546cb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000322f4ff8 CR3: 00000000521eb000 CR4: 0000000000352ef0 Call Trace: jffs2_do_reserve_space+0xb94/0xf70 fs/jffs2/nodemgmt.c:392 jffs2_reserve_space_gc+0x6b/0xf0 fs/jffs2/nodemgmt.c:226 jffs2_garbage_collect_pristine+0x103/0x870 fs/jffs2/gc.c:613 jffs2_garbage_collect_live+0x1471/0x36b0 fs/jffs2/gc.c:546 jffs2_garbage_collect_pass+0xb28/0x1b40 fs/jffs2/gc.c:464 jffs2_reserve_space+0x489/0xbb0 fs/jffs2/nodemgmt.c:171 jffs2_write_inode_range+0x275/0xb80 fs/jffs2/write.c:362 jffs2_write_end+0x72c/0xea0 fs/jffs2/file.c:299 generic_perform_write+0x513/0xa40 mm/filemap.c:4395 __generic_file_write_iter+0x1f7/0x240 mm/filemap.c:4491 generic_file_write_iter+0xe1/0x390 mm/filemap.c:4517 iter_file_splice_write+0x830/0x10b0 fs/splice.c:736 do_splice_from fs/splice.c:936 [inline] direct_splice_actor+0x192/0x690 fs/splice.c:1159 splice_direct_to_actor+0x345/0xa30 fs/splice.c:1103 do_splice_direct_actor fs/splice.c:1202 [inline] do_splice_direct+0x174/0x240 fs/splice.c:1228 do_sendfile+0xadc/0xe20 fs/read_write.c:1371 __do_compat_sys_sendfile fs/read_write.c:1453 [inline] __se_compat_sys_sendfile fs/read_write.c:1436 [inline] __ia32_compat_sys_sendfile+0x1e5/0x220 fs/read_write.c:1436 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:79 [inline] __do_fast_syscall_32+0x13a/0x8b0 arch/x86/entry/syscall_32.c:291 do_fast_syscall_32+0x32/0x70 arch/x86/entry/syscall_32.c:316 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf709efec Code: Unable to access opcode bytes at 0xf709efc2. RSP: 002b:00000000f546c50c EFLAGS: 00000292 ORIG_RAX: 00000000000000bb RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 0000000000000009 RDX: 0000000000000000 RSI: 0000000000010000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000292 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:jffs2_sum_write_sumnode.cold+0x4e/0x174 fs/jffs2/summary.c:868 Code: 0f b6 04 02 84 c0 74 08 3c 03 0f 8e 2c 01 00 00 8b b3 40 06 00 00 48 c7 c2 00 7d 33 8c 48 c7 c7 00 79 33 8c e8 cd 72 f8 ff 90 <0f> 0b e8 25 8b e1 00 65 4c 8b 3d 65 29 62 13 b8 ff ff 37 00 48 c1 RSP: 0018:ffffc90005766d70 EFLAGS: 00010286 RAX: 0000000000000046 RBX: ffff8880290c8000 RCX: 0000000000000000 RDX: 0000000000000046 RSI: ffffffff81e97409 RDI: fffff52000aecd9f RBP: ffffc90005766ef0 R08: 0000000000000007 R09: 0000000000000000 R10: 8000000000000000 R11: 0000000000000001 R12: ffff88804d3d6300 R13: 0000000000000000 R14: 0000000000000f40 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff888096b60000(0063) knlGS:00000000f546cb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f7258c10 CR3: 00000000521eb000 CR4: 0000000000352ef0