Skip to contentSkip to conversation

CVE-2026-98250: nfsd: fix handling of NFSEXP_PNFS in the netlink codepath

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 6

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: fix handling of NFSEXP_PNFS in the netlink codepath

The rework of how block layouts were checked moved the check for NFSEXP_PNFS out of nfsd4_setup_layout_type() and into the callers. That patch didn't account for the new call in nfsd4_setup_layout_type().

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

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

	Issue introduced in 7.2 with commit da9baa5470dcb077a7c9806f0925c60b530c470b and fixed in 7.2.8 with commit 30335038d4e25cf017abb0562f4f4eace4f58f96
	Issue introduced in 7.2 with commit da9baa5470dcb077a7c9806f0925c60b530c470b and fixed in 7.3-rc4 with commit f76017a7663c4ce5e379f8a8d39f032bdb1fd865

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

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/export.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/30335038d4e25cf017abb0562f4f4eace4f58f96
	https://git.kernel.org/stable/c/f76017a7663c4ce5e379f8a8d39f032bdb1fd865