Skip to contentSkip to conversation

CVE-2026-23053: NFS: Fix a deadlock involving nfs_release_folio()

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Feb 4

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

NFS: Fix a deadlock involving nfs_release_folio()

Wang Zhaolong reports a deadlock involving NFSv4.1 state recovery waiting on kthreadd, which is attempting to reclaim memory by calling nfs_release_folio(). The latter cannot make progress due to state recovery being needed.

It seems that the only safe thing to do here is to kick off a writeback of the folio, without waiting for completion, or else kicking off an asynchronous commit.

The Linux kernel CVE team has assigned CVE-2026-23053 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.3 with commit 96780ca55e3cbf4f150fd5a833a61492c9947b5b and fixed in 6.12.67 with commit 49d352bc263fe4a834233338bfaad31b3109addf
	Issue introduced in 6.3 with commit 96780ca55e3cbf4f150fd5a833a61492c9947b5b and fixed in 6.18.7 with commit 19b4d9ab5e77843eac0429c019470c02f8710b55
	Issue introduced in 6.3 with commit 96780ca55e3cbf4f150fd5a833a61492c9947b5b and fixed in 6.19-rc6 with commit cce0be6eb4971456b703aaeafd571650d314bcca

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-23053

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/file.c
fs/nfs/nfstrace.h
fs/nfs/write.c
include/linux/nfs_fs.h

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/49d352bc263fe4a834233338bfaad31b3109addf
	https://git.kernel.org/stable/c/19b4d9ab5e77843eac0429c019470c02f8710b55
	https://git.kernel.org/stable/c/cce0be6eb4971456b703aaeafd571650d314bcca