Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 319FB3783A0 for ; Sat, 15 Aug 2026 06:28:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775298; cv=none; b=IltF41NSnjJD6nPufU8/0OG44g2NqqBXV68pEkIDcf8WRKkOyfNSuiYiIZKwosUMaVi3ZSR69s4845rJmwafr4Nuycz/s4F3TegiLKcQLs6eF7HglmKKfqtouvpMTQ5MYuGMUy76SiLjQ4rYfnSZAGX2J52ckESzT/FDl31OVho= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775298; c=relaxed/simple; bh=iKyZzUc/wcMPYHuR/IwreiCbOXCUSNeUe9MH/RTBxGc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=GbzifT7Yu1nBxKblbx91D9ofehzRrLuvjVPBD+jl8DVonzjGT0spWYbThzfCzMQufoF4zxoxBfiyb8UX72L6z7QuUao+xiU9vZf2TMklnNmcTJbA1ZlpsTpWWquO2zzUi7y27wnzhBeUG3gCPGHPSrcVlhQ1CxlcqdTowTcNOZo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=T6YPKLHE; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="T6YPKLHE" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7F3AE1F000E9; Sat, 15 Aug 2026 06:28:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786775297; bh=EfQwrBI/NGty3OOuDJwtaXq5NDFIxO+4KEFLtjsuNEM=; h=From:To:Cc:Subject:Date:Reply-To; b=T6YPKLHEDo+Wbvp2o52r6xhp00svws5+pYaqWJQRZnpZ7gIpVznkeKdOzajrco2JT aYkNcxJ6At02AxDki2GFMtv4PxJIk+bJvnq3D+7xF2zLdb6YwKOu4asb3thAcCuqJG 9vAc6ttbD3nfRpd60ssOOq66dDWvRbd0/xJ0i8vY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72438: md/raid10: fix writes_pending and barrier reference leaks on discard failures Date: Sat, 15 Aug 2026 15:08:37 +0900 Message-ID: <2026081528-CVE-2026-72438-f2cb@gregkh> X-Mailer: git-send-email 2.55.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=2507; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=V22r1ZvWCJ1lCQkStAZsbWW+bE3swvnjTTUnGJI7H+o=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDF8eNkYfnzb/h7nfcdWFDr/kFV+wbxBjKApTucnX9 7hyUY5rRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEykzYthwczfyRKBn5YrSM1b +u6yn4Dq1p/ajAzz1PoOnedRNM+rO+r7cnPS6y0Vf1plAQ== 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/raid10: fix writes_pending and barrier reference leaks on discard failures raid10_make_request() acquires a writes_pending reference with md_write_start() before calling raid10_handle_discard(). Several failure paths in raid10_handle_discard() complete the bio and return without releasing the corresponding reference, causing md_write_end() to be skipped. Call md_write_end() before returning from these failure paths to keep writes_pending accounting balanced. Additionally, discard split allocation failures can occur after wait_barrier() succeeds. Those paths return without calling allow_barrier(), leaking the associated barrier reference. Release the barrier before returning from those paths. The Linux kernel CVE team has assigned CVE-2026-72438 to this issue. Affected and fixed versions =========================== Issue introduced in 5.17 with commit c9aa889b035fca4598ae985a0f0c76ebbb547ad2 and fixed in 7.1.5 with commit d1324b41dabd26787559efaeb430643c627c1eb0 Issue introduced in 5.17 with commit c9aa889b035fca4598ae985a0f0c76ebbb547ad2 and fixed in 7.2-rc1 with commit 393d687131d8aa8c7e4de2cb494438e145d20fc2 Issue introduced in 5.15.111 with commit 39db562b3fedb93978a7e42dd216b306740959f8 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-2026-72438 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/raid10.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/d1324b41dabd26787559efaeb430643c627c1eb0 https://git.kernel.org/stable/c/393d687131d8aa8c7e4de2cb494438e145d20fc2