Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-138834

published

xprtrdma: trim head iovec when the payload arrives via a Write chunk

Published
30 Nov 2026, 13:25:25 UTC
Updated
30 Nov 2026, 13:25:25 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxcb0ae1fbb2f5e0cec250ba19c0525dde2b6c0160 to < 5efe2b84533da40717fb04567a810c3d706b5e3e · cb0ae1fbb2f5e0cec250ba19c0525dde2b6c0160 to < 59b974dde5146982f98d1c72cae4fa303de2d75d · cb0ae1fbb2f5e0cec250ba19c0525dde2b6c0160 to < b476d382e73a00aff0a203e9bce7bd04c516461d · cb0ae1fbb2f5e0cec250ba19c0525dde2b6c0160 to < fe91fe83f2d958aec8e70ed039702550790028e0 · cb0ae1fbb2f5e0cec250ba19c0525dde2b6c0160 to < eb731fe0e4ddc2085a6f468add36574f85e1f80f · cb0ae1fbb2f5e0cec250ba19c0525dde2b6c0160 to < 85eaf47588492bc75206b27b0c679610e49d2a81 · cb0ae1fbb2f5e0cec250ba19c0525dde2b6c0160 to < 7589b3a3d006813f4192b122123e46a9339ba06c · cb0ae1fbb2f5e0cec250ba19c0525dde2b6c0160 to < 9ee534a75912361308b1f956bc3e7895a082a422 · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.8 (affected) · 0 to < 4.8 (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.63 through 6.18.* (unaffected · semver) · 7.3.4 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 Not Affected Not required Amazon Linux assessment

Description

In the Linux kernel, the following vulnerability has been resolved: xprtrdma: trim head iovec when the payload arrives via a Write chunk The upper layer sets rq_rcv_buf.head[0].iov_len from its estimate of the reply header size. For RPCSEC_GSS that estimate includes auth->au_ralign, which gss_create_new() initializes to GSS_VERF_SLACK >> 2 (25 XDR words, or 100 bytes) and which is corrected to the real verifier size only after the first reply on that rpc_auth has been unwrapped. In this case, the krb5 MIC verifier is 36 bytes, so every request encoded before the first reply completes has a head that is 64 bytes too long. On TCP this is harmless: xdr_realign_pages() moves the excess head bytes, which are genuine reply data, into the page list. With RPC-over-RDMA and a Write chunk (sec=krb5, i.e. RPC_GSS_SVC_NONE, where DDP is allowed), the payload has already been placed directly into the page list, and the receive buffer holds only the inline part of the reply. rpcrdma_inline_fixup() clamps its local copy of the head length to the inline length but leaves head.iov_len untouched, so xdr_realign_pages() still sees iov_len > cur and shifts whatever lies past the inline reply in the receive buffer into the front of the directly-placed payload: rpc_xdr_recvfrom: head=[...,196] page=524288 tail=[...,64] rpc_xdr_alignment: nfsv4 READ offset=132 copied=64 The first 64 bytes returned by each such READ are incorrect (zeroed, or shifted right by 64 bytes depending on the kernel's xdr_shrink_bufhead() implementation). This is readily hit with pNFS flexfiles over RDMA and sec=krb5: the per-DS rpc_clnt gets a fresh rpc_auth whose first RPC is a large READ. Reads following the first completed reply return the expected data. Commit cb0ae1fbb2f5 ("xprtrdma: Do not update {head, tail}.iov_len in rpcrdma_inline_fixup()") removed the head-length correction while fixing the handling of pure-inline krb5p replies. When a Write chunk conveyed the payload, trim head.iov_len (in both rq_rcv_buf and rq_private_buf, which call_decode() expects to match) to the inline length actually received so that the XDR layer does not realign the page list. These READ replies have no trailing inline fields, and the payload is already in the page list, so the upper layer's head estimate can be safely reduced. Reduce buflen by the same amount to avoid treating unused head capacity as additional tail capacity. Pure inline replies and Reply chunk replies are unchanged. Tested on Linux 6.8.0 and 7.3-rc4 with NFSv4.1 pNFS flexfiles over RPC/RDMA and sec=krb5.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux cb0ae1fbb2f5e0cec250ba19c0525dde2b6c0160 to < 5efe2b84533da40717fb04567a810c3d706b5e3e (affected · git)cb0ae1fbb2f5e0cec250ba19c0525dde2b6c0160 to < 59b974dde5146982f98d1c72cae4fa303de2d75d (affected · git)cb0ae1fbb2f5e0cec250ba19c0525dde2b6c0160 to < b476d382e73a00aff0a203e9bce7bd04c516461d (affected · git)cb0ae1fbb2f5e0cec250ba19c0525dde2b6c0160 to < fe91fe83f2d958aec8e70ed039702550790028e0 (affected · git)cb0ae1fbb2f5e0cec250ba19c0525dde2b6c0160 to < eb731fe0e4ddc2085a6f468add36574f85e1f80f (affected · git)cb0ae1fbb2f5e0cec250ba19c0525dde2b6c0160 to < 85eaf47588492bc75206b27b0c679610e49d2a81 (affected · git)cb0ae1fbb2f5e0cec250ba19c0525dde2b6c0160 to < 7589b3a3d006813f4192b122123e46a9339ba06c (affected · git)cb0ae1fbb2f5e0cec250ba19c0525dde2b6c0160 to < 9ee534a75912361308b1f956bc3e7895a082a422 (affected · git)Default: unaffected Linux · cna
Linux Linux 4.8 (affected)0 to < 4.8 (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.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

1

Linux · cna

xprtrdma: trim head iovec when the payload arrives via a Write chunk

Provenance

Schema
5.2
Searchable
yes
Content hash
7a4fb98a30373bc4fa5fa7d18dd44d28f60ca131503f4e573077eeae07643073
Ingested
30 Nov 2026, 13:30:06 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected