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

CVE-2026-90102
HIGH 7.5

At a glance

Source
NVD
EPSS
EPSS 0.70 % · percentile 54 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ d67ae825a59d639e4d8b82413af84d854617a87e < ffb100b0da0e217d5d63ce6fe092f9c29e59f7dd
affected : ≥ d67ae825a59d639e4d8b82413af84d854617a87e < 02e160922bc83cd25e346a028ed43cbdb0b57e1a
affected : ≥ d67ae825a59d639e4d8b82413af84d854617a87e < bc7aa9d8aff826031ffe25eba7f2f3acafcbf7a1
affected : ≥ d67ae825a59d639e4d8b82413af84d854617a87e < dd5bd091daa48c6ed8f9235ddf448aa288a0881f
affected : ≥ d67ae825a59d639e4d8b82413af84d854617a87e < f2994ba1263d9e88d3d9ae1d097c5cf811d4bfa5
affected : ≥ d67ae825a59d639e4d8b82413af84d854617a87e < 27f640cd92eebf5c2f64336be7ca24f4636390cb
affected : ≥ d67ae825a59d639e4d8b82413af84d854617a87e < bbc975cfb07a146843fde1126c43441e76177539
affected : ≥ d67ae825a59d639e4d8b82413af84d854617a87e < 13c23c5cb977f66390795437fd3837887ce1fd75
Other versions : unaffected
Linux · Linux
affected : 4.0
unaffected : ≥ 0 < 4.0
unaffected : ≥ 5.10.270 ≤ 5.10.*
unaffected : ≥ 5.15.221 ≤ 5.15.*
unaffected : ≥ 6.1.188 ≤ 6.1.*
unaffected : ≥ 6.6.157 ≤ 6.6.*
unaffected : ≥ 6.12.110 ≤ 6.12.*
unaffected : ≥ 6.18.52 ≤ 6.18.*
unaffected : ≥ 7.2.6 ≤ 7.2.*
unaffected : ≥ 7.3 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD