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 2C5A714264C for ; Tue, 21 May 2024 14:39: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=1716302341; cv=none; b=eDgAFafPS+eNbz3Nm6kPRA9VpSScmYYNPeKUx1ab7Zo+babU+5laJr+eiZtwlLKEjxWKTa64mzsjocaVoDy4XLw7BGJb7sj+22AxUrsyXXEbaYy8FameXMT0ksXXR93vFYNYZdKWLJ8ntC0w5K8JfAR7Lm8cayQiZmSZO9fgoUQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716302341; c=relaxed/simple; bh=61gknXNw4YKN75+kABcWWOB2D3CbrOD9ySKYBJj2KNs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ZNG9pW83FgZ6m3LYobrTp05+I7vrLvNcOTsD10JeYZzVG9Z4WeJQzK/Fj//Jhc3SLlyMxk0mfTQ0j7Uju5FLS7S5oUlVwKO6p+zj6rgRwKYDqdxSRDd9jmY4VyM10RcyKJZk9sgv6I9t6VOeKEOX2uVZFal5dfmOadoVTezxxFE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=lMyJwln+; 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="lMyJwln+" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AA44BC2BD11; Tue, 21 May 2024 14:39:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716302341; bh=61gknXNw4YKN75+kABcWWOB2D3CbrOD9ySKYBJj2KNs=; h=From:To:Cc:Subject:Date:Reply-to:From; b=lMyJwln+uU5yfKgX3WZmx28eZdJLJgYZcgRBYnERG+OEQZ9QuskUQ0LnaiWkCPouS ngapQAjkvVBQ+cqz/Pjz6LS1+kNolYl5JcH8KAxufQdv8E0IfK0gwtV+pc8+Gak/gZ bS58a7mWX+Vx6I5/MfrEa0xyb1CKTwBVERrWY/zg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2021-47322: NFSv4: Fix an Oops in pnfs_mark_request_commit() when doing O_DIRECT Date: Tue, 21 May 2024 16:35:56 +0200 Message-ID: <2024052132-CVE-2021-47322-e9cb@gregkh> X-Mailer: git-send-email 2.45.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=2156; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=61gknXNw4YKN75+kABcWWOB2D3CbrOD9ySKYBJj2KNs=; b=owGbwMvMwCRo6H6F97bub03G02pJDGk+G014jr3mjQz7zf6f480zLg37KbHPzqx3jtZI87X+o 2jM6RDYEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABOx+sCw4Fi6/pcHSk524T0n HsdNcgsKVTg6i2FBn/2LlPNfX0Qe4mx7uu/VuW+SCU3/AQ== 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: NFSv4: Fix an Oops in pnfs_mark_request_commit() when doing O_DIRECT Fix an Oopsable condition in pnfs_mark_request_commit() when we're putting a set of writes on the commit list to reschedule them after a failed pNFS attempt. The Linux kernel CVE team has assigned CVE-2021-47322 to this issue. Affected and fixed versions =========================== Issue introduced in 5.7 with commit 9c455a8c1e14 and fixed in 5.10.52 with commit 5c7ef8a37055 Issue introduced in 5.7 with commit 9c455a8c1e14 and fixed in 5.12.19 with commit 7c96a2ee45be Issue introduced in 5.7 with commit 9c455a8c1e14 and fixed in 5.13.4 with commit 7aec9f862411 Issue introduced in 5.7 with commit 9c455a8c1e14 and fixed in 5.14 with commit 3731d44bba8e 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-2021-47322 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/nfs/direct.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/5c7ef8a3705542136a1e19b070e951f0730b2153 https://git.kernel.org/stable/c/7c96a2ee45be41d5a167e6332d202086752c36bb https://git.kernel.org/stable/c/7aec9f862411906f8c27071ba65a1e110ad7d2fd https://git.kernel.org/stable/c/3731d44bba8e0116b052b1b374476c5f6dd9a456