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 5D9D91537C3 for ; Sun, 29 Dec 2024 11:31:01 +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=1735471861; cv=none; b=q/Y7J0ZSvRD4vCq54VnJQAgJlob5LUlZta+KPVK46RBnPDvWv7vhKfW2LadHVae+UO6LzEdlFU+teD+67Vqr5oYinippMZkYkph708n1afh3QibKxxUuMHbIOQbrvw3dpHgFWJJDY6o9tva24Y6voLe2Lc6gOdW2GDhl+bY6gSs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735471861; c=relaxed/simple; bh=qpuwLbF2geWNOfkOq9mlu+/xa+3dwOPK+3/Tmy92C1w=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=kDGWUnv1mesG42im+249UCKQiFj3v2378ht4ga8rqTJQW9OgmVhuOFdeK+8OvveiW9pdh/Q3pugaYU8FjyZZrn5+4JfiGDrPI/qdCP2ldblVDIql+ZH8virq6rfNyjzmMo3BB1zva0LXlRJeG9Q7B6pUDw7leqGW4abD0JHz5XY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=BxrpyS41; 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="BxrpyS41" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DB6DCC4CED1; Sun, 29 Dec 2024 11:31:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1735471861; bh=qpuwLbF2geWNOfkOq9mlu+/xa+3dwOPK+3/Tmy92C1w=; h=From:To:Cc:Subject:Date:Reply-to:From; b=BxrpyS41nTzx5XSYjjNvO9CHn2sRx08+OxZUQWDLG9dfWZf6keymKApTDMSz1fPrx nyc2KJt6L1KaIwaF78n5CrqTZ7flATkqsJpiYFiSLiB/AYGphPaHeVfomD95fI1dNG 01vzY5Wf/Ho08fY2f53dSgj07seKMV4opNxnDXlc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-56749: dlm: fix dlm_recover_members refcount on error Date: Sun, 29 Dec 2024 12:29:42 +0100 Message-ID: <2024122927-CVE-2024-56749-14d1@gregkh> X-Mailer: git-send-email 2.47.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2264; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=qpuwLbF2geWNOfkOq9mlu+/xa+3dwOPK+3/Tmy92C1w=; b=owGbwMvMwCRo6H6F97bub03G02pJDOmFRtP598yRjF5e9tdoW4r+W+aipXH3L0+Z4JeoFOM4u 6t9hdyjjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIfgPDfPc6z6CNYev2BJ6d bhW9Im7xRKFZsxkWtH3aYMZxrSBi6uZZt19muNxdXd5ZDwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: dlm: fix dlm_recover_members refcount on error If dlm_recover_members() fails we don't drop the references of the previous created root_list that holds and keep all rsbs alive during the recovery. It might be not an unlikely event because ping_members() could run into an -EINTR if another recovery progress was triggered again. The Linux kernel CVE team has assigned CVE-2024-56749 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit 3a747f4a2ee85d51b905e2df940de4a924f8060a and fixed in 6.11.11 with commit 3230718a75a6c30ed60ac920c26be2119fa82b8e Issue introduced in 6.10 with commit 3a747f4a2ee85d51b905e2df940de4a924f8060a and fixed in 6.12.2 with commit fb2ec564887af1f365d754f7c306f1b5cd375b5e Issue introduced in 6.10 with commit 3a747f4a2ee85d51b905e2df940de4a924f8060a and fixed in 6.13-rc1 with commit 200b977ebbc313a59174ba971006a231b3533dc5 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-2024-56749 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: fs/dlm/recoverd.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/3230718a75a6c30ed60ac920c26be2119fa82b8e https://git.kernel.org/stable/c/fb2ec564887af1f365d754f7c306f1b5cd375b5e https://git.kernel.org/stable/c/200b977ebbc313a59174ba971006a231b3533dc5