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 509D7145FE4 for ; Sat, 17 Aug 2024 09:24:38 +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=1723886678; cv=none; b=cQ+13gIMHUkjdzMJiQvk2MjxZsB8X/I7V8Wtb+Ju6DlFdVQ/Kjtzew6DCrCFjNiJz8iMxm1YkhZ59+TR3JAiBGXsWYOLtKnBQEEy6bHsN7iVXHHURQFnhAvtJnXr/hiOCY0ZztDORULoh1A8IYs42vsRrbd6oDaYrFq05yKV6z8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723886678; c=relaxed/simple; bh=3cKjJew4l7iEbEdn+7+/7OENqG8pnDTQB/3oRRW6n9A=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=B7ezNcZCOBlCLQbDAz0iOqoSATxyB0wreg2vS5h11pi2GGLD1KbuWUzoTLlIE+LsR93/j7UMiGIdt9pUUUjBEzY2FRM457P8lVw6QxnPUeaHFIb6L5QdBJtZpdDrIdezs7bNZ3jDM6qZPoSAbob2dawYKjxoCVt49NdISxMc9Dk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=cHoqcj/8; 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="cHoqcj/8" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C7EA4C116B1; Sat, 17 Aug 2024 09:24:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1723886678; bh=3cKjJew4l7iEbEdn+7+/7OENqG8pnDTQB/3oRRW6n9A=; h=From:To:Cc:Subject:Date:Reply-to:From; b=cHoqcj/8E8SbgMVTpDcPnIXHKMKmdkJjq0p/06KztWI/8QedZPpbPjdVU0ajs2WRQ HG1bu0r28xc0Q8DVUR0LaO7220MAT2XjZvEfOEahlCf732Ns/DwY+KFSsAwYCIP0pY 7cK11JK9kuFyS3aE0zTtNf6MeukEsT/44ttjsY7A= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-43832: s390/uv: Don't call folio_wait_writeback() without a folio reference Date: Sat, 17 Aug 2024 11:22:36 +0200 Message-ID: <2024081727-CVE-2024-43832-7746@gregkh> X-Mailer: git-send-email 2.46.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=2214; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=3cKjJew4l7iEbEdn+7+/7OENqG8pnDTQB/3oRRW6n9A=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkHsi9HrF72m/1DrUEQ71vftwplpt+VdIsXNf1Je3CaL 3Na6bJ7HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRE+cY5hdPdv98OyPpUpzM ql5bA/59PgqhJgzzDAw0fslWZm51btQXKuuYc0VLYftrAA== 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: s390/uv: Don't call folio_wait_writeback() without a folio reference folio_wait_writeback() requires that no spinlocks are held and that a folio reference is held, as documented. After we dropped the PTL, the folio could get freed concurrently. So grab a temporary reference. The Linux kernel CVE team has assigned CVE-2024-43832 to this issue. Affected and fixed versions =========================== Issue introduced in 5.7 with commit 214d9bbcd3a6 and fixed in 6.1.103 with commit 1a1eb2f3fc45 Issue introduced in 5.7 with commit 214d9bbcd3a6 and fixed in 6.6.44 with commit 8736604ef533 Issue introduced in 5.7 with commit 214d9bbcd3a6 and fixed in 6.10.3 with commit b21aba72aadd Issue introduced in 5.7 with commit 214d9bbcd3a6 and fixed in 6.11-rc1 with commit 3f29f6537f54 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-43832 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: arch/s390/kernel/uv.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/1a1eb2f3fc453dcd52726d13e863938561489cb7 https://git.kernel.org/stable/c/8736604ef53359a718c246087cd21dcec232d2fb https://git.kernel.org/stable/c/b21aba72aadd94bdac275deab021fc84d6c72b16 https://git.kernel.org/stable/c/3f29f6537f54d74e64bac0a390fb2e26da25800d