CVE-2026-90102

NFSv4/pnfs: key the data server cache on the NFS version

State
Published
Severity
7.5 High
Published
Sep 17, 2026
Updated
Oct 19, 2026
Reserved
Sep 11, 2026

Read the record on cve.org

Description

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

NFSv4/pnfs: key the data server cache on the NFS version

nfs4_pnfs_ds_add() keys the per-net data server cache on the multipath address set alone, and struct nfs4_pnfs_ds records no version. That suffices for the files layout driver, which always connects with version 4, but flexfiles takes its version tuple from GETDEVICEINFO per device, and one address can legitimately serve both NFSv3 and NFSv4.

Two deviceids on one address with different ds_versions[0].version therefore share a single nfs4_pnfs_ds, and whichever mirror connects first pins ds_clp to its own version. The other one is handed that client anyway, so it selects rpc_call_ops for a version the connection does not speak, and the mismatched sequence-slot handling dereferences NULL.

Add the version to the cache key so the two cannot alias, giving each version its own nfs4_pnfs_ds and connection while both mirrors stay usable. Only the major version is compared, since that is what selects rpc_call_ops and rpc_ops; v4.0 and v4.1 keep sharing a client. The files layout driver passes the 4 it already hardcodes at connect time.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • d67ae825a59d639e4d8b82413af84d854617a87e to before ffb100b0da0e217d5d63ce6fe092f9c29e59f7ddAffected
  • d67ae825a59d639e4d8b82413af84d854617a87e to before 02e160922bc83cd25e346a028ed43cbdb0b57e1aAffected
  • d67ae825a59d639e4d8b82413af84d854617a87e to before bc7aa9d8aff826031ffe25eba7f2f3acafcbf7a1Affected
  • d67ae825a59d639e4d8b82413af84d854617a87e to before dd5bd091daa48c6ed8f9235ddf448aa288a0881fAffected
  • d67ae825a59d639e4d8b82413af84d854617a87e to before f2994ba1263d9e88d3d9ae1d097c5cf811d4bfa5Affected
  • d67ae825a59d639e4d8b82413af84d854617a87e to before 27f640cd92eebf5c2f64336be7ca24f4636390cbAffected
  • d67ae825a59d639e4d8b82413af84d854617a87e to before bbc975cfb07a146843fde1126c43441e76177539Affected
  • d67ae825a59d639e4d8b82413af84d854617a87e to before 13c23c5cb977f66390795437fd3837887ce1fd75Affected
LinuxLinux
  • 4.0Affected
  • before 4.0Not affected
  • 5.10.270 through 5.10.*Not affected
  • 5.15.221 through 5.15.*Not affected
  • 6.1.188 through 6.1.*Not affected
  • 6.6.157 through 6.6.*Not affected
  • 6.12.110 through 6.12.*Not affected
  • 6.18.52 through 6.18.*Not affected
  • 7.2.6 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.