Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 706F525F988 for ; Wed, 14 Jan 2026 15:08:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768403302; cv=none; b=MxncNf7mXFRA10kLcwWlV33Kt9E1W7XFDQl8A62J59psNyP6Ifb/wRM+/rSuV6CLw9atxQhTTPDKbrgPOIywX7kLvhlrFq7SoCco2SeMwcwLDbG5KcFGjNgl5fFRBMQ4XKVZ0UlCuTVG9tgnZkOls+wkKQEy+BbEfpoFW9zTgz4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768403302; c=relaxed/simple; bh=2q6bOuC0qsXoiIZDMj1Or27Y0JIK6Vc/rSNk7FhEDJ0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=QwXPlf4hI/hVWCsw4Tx7kGMjugTlJARMgRcvOJ/k7jLTacK7VM1MiT34gpdAr8xD/ZTOJigT877q53xIQSXHn57HAczP8f0CQUOvU+MbKRHs88VpJgBp2FwlJDZ9pTjZnJVxkm1TNcbNY4S/4/IO8Sq4Q1jtGG1i9l9a91XpLdw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=UdPToOTQ; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="UdPToOTQ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F2D7BC4CEF7; Wed, 14 Jan 2026 15:08:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1768403302; bh=2q6bOuC0qsXoiIZDMj1Or27Y0JIK6Vc/rSNk7FhEDJ0=; h=From:To:Cc:Subject:Date:Reply-To:From; b=UdPToOTQ24aop73pd+YW8E4tn9ZcYXnI2tIUNaxNL5AaJrTsNNW63IToHyA3YS5vC hMSlvNopBBFi/OKONIkzQZCr0YNUTsAOKiJzZ2536Pwz4byo/ZDTrJMshPK7W+q9sn mN4WTZIq/8ryKtm08TbVfanKWNLzFIyrVulMu68A= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-71135: md/raid5: fix possible null-pointer dereferences in raid5_store_group_thread_cnt() Date: Wed, 14 Jan 2026 16:07:59 +0100 Message-ID: <2026011453-CVE-2025-71135-9522@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2715; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=0VGw5DgmJf/qQjYowWGKMW3c9Ao1KDPHn13z/BT/zr8=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnpGz2fhRmKrdbp1VLS5PjKcX3rvDmr7089uae+8JqG1 25+i1+POmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAip3kZFlz+ZnNMOWWrQ51s /ry2D52rDz4wPMWwYMGFum5zU8PAC+uMWrclmCYGfBC9BQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: md/raid5: fix possible null-pointer dereferences in raid5_store_group_thread_cnt() The variable mddev->private is first assigned to conf and then checked: conf = mddev->private; if (!conf) ... If conf is NULL, then mddev->private is also NULL. In this case, null-pointer dereferences can occur when calling raid5_quiesce(): raid5_quiesce(mddev, true); raid5_quiesce(mddev, false); since mddev->private is assigned to conf again in raid5_quiesce(), and conf is dereferenced in several places, for example: conf->quiesce = 0; wake_up(&conf->wait_for_quiescent); To fix this issue, the function should unlock mddev and return before invoking raid5_quiesce() when conf is NULL, following the existing pattern in raid5_change_consistency_policy(). The Linux kernel CVE team has assigned CVE-2025-71135 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12.4 with commit be19e6e4339d1579d5f2fae8ce4facf9521dbbfc and fixed in 6.12.64 with commit 20597b7229aea8b5bc45cd92097640257c7fc33b Issue introduced in 6.13 with commit fa1944bbe6220eb929e2c02e5e8706b908565711 and fixed in 6.18.4 with commit e5abb6af905de6b2fead8a0b3f32ab0b81468a01 Issue introduced in 6.13 with commit fa1944bbe6220eb929e2c02e5e8706b908565711 and fixed in 6.19-rc4 with commit 7ad6ef91d8745d04aff9cce7bdbc6320d8e05fe9 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2025-71135 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/md/raid5.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/20597b7229aea8b5bc45cd92097640257c7fc33b https://git.kernel.org/stable/c/e5abb6af905de6b2fead8a0b3f32ab0b81468a01 https://git.kernel.org/stable/c/7ad6ef91d8745d04aff9cce7bdbc6320d8e05fe9