loop3: detected capacity change from 0 to 64 ===================================================== BUG: KMSAN: uninit-value in hfs_find_set_zero_bits+0x74d/0xb60 fs/hfs/bitmap.c:45 hfs_find_set_zero_bits+0x74d/0xb60 fs/hfs/bitmap.c:45 hfs_vbm_search_free+0x13c/0x5b0 fs/hfs/bitmap.c:151 hfs_extend_file+0x6a5/0x1b00 fs/hfs/extent.c:408 hfs_get_block+0x435/0x1150 fs/hfs/extent.c:353 get_more_blocks fs/direct-io.c:648 [inline] do_direct_IO fs/direct-io.c:936 [inline] __blockdev_direct_IO+0x2911/0x65a0 fs/direct-io.c:1243 blockdev_direct_IO include/linux/fs.h:3477 [inline] hfs_direct_IO+0x12b/0x3f0 fs/hfs/inode.c:132 generic_file_direct_write+0x2b9/0x720 mm/filemap.c:4046 __generic_file_write_iter+0x25b/0x460 mm/filemap.c:4215 generic_file_write_iter+0x131/0x980 mm/filemap.c:4255 do_iter_readv_writev+0x94a/0xba0 fs/read_write.c:-1 vfs_writev+0x52a/0x1500 fs/read_write.c:1057 do_writev+0x1b5/0x580 fs/read_write.c:1103 __do_sys_writev fs/read_write.c:1171 [inline] __se_sys_writev fs/read_write.c:1168 [inline] __x64_sys_writev+0x99/0xf0 fs/read_write.c:1168 x64_sys_call+0x269a/0x3db0 arch/x86/include/generated/asm/syscalls_64.h:21 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Uninit was created at: __alloc_frozen_pages_noprof+0x689/0xf00 mm/page_alloc.c:4982 alloc_pages_mpol+0x328/0x860 mm/mempolicy.c:2419 alloc_frozen_pages_noprof+0xf7/0x200 mm/mempolicy.c:2490 alloc_slab_page mm/slub.c:2451 [inline] allocate_slab+0x24d/0x1220 mm/slub.c:2619 new_slab mm/slub.c:2673 [inline] ___slab_alloc+0xfec/0x3480 mm/slub.c:3859 __slab_alloc mm/slub.c:3949 [inline] __slab_alloc_node mm/slub.c:4024 [inline] slab_alloc_node mm/slub.c:4185 [inline] __kmalloc_cache_noprof+0x8ff/0xed0 mm/slub.c:4354 kmalloc_noprof include/linux/slab.h:905 [inline] kzalloc_noprof include/linux/slab.h:1039 [inline] macvlan_port_create drivers/net/macvlan.c:1246 [inline] macvlan_common_newlink+0x11ac/0x2460 drivers/net/macvlan.c:1484 macvtap_newlink+0x173/0x250 drivers/net/macvtap.c:108 rtnl_newlink_create+0x419/0x1250 net/core/rtnetlink.c:3823 __rtnl_newlink net/core/rtnetlink.c:3940 [inline] rtnl_newlink+0x2f13/0x3a90 net/core/rtnetlink.c:4055 rtnetlink_rcv_msg+0x106f/0x14b0 net/core/rtnetlink.c:6944 netlink_rcv_skb+0x54a/0x680 net/netlink/af_netlink.c:2552 rtnetlink_rcv+0x35/0x40 net/core/rtnetlink.c:6971 netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline] netlink_unicast+0xee2/0x1290 net/netlink/af_netlink.c:1346 netlink_sendmsg+0x10b3/0x1250 net/netlink/af_netlink.c:1896 sock_sendmsg_nosec net/socket.c:712 [inline] __sock_sendmsg+0x333/0x3d0 net/socket.c:727 __sys_sendto+0x593/0x720 net/socket.c:2180 __do_sys_sendto net/socket.c:2187 [inline] __se_sys_sendto net/socket.c:2183 [inline] __x64_sys_sendto+0x130/0x200 net/socket.c:2183 x64_sys_call+0x3c0b/0x3db0 arch/x86/include/generated/asm/syscalls_64.h:45 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f CPU: 0 UID: 0 PID: 6980 Comm: syz.3.231 Not tainted 6.16.0-rc7-syzkaller-00114-g327579671a9b #0 PREEMPT(none) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 =====================================================