Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 57EDB35F5F8 for ; Sat, 15 Aug 2026 06:14:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774486; cv=none; b=mwQ5IEmFri59GIAcb/HjHyTFe+/qO4xPP6T0kpgI4kHAO2NvIBcNqGYgkLOh4eyYipfkEVXBcP6LnNzz/iybivdbEADOXp4Vz23/AcazGauGE2kCUZx8MIwot1lyOG168SXbe4Vj+YaQaE5OWT7mPGNYrMbh7yMr9DBV6aiqnpQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774486; c=relaxed/simple; bh=fiUsQ5l4EM4ZPwrDFWYck/MLjPgJtx/CGv3qYiPv2Q8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=RGlzfIh1YMxjLhwVOZd7ZSsQu+DYvY44bSMHSXsLnOaZqNfyDymgVliMG29SR4E0V2MNyDrk4+8aT/TkwHFZxuRO0MxiC+TFVmChpMpY9jmDoJfHOoO0DUJl+7YjvAnr/Ymte4gAqqjqe3aBGnUyYFGupXrBVrCiEUcCWuHAgpg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=qOhEUEqT; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="qOhEUEqT" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9A8941F000E9; Sat, 15 Aug 2026 06:14:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786774485; bh=nVmv97N/PZYfgXgj8deX0V+ICcoMO/M6W+rvV7ql7IY=; h=From:To:Cc:Subject:Date:Reply-To; b=qOhEUEqT6SQsLlTb/pzF8NX/ztSFrZpD/znNPEZZAHjKLr0BqhpabWv95otzlFsVX 47Ws+jxrSt+FcPAm5swKetc7UALDeL5gVdHemjA49GaNxmzKseMSO61G0tGs0jL1a6 n4Nc9CGlHuUTNLHqMl5Ww1lJhq00cK5JZU+brLwc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72132: NFS: Charge unstable writes by request size, not folio size Date: Sat, 15 Aug 2026 15:03:31 +0900 Message-ID: <2026081530-CVE-2026-72132-7efe@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3484; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=8+59EjSQgbexuQSNVWKM7tqVP9OqruvVWnNTPJs2R5I=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDLsC3eP2LNmwemfYtu6PajcvXDASN6ncpnOJpZ81t 0a+fX9FRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEwk7CHDguMyjFMfTbiZeibY XUPqZ3m7TmXJdYYF16bePF9zeed3SX9u+fYLs/5tWXbzAwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: NFS: Charge unstable writes by request size, not folio size nfs_folio_mark_unstable() and nfs_folio_clear_commit() charge and uncharge NR_WRITEBACK/WB_WRITEBACK by folio_nr_pages(folio) once per *request* added to or removed from a commit list. This is correct only when a folio has a single associated request. When pg_test splits a folio into N sub-folio requests (e.g. pNFS flexfiles striping with a stripe unit smaller than the folio size, or plain wsize-limited splitting), each of the N requests independently charges the whole folio's page count, inflating the accounting by a factor of N per folio. With large folios and small stripe units this reaches multiple orders of magnitude: a 2 MiB folio split into 512 4 KiB requests can charge up to 512x its real size, pushing global dirty+writeback accounting past the system's dirty threshold and forcing every buffered writer on the host into the hard-throttle path, including unrelated in-kernel NFS server threads sharing the box. Charge each request only for the pages it actually covers. The Linux kernel CVE team has assigned CVE-2026-72132 to this issue. Affected and fixed versions =========================== Issue introduced in 6.3 with commit 0c493b5cf16e28d761b6e77c7c32aa0e7af70813 and fixed in 6.6.148 with commit a442c258320b689f13d2205eaeeddf8b0e630288 Issue introduced in 6.3 with commit 0c493b5cf16e28d761b6e77c7c32aa0e7af70813 and fixed in 6.12.97 with commit 1f646e23372f3444dc5f0bcb5404a49d26756add Issue introduced in 6.3 with commit 0c493b5cf16e28d761b6e77c7c32aa0e7af70813 and fixed in 6.18.40 with commit 0ffc032294a29601b1019dba91aa1a930d90df17 Issue introduced in 6.3 with commit 0c493b5cf16e28d761b6e77c7c32aa0e7af70813 and fixed in 7.1.5 with commit a192b6c149c6ea10cc88869accb78165eb454456 Issue introduced in 6.3 with commit 0c493b5cf16e28d761b6e77c7c32aa0e7af70813 and fixed in 7.2-rc3 with commit 27934d02cbeb8a957dd11c985a579e58d30c5270 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-2026-72132 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/internal.h fs/nfs/pnfs_nfs.c fs/nfs/write.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/a442c258320b689f13d2205eaeeddf8b0e630288 https://git.kernel.org/stable/c/1f646e23372f3444dc5f0bcb5404a49d26756add https://git.kernel.org/stable/c/0ffc032294a29601b1019dba91aa1a930d90df17 https://git.kernel.org/stable/c/a192b6c149c6ea10cc88869accb78165eb454456 https://git.kernel.org/stable/c/27934d02cbeb8a957dd11c985a579e58d30c5270