===================================================== BUG: KMSAN: kernel-infoleak in instrument_copy_to_user include/linux/instrumented.h:121 [inline] BUG: KMSAN: kernel-infoleak in copyout lib/iov_iter.c:169 [inline] BUG: KMSAN: kernel-infoleak in _copy_to_iter+0x870/0x1fd0 lib/iov_iter.c:529 instrument_copy_to_user include/linux/instrumented.h:121 [inline] copyout lib/iov_iter.c:169 [inline] _copy_to_iter+0x870/0x1fd0 lib/iov_iter.c:529 copy_page_to_iter+0x49d/0xb40 lib/iov_iter.c:727 copy_folio_to_iter include/linux/uio.h:172 [inline] filemap_read+0x38b0/0x43a0 mm/filemap.c:2746 blkdev_read_iter+0xa1b/0xbc0 block/fops.c:591 call_read_iter include/linux/fs.h:2183 [inline] new_sync_read fs/read_write.c:389 [inline] vfs_read+0x8cd/0xf40 fs/read_write.c:470 ksys_read+0x21f/0x4f0 fs/read_write.c:613 __do_sys_read fs/read_write.c:623 [inline] __se_sys_read fs/read_write.c:621 [inline] __x64_sys_read+0x93/0xd0 fs/read_write.c:621 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd Uninit was stored to memory at: _copy_to_iter+0xdc2/0x1fd0 lib/iov_iter.c:529 copy_page_to_iter+0x49d/0xb40 lib/iov_iter.c:727 shmem_file_read_iter+0xb0f/0x1380 mm/shmem.c:2676 do_iter_read+0x642/0x1300 fs/read_write.c:796 vfs_iter_read+0x88/0xe0 fs/read_write.c:838 lo_read_simple drivers/block/loop.c:290 [inline] do_req_filebacked drivers/block/loop.c:500 [inline] loop_handle_cmd drivers/block/loop.c:1873 [inline] loop_process_work+0x2e95/0x3ba0 drivers/block/loop.c:1908 loop_rootcg_workfn+0x2b/0x30 drivers/block/loop.c:1939 process_one_work+0xb0d/0x1410 kernel/workqueue.c:2289 worker_thread+0x107b/0x1d60 kernel/workqueue.c:2436 kthread+0x31f/0x430 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Uninit was stored to memory at: copy_page_from_iter_atomic+0x1255/0x27f0 lib/iov_iter.c:821 generic_perform_write+0x4b2/0xbf0 mm/filemap.c:3781 __generic_file_write_iter+0x393/0x920 mm/filemap.c:3901 generic_file_write_iter+0x103/0x5b0 mm/filemap.c:3933 do_iter_write+0xc70/0x1310 fs/read_write.c:861 vfs_iter_write+0x88/0xe0 fs/read_write.c:902 lo_write_bvec drivers/block/loop.c:249 [inline] lo_write_simple drivers/block/loop.c:271 [inline] do_req_filebacked drivers/block/loop.c:495 [inline] loop_handle_cmd drivers/block/loop.c:1873 [inline] loop_process_work+0x1643/0x3ba0 drivers/block/loop.c:1908 loop_workfn+0x48/0x60 drivers/block/loop.c:1932 process_one_work+0xb0d/0x1410 kernel/workqueue.c:2289 worker_thread+0x107b/0x1d60 kernel/workqueue.c:2436 kthread+0x31f/0x430 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Uninit was stored to memory at: copy_to_dinode+0x88d/0xb40 fs/jfs/jfs_imap.c:3148 diWrite+0x1bf0/0x1f00 fs/jfs/jfs_imap.c:786 txCommit+0xf20/0x9760 fs/jfs/jfs_txnmgr.c:1250 __jfs_xattr_set+0x1d3/0x210 fs/jfs/xattr.c:919 jfs_xattr_set+0x79/0x90 fs/jfs/xattr.c:941 __vfs_setxattr+0x7aa/0x8b0 fs/xattr.c:202 __vfs_setxattr_noperm+0x24f/0xa30 fs/xattr.c:236 __vfs_setxattr_locked+0x441/0x480 fs/xattr.c:297 vfs_setxattr+0x2a5/0x680 fs/xattr.c:323 do_setxattr fs/xattr.c:608 [inline] setxattr+0x514/0x610 fs/xattr.c:631 path_setxattr+0x202/0x3f0 fs/xattr.c:650 __do_sys_setxattr fs/xattr.c:666 [inline] __se_sys_setxattr fs/xattr.c:662 [inline] __ia32_sys_setxattr+0xf4/0x170 fs/xattr.c:662 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+0x37/0x80 arch/x86/entry/common.c:203 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:246 entry_SYSENTER_compat_after_hwframe+0x70/0x82 Uninit was stored to memory at: ea_put fs/jfs/xattr.c:637 [inline] __jfs_setxattr+0x1925/0x1c50 fs/jfs/xattr.c:783 __jfs_xattr_set+0xf3/0x210 fs/jfs/xattr.c:917 jfs_xattr_set+0x79/0x90 fs/jfs/xattr.c:941 __vfs_setxattr+0x7aa/0x8b0 fs/xattr.c:202 __vfs_setxattr_noperm+0x24f/0xa30 fs/xattr.c:236 __vfs_setxattr_locked+0x441/0x480 fs/xattr.c:297 vfs_setxattr+0x2a5/0x680 fs/xattr.c:323 do_setxattr fs/xattr.c:608 [inline] setxattr+0x514/0x610 fs/xattr.c:631 path_setxattr+0x202/0x3f0 fs/xattr.c:650 __do_sys_setxattr fs/xattr.c:666 [inline] __se_sys_setxattr fs/xattr.c:662 [inline] __ia32_sys_setxattr+0xf4/0x170 fs/xattr.c:662 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+0x37/0x80 arch/x86/entry/common.c:203 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:246 entry_SYSENTER_compat_after_hwframe+0x70/0x82 Local variable ea_buf created at: __jfs_setxattr+0x67/0x1c50 fs/jfs/xattr.c:660 __jfs_xattr_set+0xf3/0x210 fs/jfs/xattr.c:917 Bytes 3689-3691 of 4096 are uninitialized Memory access of size 4096 starts at ffff8880a68c3000 Data copied to user address 000055ee9884d4b8 CPU: 1 PID: 9142 Comm: udevd Not tainted 6.2.0-syzkaller-81151-g224e1375d540 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 =====================================================