===================================================== BUG: KMSAN: uninit-value in netfs_clear_buffer+0x216/0x4e0 fs/netfs/misc.c:75 netfs_clear_buffer+0x216/0x4e0 fs/netfs/misc.c:75 netfs_free_request+0x51f/0x890 fs/netfs/objects.c:146 netfs_put_request+0x161/0x360 fs/netfs/objects.c:170 netfs_write_collection_worker+0x7337/0x7c20 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xae0/0x1c40 kernel/workqueue.c:3310 worker_thread+0xea7/0x14f0 kernel/workqueue.c:3391 kthread+0x3e2/0x540 kernel/kthread.c:389 ret_from_fork+0x6d/0x90 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Uninit was created at: slab_post_alloc_hook mm/slub.c:4092 [inline] slab_alloc_node mm/slub.c:4135 [inline] __kmalloc_cache_noprof+0x4f0/0xb00 mm/slub.c:4291 kmalloc_noprof include/linux/slab.h:878 [inline] netfs_buffer_append_folio+0x2cf/0x8b0 fs/netfs/misc.c:25 netfs_write_folio+0x1120/0x3050 fs/netfs/write_issue.c:421 netfs_writepages+0xe60/0x1670 fs/netfs/write_issue.c:541 do_writepages+0x427/0xc30 mm/page-writeback.c:2683 filemap_fdatawrite_wbc+0x1d8/0x270 mm/filemap.c:398 __filemap_fdatawrite_range mm/filemap.c:431 [inline] __filemap_fdatawrite mm/filemap.c:437 [inline] filemap_fdatawrite+0xbf/0xf0 mm/filemap.c:442 v9fs_vfs_setattr+0xbc6/0x14b0 fs/9p/vfs_inode.c:1037 notify_change+0x1a8e/0x1b80 fs/attr.c:503 do_truncate fs/open.c:65 [inline] do_ftruncate+0x8c1/0xbf0 fs/open.c:181 do_sys_ftruncate fs/open.c:199 [inline] __do_sys_ftruncate fs/open.c:207 [inline] __se_sys_ftruncate fs/open.c:205 [inline] __x64_sys_ftruncate+0x133/0x280 fs/open.c:205 x64_sys_call+0x9e4/0x3ba0 arch/x86/include/generated/asm/syscalls_64.h:78 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f CPU: 1 UID: 0 PID: 59 Comm: kworker/u8:3 Not tainted 6.11.0-syzkaller-11728-gad46e8f95e93 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events_unbound netfs_write_collection_worker =====================================================