===================================================== BUG: KMSAN: kernel-infoleak in instrument_copy_to_user include/linux/instrumented.h:114 [inline] BUG: KMSAN: kernel-infoleak in copy_to_user_iter lib/iov_iter.c:24 [inline] BUG: KMSAN: kernel-infoleak in iterate_ubuf include/linux/iov_iter.h:30 [inline] BUG: KMSAN: kernel-infoleak in iterate_and_advance2 include/linux/iov_iter.h:300 [inline] BUG: KMSAN: kernel-infoleak in iterate_and_advance include/linux/iov_iter.h:328 [inline] BUG: KMSAN: kernel-infoleak in _copy_to_iter+0x2f3/0x2b30 lib/iov_iter.c:185 instrument_copy_to_user include/linux/instrumented.h:114 [inline] copy_to_user_iter lib/iov_iter.c:24 [inline] iterate_ubuf include/linux/iov_iter.h:30 [inline] iterate_and_advance2 include/linux/iov_iter.h:300 [inline] iterate_and_advance include/linux/iov_iter.h:328 [inline] _copy_to_iter+0x2f3/0x2b30 lib/iov_iter.c:185 copy_page_to_iter+0x419/0x880 lib/iov_iter.c:362 copy_folio_to_iter include/linux/uio.h:189 [inline] filemap_read+0xc13/0x1500 mm/filemap.c:2696 blkdev_read_iter+0x6bb/0x8e0 block/fops.c:765 new_sync_read fs/read_write.c:488 [inline] vfs_read+0xcdf/0xf50 fs/read_write.c:569 ksys_read+0x24f/0x4c0 fs/read_write.c:712 __do_sys_read fs/read_write.c:722 [inline] __se_sys_read fs/read_write.c:720 [inline] __x64_sys_read+0x93/0xe0 fs/read_write.c:720 x64_sys_call+0x3055/0x3ba0 arch/x86/include/generated/asm/syscalls_64.h:1 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 Uninit was stored to memory at: memcpy_to_iter lib/iov_iter.c:65 [inline] iterate_bvec include/linux/iov_iter.h:123 [inline] iterate_and_advance2 include/linux/iov_iter.h:304 [inline] iterate_and_advance include/linux/iov_iter.h:328 [inline] _copy_to_iter+0xe5a/0x2b30 lib/iov_iter.c:185 copy_page_to_iter+0x419/0x880 lib/iov_iter.c:362 shmem_file_read_iter+0xa09/0x12b0 mm/shmem.c:3164 do_iter_readv_writev+0x88a/0xa30 vfs_iter_read+0x278/0x760 fs/read_write.c:923 lo_read_simple drivers/block/loop.c:283 [inline] do_req_filebacked drivers/block/loop.c:516 [inline] loop_handle_cmd drivers/block/loop.c:1910 [inline] loop_process_work+0x20fc/0x3750 drivers/block/loop.c:1945 loop_rootcg_workfn+0x2b/0x40 drivers/block/loop.c:1976 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 stored to memory at: memcpy_from_iter lib/iov_iter.c:73 [inline] iterate_bvec include/linux/iov_iter.h:123 [inline] iterate_and_advance2 include/linux/iov_iter.h:304 [inline] iterate_and_advance include/linux/iov_iter.h:328 [inline] __copy_from_iter lib/iov_iter.c:249 [inline] copy_page_from_iter_atomic+0x1299/0x30c0 lib/iov_iter.c:483 copy_folio_from_iter_atomic include/linux/uio.h:201 [inline] generic_perform_write+0x8d1/0x1080 mm/filemap.c:4066 shmem_file_write_iter+0x2ba/0x2f0 mm/shmem.c:3218 do_iter_readv_writev+0x88a/0xa30 vfs_iter_write+0x44d/0xd40 fs/read_write.c:988 lo_write_bvec drivers/block/loop.c:243 [inline] lo_write_simple drivers/block/loop.c:264 [inline] do_req_filebacked drivers/block/loop.c:511 [inline] loop_handle_cmd drivers/block/loop.c:1910 [inline] loop_process_work+0x15e6/0x3750 drivers/block/loop.c:1945 loop_rootcg_workfn+0x2b/0x40 drivers/block/loop.c:1976 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 stored to memory at: memcpy_to_page include/linux/highmem.h:433 [inline] hfsplus_bnode_write+0xee/0x2e0 fs/hfsplus/bnode.c:83 hfsplus_brec_insert+0xa9d/0x1400 fs/hfsplus/brec.c:133 hfsplus_create_cat+0x130d/0x1800 fs/hfsplus/catalog.c:308 hfsplus_link+0x7d8/0xbf0 fs/hfsplus/dir.c:342 vfs_link+0x94c/0xb70 fs/namei.c:4739 do_linkat+0x4f5/0xfd0 fs/namei.c:4809 __do_sys_linkat fs/namei.c:4837 [inline] __se_sys_linkat fs/namei.c:4834 [inline] __ia32_sys_linkat+0x186/0x230 fs/namei.c:4834 ia32_sys_call+0x3629/0x40d0 arch/x86/include/generated/asm/syscalls_32.h:304 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 Uninit was stored to memory at: hfsplus_cat_build_record fs/hfsplus/catalog.c:167 [inline] hfsplus_create_cat+0x11d5/0x1800 fs/hfsplus/catalog.c:300 hfsplus_link+0x7d8/0xbf0 fs/hfsplus/dir.c:342 vfs_link+0x94c/0xb70 fs/namei.c:4739 do_linkat+0x4f5/0xfd0 fs/namei.c:4809 __do_sys_linkat fs/namei.c:4837 [inline] __se_sys_linkat fs/namei.c:4834 [inline] __ia32_sys_linkat+0x186/0x230 fs/namei.c:4834 ia32_sys_call+0x3629/0x40d0 arch/x86/include/generated/asm/syscalls_32.h:304 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 Uninit was created at: __alloc_pages_noprof+0x9a7/0xe00 mm/page_alloc.c:4756 alloc_pages_mpol_noprof+0x299/0x990 mm/mempolicy.c:2265 alloc_pages_noprof+0x1bf/0x1e0 mm/mempolicy.c:2345 alloc_slab_page mm/slub.c:2412 [inline] allocate_slab+0x33a/0x1250 mm/slub.c:2578 new_slab mm/slub.c:2631 [inline] ___slab_alloc+0x12ef/0x35e0 mm/slub.c:3818 __slab_alloc mm/slub.c:3908 [inline] __slab_alloc_node mm/slub.c:3961 [inline] slab_alloc_node mm/slub.c:4122 [inline] kmem_cache_alloc_lru_noprof+0x584/0xb30 mm/slub.c:4153 hfsplus_alloc_inode+0x5a/0xd0 fs/hfsplus/super.c:633 alloc_inode+0x86/0x460 fs/inode.c:265 iget_locked+0x250/0x1290 fs/inode.c:1418 hfsplus_iget+0x59/0xae0 fs/hfsplus/super.c:64 hfsplus_btree_open+0x13e/0x1d00 fs/hfsplus/btree.c:150 hfsplus_fill_super+0x1113/0x2700 fs/hfsplus/super.c:479 mount_bdev+0x39a/0x520 fs/super.c:1693 hfsplus_mount+0x4d/0x60 fs/hfsplus/super.c:647 legacy_get_tree+0x114/0x290 fs/fs_context.c:662 vfs_get_tree+0xb1/0x5a0 fs/super.c:1814 do_new_mount+0x71f/0x15e0 fs/namespace.c:3507 path_mount+0x742/0x1f10 fs/namespace.c:3834 do_mount fs/namespace.c:3847 [inline] __do_sys_mount fs/namespace.c:4057 [inline] __se_sys_mount+0x722/0x810 fs/namespace.c:4034 __ia32_sys_mount+0xe3/0x150 fs/namespace.c:4034 ia32_sys_call+0x2530/0x40d0 arch/x86/include/generated/asm/syscalls_32.h:22 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 Bytes 3310-3313 of 4096 are uninitialized Memory access of size 4096 starts at ffff88803062e000 Data copied to user address 0000563e86fc7158 CPU: 1 UID: 0 PID: 5993 Comm: udevd Not tainted 6.12.0-rc5-syzkaller-00299-g11066801dd4b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 =====================================================