Skip to contentSkip to conversation

CVE-2026-90148: NFSv4: Fix incorrect argument passed to nfs4_delete_lease() in nfs4_add_lease()

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 17

lore
Share & tools
lore
#0 lore raw

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

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

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

NFSv4: Fix incorrect argument passed to nfs4_delete_lease() in nfs4_add_lease()

When nfs4_add_lease() races with a delegation return, it calls nfs4_delete_lease() to clean up. Previously, it passed priv, which can legitimately be NULL. Passing a NULL priv eventually leads to a NULL pointer dereference in generic_setlease().

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

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

	Issue introduced in 5.14 with commit e93a5e9306a576011f03011b492d4fbaa274477b and fixed in 6.12.110 with commit ff7244faa13b23e9acfad9df0438f0b44b338f62
	Issue introduced in 5.14 with commit e93a5e9306a576011f03011b492d4fbaa274477b and fixed in 6.18.52 with commit d148a652d52fd6aee96daf798922eb800ebb3018
	Issue introduced in 5.14 with commit e93a5e9306a576011f03011b492d4fbaa274477b and fixed in 7.2.6 with commit d179ff22cd8514f966966fd9ad425dcbb98e1ada
	Issue introduced in 5.14 with commit e93a5e9306a576011f03011b492d4fbaa274477b and fixed in 7.3-rc1 with commit 468e458ffde907ba19acd2102ca1fbb8f6fbede2

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

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/nfs4proc.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/ff7244faa13b23e9acfad9df0438f0b44b338f62
	https://git.kernel.org/stable/c/d148a652d52fd6aee96daf798922eb800ebb3018
	https://git.kernel.org/stable/c/d179ff22cd8514f966966fd9ad425dcbb98e1ada
	https://git.kernel.org/stable/c/468e458ffde907ba19acd2102ca1fbb8f6fbede2