------------[ cut here ]------------ precision 65535 too large WARNING: CPU: 2 PID: 5294 at lib/vsprintf.c:2721 set_precision+0xc0/0x160 lib/vsprintf.c:2721 Modules linked in: CPU: 2 PID: 5294 Comm: syz-executor.2 Not tainted 6.9.0-syzkaller-08654-g0cc6f45cecb4 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 RIP: 0010:set_precision+0xc0/0x160 lib/vsprintf.c:2721 Code: ff 44 89 e6 e8 d1 dc b5 f6 45 84 e4 75 20 e8 47 e2 b5 f6 c6 05 4c 8b f5 04 01 90 48 c7 c7 80 2e 81 8c 89 de e8 91 f6 77 f6 90 <0f> 0b 90 90 e8 27 e2 b5 f6 31 c0 85 db 48 89 ea 0f 48 d8 b8 ff 7f RSP: 0018:ffffc90003766c48 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 000000000000ffff RCX: ffffc900058b2000 RDX: 0000000000040000 RSI: ffffffff814ff316 RDI: 0000000000000001 RBP: ffffc90003766cc0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffffc90003766cc7 R14: ffffc90003766d98 R15: 0000000000000002 FS: 00007f883209e6c0(0000) GS:ffff88806b200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32223000 CR3: 000000002fd4e000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: vsnprintf+0xa93/0x1880 lib/vsprintf.c:2797 bch2_prt_printf+0x19f/0x3d0 fs/bcachefs/printbuf.c:75 bch2_xattr_to_text+0x28b/0x760 fs/bcachefs/xattr.c:121 bch2_val_to_text fs/bcachefs/bkey_methods.c:300 [inline] bch2_bkey_val_to_text+0x1c9/0x210 fs/bcachefs/bkey_methods.c:310 journal_entry_btree_keys_to_text+0x12f/0x250 fs/bcachefs/journal_io.c:410 bch2_journal_entry_to_text+0x119/0x170 fs/bcachefs/journal_io.c:835 bch2_sb_clean_to_text+0x109/0x210 fs/bcachefs/sb-clean.c:316 __bch2_sb_field_to_text+0x123/0x1e0 fs/bcachefs/super-io.c:1245 bch2_sb_field_validate+0x248/0x2d0 fs/bcachefs/super-io.c:1228 bch2_sb_validate.isra.0+0x6d8/0xce0 fs/bcachefs/super-io.c:468 __bch2_read_super+0x93c/0x12a0 fs/bcachefs/super-io.c:822 bch2_fs_open+0x3e5/0x1110 fs/bcachefs/super.c:2052 bch2_mount+0xdcc/0x1130 fs/bcachefs/fs.c:1906 legacy_get_tree+0x109/0x220 fs/fs_context.c:662 vfs_get_tree+0x8f/0x380 fs/super.c:1779 do_new_mount fs/namespace.c:3352 [inline] path_mount+0x14e6/0x1f20 fs/namespace.c:3679 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount fs/namespace.c:3875 [inline] __x64_sys_mount+0x297/0x320 fs/namespace.c:3875 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f883127e5ea Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 09 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 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:00007f883209def8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f883209df80 RCX: 00007f883127e5ea RDX: 0000000020011a00 RSI: 0000000020000080 RDI: 00007f883209df40 RBP: 0000000020011a00 R08: 00007f883209df80 R09: 0000000001200014 R10: 0000000001200014 R11: 0000000000000202 R12: 0000000020000080 R13: 00007f883209df40 R14: 0000000000011a0f R15: 0000000020000000