svcrdma: Reject inline replies that overflow the pull-up buffer
In the Linux kernel, the following vulnerability has been resolved: svcrdma: Reject inline replies that overflow the pull-up buffer An RPC-over-RDMA client can request a reply, such as an NFS READ payload, without providing a Write list or a Reply chunk to carry it. When such a reply needs more scatter/gather entries than the device's Send Queue supports, svc_rdma_pull_up_needed() selects pull-up and svc_rdma_pull_up_reply_msg() linearizes the whole reply into sctxt->sc_xprt_buf. That buffer is only sc_max_req_size bytes, while the reply on this path is bounded only by the client's request, so svc_rdma_xb_linearize() copies past the end of the buffer and corrupts adjacent slab memory. The oversized length is then stored in sc_sges[0].length and posted, so the device also reads beyond the mapped region. The SGE-exhaustion branch is the only pull-up path that can exceed the buffer: the threshold branch pulls up only replies smaller than RPCRDMA_PULLUP_THRESH, and replies that fit the device's SGE budget are sent directly without linearization. Make svc_rdma_pull_up_needed() report -E2BIG when the reply it would pull up cannot fit sc_max_req_size, and fail the request with ERR_CHUNK as RFC 8166 Section 4.5.3 directs rather than dropping the connection. The helper no longer answers a simple yes/no question: it now reports pull-up, no pull-up, or -E2BIG for a reply too large to linearize. Rename svc_rdma_pull_up_needed() to svc_rdma_check_pull_up() so its name no longer implies a
CVE-2026-89530
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-89530
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "e248aa7be86e8179f20ac0931774ecd746f3f5bf",
"lessThan": "8068358f445a11296328ffa7c524701596814a17",
"versionType": "git"
},
{
"status": "affected",
"version": "e248aa7be86e8179f20ac0931774ecd746f3f5bf",
"lessThan": "fcd91b9957462d398792201c239dffaeff1cc8b2",
"versionType": "git"
},
{
"status": "affected",
"version": "e248aa7be86e8179f20ac0931774ecd746f3f5bf",
"lessThan": "1949dd1576f7a8aa161b1330c6125df9d53046d5",
"versionType": "git"
},
{
"status": "affected",
"version": "e248aa7be86e8179f20ac0931774ecd746f3f5bf",
"lessThan": "8ec60eb51fae37cd3d334ff26e4a7d6fb21ff7cf",
"versionType": "git"
},
{
"status": "affected",
"version": "e248aa7be86e8179f20ac0931774ecd746f3f5bf",
"lessThan": "0fbe20dfe74b783d255bf389a6ea77aa25dc7860",
"versionType": "git"
},
{
"status": "affected",
"version": "9b65b18f817d9ada2bf67351f24bdcce6789a0bb",
"versionType": "git"
},
{
"status": "affected",
"version": "d564356e1919d1178568c19af410cfc1a9076663",
"versionType": "git"
},
{
"status": "affected",
"version": "4.19.22",
"lessThan": "4.20",
"versionType": "semver"
},
{
"status": "affected",
"version": "4.20.9",
"lessThan": "4.21",
"versionType": "semver"
}
],
"programFiles": [
"net/sunrpc/xprtrdma/svc_rdma_sendto.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5.0"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "5.0",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.160",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.109",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.50",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.4",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"net/sunrpc/xprtrdma/svc_rdma_sendto.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-89530
Source reference:
/cveMetadata/cveId
Publisher severity
critical
Source reference: /containers/cna/metrics
- Event
- #46671 · Revision 1
- Added to Heist Feed
- Publisher date