Kernel bug: KMSAN: uninit-value in _find_next_bit
Subsystem: ocfs2
Status: open

Crash report:
ocfs2: Finishing quota recovery on device (7,0) for slot 0
=====================================================
BUG: KMSAN: uninit-value in _find_next_bit+0x129/0x140 lib/find_bit.c:157
 _find_next_bit+0x129/0x140 lib/find_bit.c:157
 find_next_bit include/linux/find.h:73 [inline]
 ocfs2_recover_local_quota_file fs/ocfs2/quota_local.c:487 [inline]
 ocfs2_finish_quota_recovery+0xa93/0x3ea0 fs/ocfs2/quota_local.c:638
 ocfs2_complete_recovery+0x29c1/0x3ad0 fs/ocfs2/journal.c:1372
 process_one_work kernel/workqueue.c:3257 [inline]
 process_scheduled_works+0xb91/0x1d80 kernel/workqueue.c:3340
 worker_thread+0xedf/0x1590 kernel/workqueue.c:3421
 kthread+0xd5c/0xf00 kernel/kthread.c:463
 ret_from_fork+0x208/0x710 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246

Uninit was stored to memory at:
 _find_next_bit+0x122/0x140 lib/find_bit.c:157
 find_next_bit include/linux/find.h:73 [inline]
 ocfs2_recover_local_quota_file fs/ocfs2/quota_local.c:487 [inline]
 ocfs2_finish_quota_recovery+0xa93/0x3ea0 fs/ocfs2/quota_local.c:638
 ocfs2_complete_recovery+0x29c1/0x3ad0 fs/ocfs2/journal.c:1372
 process_one_work kernel/workqueue.c:3257 [inline]
 process_scheduled_works+0xb91/0x1d80 kernel/workqueue.c:3340
 worker_thread+0xedf/0x1590 kernel/workqueue.c:3421
 kthread+0xd5c/0xf00 kernel/kthread.c:463
 ret_from_fork+0x208/0x710 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246

Uninit was created at:
 slab_post_alloc_hook mm/slub.c:4955 [inline]
 slab_alloc_node mm/slub.c:5258 [inline]
 __do_kmalloc_node mm/slub.c:5651 [inline]
 __kmalloc_noprof+0xaf2/0x1c20 mm/slub.c:5664
 kmalloc_noprof include/linux/slab.h:961 [inline]
 ocfs2_add_recovery_chunk fs/ocfs2/quota_local.c:305 [inline]
 ocfs2_recovery_load_quota+0x44a/0x1290 fs/ocfs2/quota_local.c:360
 ocfs2_local_read_info+0x147f/0x2e30 fs/ocfs2/quota_local.c:749
 dquot_load_quota_sb+0x9ef/0xd60 fs/quota/dquot.c:2462
 dquot_load_quota_inode+0x4c5/0x7a0 fs/quota/dquot.c:2499
 ocfs2_enable_quotas+0x1d3/0x730 fs/ocfs2/super.c:930
 ocfs2_fill_super+0xab6d/0xb270 fs/ocfs2/super.c:1140
 get_tree_bdev_flags+0x6e6/0x920 fs/super.c:1691
 get_tree_bdev+0x38/0x50 fs/super.c:1714
 ocfs2_get_tree+0x35/0x40 fs/ocfs2/super.c:1184
 vfs_get_tree+0xb3/0x5c0 fs/super.c:1751
 fc_mount fs/namespace.c:1199 [inline]
 do_new_mount_fc fs/namespace.c:3636 [inline]
 do_new_mount+0x879/0x1700 fs/namespace.c:3712
 path_mount+0x749/0x1fb0 fs/namespace.c:4022
 do_mount fs/namespace.c:4035 [inline]
 __do_sys_mount fs/namespace.c:4224 [inline]
 __se_sys_mount+0x6f7/0x7e0 fs/namespace.c:4201
 __x64_sys_mount+0xe4/0x150 fs/namespace.c:4201
 x64_sys_call+0x38cb/0x3e70 arch/x86/include/generated/asm/syscalls_64.h:166
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xd9/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

CPU: 0 UID: 0 PID: 4235 Comm: kworker/u8:33 Not tainted syzkaller #0 PREEMPT(none) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
Workqueue: ocfs2_wq ocfs2_complete_recovery
=====================================================