NFSD: copy SETXATTR data from all XDR buffer segments (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.66 % · percentile 53 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: NFSD: copy SETXATTR data from all XDR buffer segments nfsd4_vbuf_from_vector() manually copies the head followed by whole pages starting at offset zero. This assumes that all remaining data starts at the beginning of the page array and that no data is stored in the tail. However, nfsd4_decode_setxattr() passes an xdr_buf returned by xdr_stream_subsegment(). Such a sub-buffer can have a nonzero page_base and can span its page and tail segments. Ignoring that layout can copy the wrong bytes into the value passed to vfs_setxattr(). Use read_bytes_from_xdr_buf(), which observes the complete xdr_buf layout.
References
- https://git.kernel.org/stable/c/dcb096258b059d83320c29ef012643c6f4ee00d8
- https://git.kernel.org/stable/c/d887960eda2512330d7fc2fa41339cc94bca3df0
- https://git.kernel.org/stable/c/1cfd4174cd278eac259a0b6742bbf3f486a13603
- https://git.kernel.org/stable/c/b5ff29c96ea95d351ab14b9043a25844c26ed41d
- https://git.kernel.org/stable/c/019cf7e0eebf6dc14b465cc984390b41c854da69
- https://git.kernel.org/stable/c/20b76bdbd029343ea98944cb88bf016da2371739
- https://git.kernel.org/stable/c/fea77ec4a37614cbbe4fb26c621227182439f487
- https://git.kernel.org/stable/c/b01319947c69b0e3ea0fcd4b675eb892f9cad8a0
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | CRITICAL 9.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H | Linux |
| CVSS 3.1 | CRITICAL 9.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
European references
- ENISA EUVD · EUVD-2026-130028
- GCVE · GCVE-0-2026-99370
CERT-FR advisories
- CERTFR-2026-AVI-1639 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ bbb0a710a2c7a0b171e7a0d6fbdd6d5a2acd003b < dcb096258b059d83320c29ef012643c6f4ee00d8 affected : ≥ c1346a1216ab5cb04a265380ac9035d91b16b6d5 < d887960eda2512330d7fc2fa41339cc94bca3df0 affected : ≥ c1346a1216ab5cb04a265380ac9035d91b16b6d5 < 1cfd4174cd278eac259a0b6742bbf3f486a13603 affected : ≥ c1346a1216ab5cb04a265380ac9035d91b16b6d5 < b5ff29c96ea95d351ab14b9043a25844c26ed41d affected : ≥ c1346a1216ab5cb04a265380ac9035d91b16b6d5 < 019cf7e0eebf6dc14b465cc984390b41c854da69 affected : ≥ c1346a1216ab5cb04a265380ac9035d91b16b6d5 < 20b76bdbd029343ea98944cb88bf016da2371739 affected : ≥ c1346a1216ab5cb04a265380ac9035d91b16b6d5 < fea77ec4a37614cbbe4fb26c621227182439f487 affected : ≥ c1346a1216ab5cb04a265380ac9035d91b16b6d5 < b01319947c69b0e3ea0fcd4b675eb892f9cad8a0 affected : ≥ 5.10.220 < 5.10.275 Other versions : unaffected |
| Linux · Linux | affected : 5.11 unaffected : ≥ 0 < 5.11 unaffected : ≥ 5.10.275 ≤ 5.10.* unaffected : ≥ 5.15.226 ≤ 5.15.* unaffected : ≥ 6.1.193 ≤ 6.1.* unaffected : ≥ 6.6.163 ≤ 6.6.* unaffected : ≥ 6.12.117 ≤ 6.12.* unaffected : ≥ 6.18.61 ≤ 6.18.* unaffected : ≥ 7.3.2 ≤ 7.3.* unaffected : ≥ 7.4-rc1 ≤ * Other versions : affected |
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 |