===================================================== BUG: KMSAN: uninit-value in p9_client_write+0xb23/0xee0 net/9p/client.c:1667 p9_client_write+0xb23/0xee0 net/9p/client.c:1667 v9fs_fid_xattr_set+0x201/0x3a0 fs/9p/xattr.c:130 v9fs_xattr_set fs/9p/xattr.c:100 [inline] v9fs_xattr_handler_set+0xf8/0x170 fs/9p/xattr.c:159 __vfs_setxattr+0x671/0x770 fs/xattr.c:182 __vfs_setxattr_noperm+0x24d/0xa40 fs/xattr.c:216 __vfs_setxattr_locked+0x43c/0x470 fs/xattr.c:277 vfs_setxattr+0x2a1/0x680 fs/xattr.c:303 do_setxattr fs/xattr.c:588 [inline] setxattr+0x560/0x5d0 fs/xattr.c:611 path_setxattr+0x202/0x3f0 fs/xattr.c:630 __do_sys_setxattr fs/xattr.c:646 [inline] __se_sys_setxattr fs/xattr.c:642 [inline] __ia32_sys_setxattr+0xf0/0x170 fs/xattr.c:642 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0xa2/0x100 arch/x86/entry/common.c:178 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203 do_SYSENTER_32+0x1b/0x20 arch/x86/entry/common.c:246 entry_SYSENTER_compat_after_hwframe+0x70/0x82 Uninit was created at: slab_post_alloc_hook mm/slab.h:755 [inline] slab_alloc_node mm/slub.c:3258 [inline] slab_alloc mm/slub.c:3266 [inline] kmem_cache_alloc_trace+0x69e/0xdf0 mm/slub.c:3297 kmalloc include/linux/slab.h:600 [inline] p9_fid_create+0x5e/0x400 net/9p/client.c:892 p9_client_walk+0xdc/0xdb0 net/9p/client.c:1180 clone_fid fs/9p/fid.h:21 [inline] v9fs_fid_xattr_set+0xf9/0x3a0 fs/9p/xattr.c:118 v9fs_xattr_set fs/9p/xattr.c:100 [inline] v9fs_xattr_handler_set+0xf8/0x170 fs/9p/xattr.c:159 __vfs_setxattr+0x671/0x770 fs/xattr.c:182 __vfs_setxattr_noperm+0x24d/0xa40 fs/xattr.c:216 __vfs_setxattr_locked+0x43c/0x470 fs/xattr.c:277 vfs_setxattr+0x2a1/0x680 fs/xattr.c:303 do_setxattr fs/xattr.c:588 [inline] setxattr+0x560/0x5d0 fs/xattr.c:611 path_setxattr+0x202/0x3f0 fs/xattr.c:630 __do_sys_setxattr fs/xattr.c:646 [inline] __se_sys_setxattr fs/xattr.c:642 [inline] __ia32_sys_setxattr+0xf0/0x170 fs/xattr.c:642 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0xa2/0x100 arch/x86/entry/common.c:178 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203 do_SYSENTER_32+0x1b/0x20 arch/x86/entry/common.c:246 entry_SYSENTER_compat_after_hwframe+0x70/0x82 CPU: 0 PID: 3989 Comm: syz-executor.0 Not tainted 5.19.0-syzkaller-32655-g1b070a5d1a2c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 =====================================================