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 8D54A18952C for ; Fri, 27 Dec 2024 14:25:10 +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=1735309510; cv=none; b=qTXjIfXzZ3FvY0yDRpKDEljCdRCEphIRYGBDmwhm1z0mgOXSjSe9llZvSHZaPtfFKFuqcXUEp/T3VTDdnz8jYjJmPLrBbTF0Y0xwOzwT0hVfSpQ+4RLxovGStuRcgdv5EPaa7vIQHijuk4+P0FwFYhpRfQRw+shwEro9pGDQ/J8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735309510; c=relaxed/simple; bh=YlQojvpmMSJGXsJTw12FVkwxuucn6S9K1Ubc4h/hH+w=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Ym+drcgdBXkMPmxTHe3agKf/bLMDXDVDGcJEWEXC5gAeNePsy5ddwobkqzfo48nn4glBNq+cr/sqDGiNiZchB3KGcsNc4wI8hfMFn+NJFANAIkYDjgje+HRQfY6i7Kzy4bL6OXTw8NqN4J/F+9giGwlc8zpuydDmyghuQiQmiUw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=LELX7/OQ; 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="LELX7/OQ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 00C35C4CED0; Fri, 27 Dec 2024 14:25:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1735309510; bh=YlQojvpmMSJGXsJTw12FVkwxuucn6S9K1Ubc4h/hH+w=; h=From:To:Cc:Subject:Date:Reply-to:From; b=LELX7/OQRdgRaees49Ud1foly6+Qm/sIZgwvod8ATGdcD465lZO5P3Ts97X+TWDWD oGT6rAcGqKcdO9dsUk+zG1PaWshO7qUWRMCrM8JSohDzMTmGNDCQ6O9zEnWVRkjDQz bbelPy/BNZ2og3wOwsT94473KUSpQZO5wrHlZj/k= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-56563: ceph: fix cred leak in ceph_mds_check_access() Date: Fri, 27 Dec 2024 15:23:14 +0100 Message-ID: <2024122714-CVE-2024-56563-148f@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=1844; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=YlQojvpmMSJGXsJTw12FVkwxuucn6S9K1Ubc4h/hH+w=; b=owGbwMvMwCRo6H6F97bub03G02pJDOl5O4La1t4JzDuXd2B+4a6ta2unHYm/w6bNwXHl3hem+ Iaaf1+/dsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEeioZFrRVegvWHnusJp0v EjZDsqJ760TzTQwLdq7Lfb7Nb9Ysv2Vdl6LDjl123jHzLQA= 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: ceph: fix cred leak in ceph_mds_check_access() get_current_cred() increments the reference counter, but the put_cred() call was missing. The Linux kernel CVE team has assigned CVE-2024-56563 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit 596afb0b8933ba6ed7227adcc538db26feb25c74 and fixed in 6.12.4 with commit e3d1c9e2b811f13bdbbb962c2b17a6091c28522c Issue introduced in 6.10 with commit 596afb0b8933ba6ed7227adcc538db26feb25c74 and fixed in 6.13-rc1 with commit c5cf420303256dcd6ff175643e9e9558543c2047 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-56563 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/ceph/mds_client.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/e3d1c9e2b811f13bdbbb962c2b17a6091c28522c https://git.kernel.org/stable/c/c5cf420303256dcd6ff175643e9e9558543c2047