CVE-2026-99357: SUNRPC: Copy the deferred RPC Call from the head buffer
In the Linux kernel, the following vulnerability has been resolved:
SUNRPC: Copy the deferred RPC Call from the head buffer
svcdefer() snapshots the RPC Call for replay once a pending cache upcall resolves. It copies the Call starting (rqarg.len - head[0].iovlen) bytes before head[0].iovbase, a back-up that once covered a transport header. No transport has had one since commit 983084b2672c ("SUNRPC: Remove svcrqst::rqxprthlen"), so the two lengths are meant to be equal.
An RPCSECGSS Call breaks that assumption. Unwrapping the integrity service truncates rqarg.len by the length of the trailing checksum, and unwrapping the privacy service leaves rqarg.len short by an amount the client sets with trailing bytes after the wrap token. Neither adjusts head[0].iovlen. Both lengths are sizet, so the subtraction underflows and the copy starts past head[0].iovbase. Every deferred integrity Call replays a shifted snapshot.
A deferred replay skips GSS verification, so a shifted snapshot runs as an authenticated Call. With the privacy service the offset is client-chosen. A forged Call placed in that window, naming another user's GSS context handle, runs under that identity.
Copy the Call from head[0].iovbase. Refuse to defer a Call whose length runs past the head buffer, so the copy cannot read out of bounds.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.117 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.61 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.2 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch 983084b2672c