===================================================== BUG: KMSAN: uninit-value in netfs_clear_buffer+0x216/0x4e0 fs/netfs/misc.c:107 netfs_clear_buffer+0x216/0x4e0 fs/netfs/misc.c:107 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_make_space+0x243/0x750 fs/netfs/misc.c:30 netfs_buffer_append_folio+0xd4/0x3d0 fs/netfs/misc.c:69 netfs_write_folio+0x1120/0x3050 fs/netfs/write_issue.c:431 netfs_writepages+0xe60/0x1670 fs/netfs/write_issue.c:551 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] file_write_and_wait_range+0x1b5/0x5d0 mm/filemap.c:788 v9fs_file_fsync+0x93/0x1d0 fs/9p/vfs_file.c:418 vfs_fsync_range+0x1f9/0x260 fs/sync.c:188 generic_write_sync include/linux/fs.h:2871 [inline] netfs_file_write_iter+0x6ca/0x7b0 fs/netfs/buffered_write.c:487 v9fs_file_write_iter+0x107/0x140 fs/9p/vfs_file.c:407 new_sync_write fs/read_write.c:590 [inline] vfs_write+0xb28/0x1540 fs/read_write.c:683 ksys_write+0x24f/0x4c0 fs/read_write.c:736 __do_sys_write fs/read_write.c:748 [inline] __se_sys_write fs/read_write.c:745 [inline] __ia32_sys_write+0x91/0xe0 fs/read_write.c:745 ia32_sys_call+0x2e34/0x40d0 arch/x86/include/generated/asm/syscalls_32.h:5 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline] __do_fast_syscall_32+0xb0/0x110 arch/x86/entry/common.c:386 do_fast_syscall_32+0x38/0x80 arch/x86/entry/common.c:411 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:449 entry_SYSENTER_compat_after_hwframe+0x84/0x8e CPU: 0 UID: 0 PID: 4539 Comm: kworker/u8:23 Not tainted 6.11.0-syzkaller-11993-g3efc57369a0c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events_unbound netfs_write_collection_worker =====================================================