CVE-2026-99370
published critical CVSS 3.1 · 9.4NFSD: copy SETXATTR data from all XDR buffer segments
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxbbb0a710a2c7a0b171e7a0d6fbdd6d5a2acd003b to < dcb096258b059d83320c29ef012643c6f4ee00d8 · c1346a1216ab5cb04a265380ac9035d91b16b6d5 to < d887960eda2512330d7fc2fa41339cc94bca3df0 · c1346a1216ab5cb04a265380ac9035d91b16b6d5 to < 1cfd4174cd278eac259a0b6742bbf3f486a13603 · c1346a1216ab5cb04a265380ac9035d91b16b6d5 to < b5ff29c96ea95d351ab14b9043a25844c26ed41d · c1346a1216ab5cb04a265380ac9035d91b16b6d5 to < 019cf7e0eebf6dc14b465cc984390b41c854da69 · c1346a1216ab5cb04a265380ac9035d91b16b6d5 to < 20b76bdbd029343ea98944cb88bf016da2371739 · c1346a1216ab5cb04a265380ac9035d91b16b6d5 to < fea77ec4a37614cbbe4fb26c621227182439f487 · c1346a1216ab5cb04a265380ac9035d91b16b6d5 to < b01319947c69b0e3ea0fcd4b675eb892f9cad8a0 · 5.10.220 to < 5.10.275 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.11 (affected) · 0 to < 5.11 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.61 through 6.18.* (unaffected · semver) · 7.3.2 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3477 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bookworm | linux-6.12 | Advisory build | 6.12.117-1~deb12u1 | DLA-4927-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| Amazon Linux | AL2023 | kernel6.18aarch64 | Listed in advisory | Not stated | ALAS2023-2026-3477 |
Show 17 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devels390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macross390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sources390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourcex86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillaaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillappc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillas390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillax86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| Amazon Linux | AL2023 | kernel6.18src | Listed in advisory | Not stated | ALAS2023-2026-3477 |
| Amazon Linux | AL2023 | kernel6.18x86_64 | Listed in advisory | Not stated | ALAS2023-2026-3477 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.4 / 10
- Severity
- critical
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H
- Scenarios
- en: AV:N - The OP_SETXATTR xattr value is attacker-controlled XDR inside an NFSv4.2 COMPOUND. nfs4svc_decode_compoundargs calls nfsd4_decode_setxattr, which takes the value with xdr_stream_subsegment() from rq_arg filled by svc_tcp_recvfrom or svc_rdma_recvfrom and passes that sub-buffer to nfsd4_vbuf_from_vector. SUNRPC on TCP port 2049 is routable. AC:L - The client chooses the COMPOUND offset of the value and, for a single Read chunk, the position and length that svc_rdma_read_complete_one splits into rq_arg.pages and rq_arg.tail. A nonzero page_base, or a value that continues from the chunk into that tail, makes the pre-fix walk in nfsd4_vbuf_from_vector copy the wrong bytes on every send. PR:N - nfsd_dispatch reaches the decoder only after svcauth_unix_accept returns SVC_OK. That path records the uid and gid from the AUTH_SYS credential and accepts an empty AUTH_NULL verifier. nfsd4_vbuf_from_vector then runs inside nfsd4_decode_setxattr, before nfsd_setxattr calls fh_verify. UI:N - The client triggers nfsd4_decode_setxattr by sending the COMPOUND, and the Read chunk if it uses one, on its own connection. No second party has to mount an export, open a file, or answer a prompt. S:U - The memcpy in nfsd4_vbuf_from_vector and the later __vfs_setxattr_locked of that buffer both affect only the nfsd host kernel and the exported inode's user xattr, which is the same security authority as the server. C:H - When the value extends past the Read-chunk page_len into the tail built by svc_rdma_read_complete_one, nfsd4_vbuf_from_vector copies the overrun from the following rq_pages entry. svc_fill_pages obtains those pages with alloc_pages_bulk(GFP_KERNEL) and does not zero them, and a completed SETXATTR is readable back with GETXATTR. The overrun is the tail fragment, up to the 4096-byte default inline threshold. I:L - nfsd_setxattr feeds the mis-copied buffer to __vfs_setxattr_locked as the value of the user.* name built in nfsd4_decode_xattr_name, with length setxa_len. svcxdr_tmpalloc sizes the destination to that length, so the modification is that one attribute. A:H - A Read chunk that fills every svc_serv_maxpages slot of rq_pages leaves rq_pages[rq_maxpages] NULL from kcalloc. A value that begins on the last chunk page and spills into the tail makes nfsd4_vbuf_from_vector pass that NULL to page_address, and memcpy from page_to_virt(NULL) faults in kernel context.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | bbb0a710a2c7a0b171e7a0d6fbdd6d5a2acd003b to < dcb096258b059d83320c29ef012643c6f4ee00d8 (affected · git)c1346a1216ab5cb04a265380ac9035d91b16b6d5 to < d887960eda2512330d7fc2fa41339cc94bca3df0 (affected · git)c1346a1216ab5cb04a265380ac9035d91b16b6d5 to < 1cfd4174cd278eac259a0b6742bbf3f486a13603 (affected · git)c1346a1216ab5cb04a265380ac9035d91b16b6d5 to < b5ff29c96ea95d351ab14b9043a25844c26ed41d (affected · git)c1346a1216ab5cb04a265380ac9035d91b16b6d5 to < 019cf7e0eebf6dc14b465cc984390b41c854da69 (affected · git)c1346a1216ab5cb04a265380ac9035d91b16b6d5 to < 20b76bdbd029343ea98944cb88bf016da2371739 (affected · git)c1346a1216ab5cb04a265380ac9035d91b16b6d5 to < fea77ec4a37614cbbe4fb26c621227182439f487 (affected · git)c1346a1216ab5cb04a265380ac9035d91b16b6d5 to < b01319947c69b0e3ea0fcd4b675eb892f9cad8a0 (affected · git)5.10.220 to < 5.10.275 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 5.11 (affected)0 to < 5.11 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.61 through 6.18.* (unaffected · semver)7.3.2 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/019cf7e0eebf6dc14b465cc984390b41c854da69
- https://git.kernel.org/stable/c/1cfd4174cd278eac259a0b6742bbf3f486a13603
- https://git.kernel.org/stable/c/20b76bdbd029343ea98944cb88bf016da2371739
- https://git.kernel.org/stable/c/b01319947c69b0e3ea0fcd4b675eb892f9cad8a0
- https://git.kernel.org/stable/c/b5ff29c96ea95d351ab14b9043a25844c26ed41d
- https://git.kernel.org/stable/c/d887960eda2512330d7fc2fa41339cc94bca3df0
- https://git.kernel.org/stable/c/dcb096258b059d83320c29ef012643c6f4ee00d8
- https://git.kernel.org/stable/c/fea77ec4a37614cbbe4fb26c621227182439f487
Provider assertions
1Linux · cna
NFSD: copy SETXATTR data from all XDR buffer segments
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ff173e8c9f39058e995c0f7ae1c6388eb20907be8a2930db79d2171c50d2e3e2
- Ingested
- 23 Nov 2026, 14:35:29 UTC
- Source record
- Official CVE record