Skip to contentSkip to conversation

CVE-2026-99368: NFSD: Do not send CB_RECALL_ANY to NFSv4.0 clients

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Nov 19

lore
Share & tools
lore
#0 lore raw

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

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

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

NFSD: Do not send CB_RECALL_ANY to NFSv4.0 clients

deleg_reaper() sends CB_RECALL_ANY to every ACTIVE client holding delegations, but CB_RECALL_ANY is an NFSv4.1 operation. An NFSv4.0 client's callback service accepts only CB_GETATTR and CB_RECALL, so it replies OP_ILLEGAL. The decoder maps the unexpected opnum to -EIO, and nfsd4_cb_done() marks the client's callback channel down.

Nothing brings the channel back. nfsd4_run_cb_work() sets NFSD4_CB_UP only for a minor version above zero, and the only nfsd4_probe_callback() call site an NFSv4.0 client reaches is nfsd4_setclientid_confirm(). One visit from the reaper therefore leaves the channel marked down until the client re-establishes its clientid. RENEW then returns NFS4ERR_CB_PATH_DOWN for as long as the client holds delegations. nfsd4_cb_channel_good() stops returning true, so the client is granted no further delegations.

Skip clients at minor version zero.

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

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

	Issue introduced in 6.2 with commit 44df6f439a1790a5f602e3842879efa88f346672 and fixed in 6.12.117 with commit 6338a0182628da8ea1e66ac5397510796e71c632
	Issue introduced in 6.2 with commit 44df6f439a1790a5f602e3842879efa88f346672 and fixed in 6.18.61 with commit b202a337fddfb81c5d159e66441fb84c7783f537
	Issue introduced in 6.2 with commit 44df6f439a1790a5f602e3842879efa88f346672 and fixed in 7.3.2 with commit cd58899f22a9a232c741f890728fb5d9a2b007fe
	Issue introduced in 6.2 with commit 44df6f439a1790a5f602e3842879efa88f346672 and fixed in 7.4-rc1 with commit 95ff0c079b9cab91f2327beb4197a3bc48c71f55
	Issue introduced in 5.10.220 with commit 71a98737cdcfda6dee009522db1196bbc4a215f6
	Issue introduced in 5.15.154 with commit e18fc5fb2f00f6237582c88cbdd8c03a0a69ec14
	Issue introduced in 6.1.81 with commit f28dae54632c5ea45f32ddc6fba494f5efc15007

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

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/nfsd/nfs4state.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/6338a0182628da8ea1e66ac5397510796e71c632
	https://git.kernel.org/stable/c/b202a337fddfb81c5d159e66441fb84c7783f537
	https://git.kernel.org/stable/c/cd58899f22a9a232c741f890728fb5d9a2b007fe
	https://git.kernel.org/stable/c/95ff0c079b9cab91f2327beb4197a3bc48c71f55