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 125611CABF for ; Fri, 8 Nov 2024 05:24:34 +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=1731043475; cv=none; b=XlUhy6b0CiUYGtNmohts11Q+leNhskNQNkv2HCtswnowx7rcrg/erEML14vjnOtXoKQ5K/pIuu1AnHeDe6Xpo6gvrFB1muFP0cyXpkYmpchigNtBdUBv+hEESM3BhaZI1Mihs7zI04tCKcrVqraxIQ5NDfqth70kfciNxn1Yfus= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731043475; c=relaxed/simple; bh=55APJ03tQEANoR2/lefoxeA2AK2NbEBCxVD6SV/mibk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=GLPJ+907ycnqOS9tuscphqSTkej5XVWxIFMIjtV9H4KVnIxiYzs7AwaUFLwJoX8uuwPMu5uLTVkKPPb7bXNVG+WhqdwftQOhJ46HJN7aGEc4wWM44LLV5R0oxbf5U3O5iBZPRfX2GXMmVX2MgBw9/v0X/uOREXeXZmBPwkZtOXg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0vkmqYPS; 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="0vkmqYPS" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 349DBC4CECE; Fri, 8 Nov 2024 05:24:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1731043474; bh=55APJ03tQEANoR2/lefoxeA2AK2NbEBCxVD6SV/mibk=; h=From:To:Cc:Subject:Date:Reply-to:From; b=0vkmqYPSjdpFvCy9Pm8XaY0vxH6A9gE96LnbaA+5N5yk1bqpsYU3mrCjLtI+XDicg 5C9dQGZS2TawCsRNlXmcnATYt4EQdrp1M/uclQ15G9Qrvxzr8IkYO5gm+8VUumVQZX KzR02Sniv7irebt5zq7kc7PPt5jPyzzd9u55jtfQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-50179: ceph: remove the incorrect Fw reference check when dirtying pages Date: Fri, 8 Nov 2024 06:24:10 +0100 Message-ID: <2024110807-CVE-2024-50179-85f0@gregkh> X-Mailer: git-send-email 2.47.0 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=2680; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=55APJ03tQEANoR2/lefoxeA2AK2NbEBCxVD6SV/mibk=; b=owGbwMvMwCRo6H6F97bub03G02pJDOm6C8r3ZltO4468ocvf8TNsOe9aVXOL121N7azK8t0bp xUqLXHriGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgImIfWGY78kpdPT6jDjXRQ37 Nk+4sPiJ8tqU2Qzz7K/4772p8N7dX6Vq+usL597N2HOqGAA= 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: remove the incorrect Fw reference check when dirtying pages When doing the direct-io reads it will also try to mark pages dirty, but for the read path it won't hold the Fw caps and there is case will it get the Fw reference. The Linux kernel CVE team has assigned CVE-2024-50179 to this issue. Affected and fixed versions =========================== Issue introduced in 4.2 with commit 5dda377cf0a6 and fixed in 5.10.227 with commit f55e003d261b Issue introduced in 4.2 with commit 5dda377cf0a6 and fixed in 5.15.168 with commit f863bfd0a2c6 Issue introduced in 4.2 with commit 5dda377cf0a6 and fixed in 6.1.113 with commit ea98284fc4fb Issue introduced in 4.2 with commit 5dda377cf0a6 and fixed in 6.6.55 with commit 11ab19d48ab8 Issue introduced in 4.2 with commit 5dda377cf0a6 and fixed in 6.10.14 with commit 9d4f619153ba Issue introduced in 4.2 with commit 5dda377cf0a6 and fixed in 6.11.3 with commit 74b302ebad5b Issue introduced in 4.2 with commit 5dda377cf0a6 and fixed in 6.12-rc1 with commit c08dfb1b4949 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-50179 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/addr.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/f55e003d261baa7c57d51ae5c8ec1f5c26a35c89 https://git.kernel.org/stable/c/f863bfd0a2c6c99011c62ea71ac04f8e78707da9 https://git.kernel.org/stable/c/ea98284fc4fb05f276737d2043b02b62be5a8dfb https://git.kernel.org/stable/c/11ab19d48ab877430eed0c7d83810970bbcbc4f6 https://git.kernel.org/stable/c/9d4f619153bab7fa59736462967821d6521a38cb https://git.kernel.org/stable/c/74b302ebad5b43ac17460fa58092d892a3cba6eb https://git.kernel.org/stable/c/c08dfb1b49492c09cf13838c71897493ea3b424e