{"id":"CVE-2026-90149","aliases":["CVE-2026-90149"],"related":[],"kind":"vulnerability","state":"published","title":"NFSv4/flexfiles: fix NULL dereference for NFSv4.0 data servers","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nNFSv4/flexfiles: fix NULL dereference for NFSv4.0 data servers\n\nflexfiles accepts NFSv4.0 data servers, but two NFSv4 code paths assume\nthe data server client has a session. Unlike NFSv4.1+, an NFSv4.0 client\nhas no session (clp->cl_session is NULL; it uses clp->cl_slot_tbl), so\nI/O to a v4.0 flexfiles DS oopses:\n\n  - nfs4_init_ds_session() dereferences clp->cl_session->session_state\n    while seeding the DS lease. It also only seeds cl_lease_time when\n    NFS4_SESSION_INITING is set; without a session that never happens, so\n    cl_lease_time stays 0 and nfs4_renew_state() busy-loops, requeuing\n    every 5 seconds. Seed the lease whenever there is no session and\n    return before touching session state.\n\n  - ff_layout_async_handle_error_v4() dereferences\n    clp->cl_session->fc_slot_table on every DS I/O error. Fall back to the\n    v4.0 transport slot table (clp->cl_slot_tbl) when there is no session.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nNFSv4/flexfiles: fix NULL dereference for NFSv4.0 data servers\n\nflexfiles accepts NFSv4.0 data servers, but two NFSv4 code paths assume\nthe data server client has a session. Unlike NFSv4.1+, an NFSv4.0 client\nhas no session (clp->cl_session is NULL; it uses clp->cl_slot_tbl), so\nI/O to a v4.0 flexfiles DS oopses:\n\n  - nfs4_init_ds_session() dereferences clp->cl_session->session_state\n    while seeding the DS lease. It also only seeds cl_lease_time when\n    NFS4_SESSION_INITING is set; without a session that never happens, so\n    cl_lease_time stays 0 and nfs4_renew_state() busy-loops, requeuing\n    every 5 seconds. Seed the lease whenever there is no session and\n    return before touching session state.\n\n  - ff_layout_async_handle_error_v4() dereferences\n    clp->cl_session->fc_slot_table on every DS I/O error. Fall back to the\n    v4.0 transport slot table (clp->cl_slot_tbl) when there is no session.","source":"cvelist"}],"published":"2026-09-17T16:06:43.671Z","modified":"2026-10-30T13:20:43.453Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"a7878ca140084ec267ede48fce64d7e60f6d873e","fixed":"e55d7fec8a9290f73032ee34c35dd68532809633","status":"affected"},{"type":"git","introduced":"a7878ca140084ec267ede48fce64d7e60f6d873e","fixed":"336b6da10021c69a8f273bbacdf7432fdc89a06f","status":"affected"},{"type":"git","introduced":"a7878ca140084ec267ede48fce64d7e60f6d873e","fixed":"5527af72b0100c94287bfec901b6313eeac567ca","status":"affected"},{"type":"git","introduced":"a7878ca140084ec267ede48fce64d7e60f6d873e","fixed":"163c16e01f53fc8eb8d0f3484ae6c382265ecbbd","status":"affected"},{"type":"git","introduced":"a7878ca140084ec267ede48fce64d7e60f6d873e","fixed":"436a214514e24103159aea455147d58b44a8a585","status":"affected"},{"type":"git","introduced":"a7878ca140084ec267ede48fce64d7e60f6d873e","fixed":"2b03ebbf8d5e8f6af4ecd6c65375232dd1ec32cc","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.12","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.114","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.52","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.6","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/e55d7fec8a9290f73032ee34c35dd68532809633","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/336b6da10021c69a8f273bbacdf7432fdc89a06f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5527af72b0100c94287bfec901b6313eeac567ca","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/163c16e01f53fc8eb8d0f3484ae6c382265ecbbd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/436a214514e24103159aea455147d58b44a8a585","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2b03ebbf8d5e8f6af4ecd6c65375232dd1ec32cc","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-90149","url":"https://www.cve.org/CVERecord?id=CVE-2026-90149","licence":"CVE Terms of Use","modified":"2026-10-30T12:34:23.855Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-90149","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90149","licence":"Public domain","modified":"2026-10-30T13:20:43.453Z"}],"updatedAt":"2026-11-25T22:59:39.319Z","epss":{"score":0.00665,"percentile":0.53066,"date":"2026-12-02T12:00:21.000Z"}}