1a70@syzkaller.appspotmail.com Fixes: 2205363dce74 ("ocfs2: Implement quota recovery") Cc: stable@vger.kernel.org Signed-off-by: Daniel Hodges --- fs/ocfs2/quota_local.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ocfs2/quota_local.c b/fs/ocfs2/quota_local.c index de7f12858729..bd3eb098097f 100644 --- a/fs/ocfs2/quota_local.c +++ b/fs/ocfs2/quota_local.c @@ -302,7 +302,7 @@ static int ocfs2_add_recovery_chunk(struct super_block *sb, if (!rc) return -ENOMEM; rc->rc_chunk = chunk; - rc->rc_bitmap = kmalloc(sb->s_blocksize, GFP_NOFS); + rc->rc_bitmap = kzalloc(sb->s_blocksize, GFP_NOFS); if (!rc->rc_bitmap) { kfree(rc); return -ENOMEM; -- 2.52.0[PATCH] ocfs2: zero-initialize recovery bitmap to prevent uninit-value in find_next_bitDaniel Hodges undefinedMark Fasheh , Joel Becker , Joseph Qi undefined undefined undefined undefined undefined undefined undefined undefinedƒ!…îo