From mboxrd@z Thu Jan 1 00:00:00 1970 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 09EEA1AB514 for ; Thu, 20 Jun 2024 11:18:37 +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=1718882317; cv=none; b=fHwHpZ05mrdLgR0GY5UqZmWYg0IVoG+FbxN5WjjWW8WgGNoJ4VW7ka0Jhy8OY3vNi7QL4aeHgu1DYTl4Fd1QT2cXkNBhaoXrEDXUxYJ13372QjgW5XKRroY8XxF7/PwI/igoKURnG6QmmfH3bPJHt9LzD64xlD2Q4M/0qO1hFHU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718882317; c=relaxed/simple; bh=mvGvmq6wqPwT8Nl6r+Qeh/Wo4MpqXJJQNczDWtQZyfs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=AtQ1kyj4s6coDaGM1E6wemmck/h+KZ0vRcROSXHC9PwFQbqeS+hfcMpwczJYW4JCwjQK22wT/QILDNsmFKo2OsydLXprVmi+PLI3I3wh2lnbT3MNtq/z9Eq2eE/CYLV/VnKdh5Ayyj+nGH5ButbSIFVz397L61oUlBie2Utb1MA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Ec4r7/y0; 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="Ec4r7/y0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 82CC3C32786; Thu, 20 Jun 2024 11:18:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1718882316; bh=mvGvmq6wqPwT8Nl6r+Qeh/Wo4MpqXJJQNczDWtQZyfs=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Ec4r7/y0PxBozP2++yYxJfGUeZX3KH4rHpb53JZi0yfSmwaHpz2OxuJq4tQqMXZcE V7LUZUZhUpzub1t01qvos4SJKT0xqAjbfJa6oN0gk1GYJ8tOlZwPeGLzZ5A5Y4rKrr DJX2QJhudHxFy71axp++J/3QL0+MVRJFW77TwRfI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-48767: ceph: properly put ceph_string reference after async create attempt Date: Thu, 20 Jun 2024 13:16:47 +0200 Message-ID: <2024062010-CVE-2022-48767-e91d@gregkh> X-Mailer: git-send-email 2.45.2 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=2082; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=mvGvmq6wqPwT8Nl6r+Qeh/Wo4MpqXJJQNczDWtQZyfs=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkl/FVbt7Vm9kspaBW83yctsb5j6oQJag8UDm/fdnBF8 aZHpjvndcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEIu0ZFpzIUPwjI/50yobP Z/dqnjtlPOtJuQfD/KwqUc7Py71iZnPFezy+ylXgtyDwAQA= 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: properly put ceph_string reference after async create attempt The reference acquired by try_prep_async_create is currently leaked. Ensure we put it. The Linux kernel CVE team has assigned CVE-2022-48767 to this issue. Affected and fixed versions =========================== Issue introduced in 5.7 with commit 9a8d03ca2e2c and fixed in 5.10.96 with commit e7be12ca7d39 Issue introduced in 5.7 with commit 9a8d03ca2e2c and fixed in 5.15.19 with commit 36d433ae3242 Issue introduced in 5.7 with commit 9a8d03ca2e2c and fixed in 5.16.5 with commit a0c22e970cd7 Issue introduced in 5.7 with commit 9a8d03ca2e2c and fixed in 5.17 with commit 932a9b5870d3 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-2022-48767 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/file.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/e7be12ca7d3947765b0d7c1c7e0537e748da993a https://git.kernel.org/stable/c/36d433ae3242aa714176378850e6d1a5a3e78f18 https://git.kernel.org/stable/c/a0c22e970cd78b81c94691e6cb09713e8074d580 https://git.kernel.org/stable/c/932a9b5870d38b87ba0a9923c804b1af7d3605b9