# CVE-2026-90149: NFSv4/flexfiles: fix NULL dereference for NFSv4.0 data servers

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.66%, higher than 53% of CVEs (2026-12-02)
- Published: 2026-09-17T16:06:43.671Z
- Modified: 2026-10-30T13:20:43.453Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from a7878ca140084ec267ede48fce64d7e60f6d873e before e55d7fec8a9290f73032ee34c35dd68532809633; from a7878ca140084ec267ede48fce64d7e60f6d873e before 336b6da10021c69a8f273bbacdf7432fdc89a06f; from a7878ca140084ec267ede48fce64d7e60f6d873e before 5527af72b0100c94287bfec901b6313eeac567ca; from a7878ca140084ec267ede48fce64d7e60f6d873e before 163c16e01f53fc8eb8d0f3484ae6c382265ecbbd; from a7878ca140084ec267ede48fce64d7e60f6d873e before 436a214514e24103159aea455147d58b44a8a585; from a7878ca140084ec267ede48fce64d7e60f6d873e before 2b03ebbf8d5e8f6af4ecd6c65375232dd1ec32cc; 4.12 (not affected: before 4.12; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.114 up to 6.12.*; from 6.18.52 up to 6.18.*; from 7.2.6 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/e55d7fec8a9290f73032ee34c35dd68532809633>
- <https://git.kernel.org/stable/c/336b6da10021c69a8f273bbacdf7432fdc89a06f>
- <https://git.kernel.org/stable/c/5527af72b0100c94287bfec901b6313eeac567ca>
- <https://git.kernel.org/stable/c/163c16e01f53fc8eb8d0f3484ae6c382265ecbbd>
- <https://git.kernel.org/stable/c/436a214514e24103159aea455147d58b44a8a585>
- <https://git.kernel.org/stable/c/2b03ebbf8d5e8f6af4ecd6c65375232dd1ec32cc>

## Sources

- CVE List: [CVE-2026-90149](https://www.cve.org/CVERecord?id=CVE-2026-90149), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-90149](https://nvd.nist.gov/vuln/detail/CVE-2026-90149), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-90149 · Whole record: https://cve.day/CVE-2026-90149.json · Rebuilt by cve.day 2026-11-25T22:59:39.319Z
