===================================================== 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 __block_write_begin_int+0xa73/0x3030 fs/buffer.c:2151 block_write_begin fs/buffer.c:2262 [inline] cont_write_begin+0x10e1/0x1bc0 fs/buffer.c:2601 hfs_write_begin+0x85/0x130 fs/hfs/inode.c:52 cont_expand_zero fs/buffer.c:2528 [inline] cont_write_begin+0x35d/0x1bc0 fs/buffer.c:2591 hfs_write_begin+0x85/0x130 fs/hfs/inode.c:52 hfs_file_truncate+0x1d6/0xe60 fs/hfs/extent.c:494 hfs_inode_setattr+0x964/0xaa0 fs/hfs/inode.c:654 notify_change+0x1990/0x1aa0 fs/attr.c:552 do_truncate+0x28f/0x310 fs/open.c:68 do_ftruncate+0x698/0x730 fs/open.c:195 do_sys_ftruncate fs/open.c:210 [inline] __do_sys_ftruncate fs/open.c:215 [inline] __se_sys_ftruncate fs/open.c:213 [inline] __x64_sys_ftruncate+0x11b/0x250 fs/open.c:213 x64_sys_call+0xfe3/0x3db0 arch/x86/include/generated/asm/syscalls_64.h:78 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] __do_kmalloc_node mm/slub.c:4327 [inline] __kvmalloc_node_noprof+0xcab/0x1530 mm/slub.c:5015 kvmalloc_array_node_noprof include/linux/slab.h:1065 [inline] __ptr_ring_init_queue_alloc_noprof include/linux/ptr_ring.h:471 [inline] ptr_ring_init_noprof include/linux/ptr_ring.h:489 [inline] skb_array_init_noprof include/linux/skb_array.h:182 [inline] pfifo_fast_init+0x45c/0x7f0 net/sched/sch_generic.c:867 qdisc_create_dflt+0x21c/0x640 net/sched/sch_generic.c:1017 attach_one_default_qdisc net/sched/sch_generic.c:1176 [inline] netdev_for_each_tx_queue include/linux/netdevice.h:2655 [inline] attach_default_qdiscs net/sched/sch_generic.c:1194 [inline] dev_activate+0x4ce/0x1c10 net/sched/sch_generic.c:1253 __dev_open+0xbc1/0xc60 net/core/dev.c:1692 __dev_change_flags+0x3a8/0x9f0 net/core/dev.c:9458 netif_change_flags+0x8d/0x1e0 net/core/dev.c:9521 do_setlink+0x15c3/0x7e50 net/core/rtnetlink.c:3141 rtnl_changelink net/core/rtnetlink.c:3759 [inline] __rtnl_newlink net/core/rtnetlink.c:3918 [inline] rtnl_newlink+0x2fcc/0x3a90 net/core/rtnetlink.c:4055 rtnetlink_rcv_msg+0x106f/0x14b0 net/core/rtnetlink.c:6944 netlink_rcv_skb+0x54d/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+0xedf/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: 6006 Comm: syz.1.2 Not tainted 6.16.0-rc7-syzkaller #0 PREEMPT(none) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 =====================================================