CVE-2026-90103
NFSv4.2: fix LAYOUTSTATS send buffer exhaustion
At a glance
- Source
- NVD
- EPSS
- EPSS 0.70 % · percentile 53 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: NFSv4.2: fix LAYOUTSTATS send buffer exhaustion encode_layoutstats_maxsz budgets XDR_QUADLEN(PNFS_LAYOUTSTATS_MAXSIZE), i.e. 256 bytes, for the layoutupdate4 body written by the layout driver. The flexfiles record can exceed that. ff_layout_encode_ff_layoutupdate() emits, per data server, a netaddr4, an nfs_fh4, two ff_io_latency4, an nfstime4 and a bool. A data server whose filehandle is NFS_MAXFHSIZE bytes long already accounts for 132 of those bytes, and the two ff_io_latency4 at 64 bytes each, the nfstime4 and the bool add a further 144, so the body passes 256 bytes before the netaddr4 is encoded at all. encode_layoutstats() additionally writes the deviceid4 and the layoutupdate4 lou_type word, neither of which the macro accounts for. The filehandle and the address are both chosen by the server, through LAYOUTGET and GETDEVICEINFO, so it can drive the encoder past the end of the send buffer. xdr_reserve_space() returns NULL once that happens, and the two ff_layout_encode_io_latency() calls run with dss_info->mirror->lock held, so a NULL return there leaves the lock permanently held. Raise PNFS_LAYOUTSTATS_MAXSIZE to 384 so that the record fits inside the reservation.
References
- https://git.kernel.org/stable/c/842ac26615424577f24f0486b9d3bf97f28fad9c
- https://git.kernel.org/stable/c/397aa7000bbf6b6a0d32e66a544e978fb478c8e4
- https://git.kernel.org/stable/c/e82d7d999fe9f893f84bf332fd39cb5d9de7128f
- https://git.kernel.org/stable/c/5aca000630c0fd0da102ae1abf9245dd74f2ce36
- https://git.kernel.org/stable/c/cb11590c7ddc6883a1b1d70b1f98b2779fe626f2
- https://git.kernel.org/stable/c/3815b894b922e9b4f40b8b6f6d67bf80d44141c9
- https://git.kernel.org/stable/c/a973622da0c62c34043ddbbf382cd761b03e5136
- https://git.kernel.org/stable/c/c75ef2137e749f2673f0617cfdaae53b2bb7195a
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | Linux |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
European references
- ENISA EUVD · EUVD-2026-81696
- GCVE · GCVE-0-2026-90103
CERT-FR advisories
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1375 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1289 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1253 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 27c430644369ccd9a2272492ba6d0e85e2e4800b < 842ac26615424577f24f0486b9d3bf97f28fad9c ; affected 27c430644369ccd9a2272492ba6d0e85e2e4800b < 397aa7000bbf6b6a0d32e66a544e978fb478c8e4 ; affected 27c430644369ccd9a2272492ba6d0e85e2e4800b < e82d7d999fe9f893f84bf332fd39cb5d9de7128f ; affected 27c430644369ccd9a2272492ba6d0e85e2e4800b < 5aca000630c0fd0da102ae1abf9245dd74f2ce36 ; affected 27c430644369ccd9a2272492ba6d0e85e2e4800b < cb11590c7ddc6883a1b1d70b1f98b2779fe626f2 ; affected 27c430644369ccd9a2272492ba6d0e85e2e4800b < 3815b894b922e9b4f40b8b6f6d67bf80d44141c9 |
| Linux · Linux | affected 4.2 ; unaffected 0 < 4.2 ; unaffected 5.10.270 ≤ 5.10.* ; unaffected 5.15.221 ≤ 5.15.* ; unaffected 6.1.188 ≤ 6.1.* ; unaffected 6.6.157 ≤ 6.6.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |