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 E5508361967 for ; Thu, 17 Sep 2026 16:17:05 +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=1789661827; cv=none; b=VGyM7Is6+zaVTOg8+V27NuNZHtc3PkrG2uHYaDtLJaAk/5yiMGfNYZrjpyAU37ype2cSaTAC9O56vN/alhwTD8qtCs1XRWkbx9+Vbs0FGPsZr+hUHbFkDuoH82Uc0EzsU2TdjnbmsLh2PZ54olOb+fvvprWHwz8IDH7mtQrSG14= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789661827; c=relaxed/simple; bh=4v69drutlT6QkK6ZX67DiGSmodKnv11P+qBkeTlC3iE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=PtOtYma/wdXgfW3hDXV0hez1hYcwDSDS3853DkJCVWp8zLJmR2IC02er/q7h/qALS/lKSnCc7KyFnGhbnnfkoNqxuzG7z1ely82jD0rqIXpSOfVcL0xL5sFG7pAt9GehlS5EyADfUE3hU0MlKv3E5uLocV2fVI0FJ8JRFTFm4Xw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=kC/7Fd3q; 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="kC/7Fd3q" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4BD0D1F000FF; Thu, 17 Sep 2026 16:17:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789661825; bh=ScpW3JmNa4Nd1JQNPHpEVWT41KWqOkkciaRGIuuaahw=; h=From:To:Cc:Subject:Date:Reply-To; b=kC/7Fd3qKy5uDTDSjNoOOHKMyYhyRMCIRV/R173P11Nwh/HZYjmoPVdJaIFQCyTA1 vlGYZRue/rND18JW4eRu0PgZG8i+lyAwtWoZXrrLayzI5Dcv3DEygfV1f9XMzvQjaK dmCBnYODU77kSl03zEtF2CJQPjhADVJSXPZI9lm8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90149: NFSv4/flexfiles: fix NULL dereference for NFSv4.0 data servers Date: Thu, 17 Sep 2026 17:09:39 +0100 Message-ID: <2026091723-CVE-2026-90149-1690@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=2902; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=xdTCkefFGvplIPXk8SU598u/VKC5dP3Bf8fsBW0+XGg=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBMqfefSF32FeNzM5KFSVzfiE9ErTtHXneMReRwczb fg5S6msI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACYSEcWwYNbK3CfL5ftWLDcO epxfde753vB3HAzzlH5tfTQjvMpz5Z7s3b2q2V9epKxpBAA= 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: NFSv4/flexfiles: fix NULL dereference for NFSv4.0 data servers flexfiles accepts NFSv4.0 data servers, but two NFSv4 code paths assume the data server client has a session. Unlike NFSv4.1+, an NFSv4.0 client has no session (clp->cl_session is NULL; it uses clp->cl_slot_tbl), so I/O to a v4.0 flexfiles DS oopses: - nfs4_init_ds_session() dereferences clp->cl_session->session_state while seeding the DS lease. It also only seeds cl_lease_time when NFS4_SESSION_INITING is set; without a session that never happens, so cl_lease_time stays 0 and nfs4_renew_state() busy-loops, requeuing every 5 seconds. Seed the lease whenever there is no session and return before touching session state. - ff_layout_async_handle_error_v4() dereferences clp->cl_session->fc_slot_table on every DS I/O error. Fall back to the v4.0 transport slot table (clp->cl_slot_tbl) when there is no session. The Linux kernel CVE team has assigned CVE-2026-90149 to this issue. Affected and fixed versions =========================== Issue introduced in 4.12 with commit a7878ca140084ec267ede48fce64d7e60f6d873e and fixed in 6.18.52 with commit 163c16e01f53fc8eb8d0f3484ae6c382265ecbbd Issue introduced in 4.12 with commit a7878ca140084ec267ede48fce64d7e60f6d873e and fixed in 7.2.6 with commit 436a214514e24103159aea455147d58b44a8a585 Issue introduced in 4.12 with commit a7878ca140084ec267ede48fce64d7e60f6d873e and fixed in 7.3-rc1 with commit 2b03ebbf8d5e8f6af4ecd6c65375232dd1ec32cc 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-90149 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/flexfilelayout/flexfilelayout.c fs/nfs/nfs4session.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/163c16e01f53fc8eb8d0f3484ae6c382265ecbbd https://git.kernel.org/stable/c/436a214514e24103159aea455147d58b44a8a585 https://git.kernel.org/stable/c/2b03ebbf8d5e8f6af4ecd6c65375232dd1ec32cc