SUNRPC: Copy the deferred RPC Call from the head buffer
- State
- Published
- Severity
- Not Scored
- Published
- Nov 19, 2026
- Updated
- Nov 23, 2026
- Reserved
- Sep 25, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
SUNRPC: Copy the deferred RPC Call from the head buffer
svc_defer() snapshots the RPC Call for replay once a pending cache upcall resolves. It copies the Call starting (rq_arg.len - head[0].iov_len) bytes before head[0].iov_base, a back-up that once covered a transport header. No transport has had one since commit 983084b2672c ("SUNRPC: Remove svc_rqst::rq_xprt_hlen"), so the two lengths are meant to be equal.
An RPCSEC_GSS Call breaks that assumption. Unwrapping the integrity service truncates rq_arg.len by the length of the trailing checksum, and unwrapping the privacy service leaves rq_arg.len short by an amount the client sets with trailing bytes after the wrap token. Neither adjusts head[0].iov_len. Both lengths are size_t, so the subtraction underflows and the copy starts past head[0].iov_base. 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].iov_base. Refuse to defer a Call whose length runs past the head buffer, so the copy cannot read out of bounds.
| Product | Versions |
|---|---|
| Linux Linux | 260c1d1298f6703d38fdccd3dd5a310766327340 to before 2df839cb84c87063328fbde7ed596ebfcd90f5c1 Affected260c1d1298f6703d38fdccd3dd5a310766327340 to before de4c9b2daac9e0e9bcf2f63b4c2c61f59c63a3e7 Affected260c1d1298f6703d38fdccd3dd5a310766327340 to before a56ec5e117238c45d66be6f1125b4d5d0e715241 Affected260c1d1298f6703d38fdccd3dd5a310766327340 to before 6ba5228ca9ec4adf24c1d1ac50620556993ac6bd Affected260c1d1298f6703d38fdccd3dd5a310766327340 to before 629a17cc81fe0b749bbee8303797b6c99a3e776b Affected260c1d1298f6703d38fdccd3dd5a310766327340 to before d514dd81771aff1192e84a57ae60428c13f07ccb Affected260c1d1298f6703d38fdccd3dd5a310766327340 to before 70614e41d379e5b9b1893ac65b49ae4cea6c36eb Affected260c1d1298f6703d38fdccd3dd5a310766327340 to before 2192a56b0686599358909c3e12e9a366f5b5d452 Affected |
| Linux Linux | 2.6.25 Affectedbefore 2.6.25 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.61 through 6.18.* Not Affected7.3.2 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/2df839cb84c87063328fbde7ed596ebfcd90f5c1
- https://git.kernel.org/stable/c/de4c9b2daac9e0e9bcf2f63b4c2c61f59c63a3e7
- https://git.kernel.org/stable/c/a56ec5e117238c45d66be6f1125b4d5d0e715241
- https://git.kernel.org/stable/c/6ba5228ca9ec4adf24c1d1ac50620556993ac6bd
- https://git.kernel.org/stable/c/629a17cc81fe0b749bbee8303797b6c99a3e776b
- https://git.kernel.org/stable/c/d514dd81771aff1192e84a57ae60428c13f07ccb
- https://git.kernel.org/stable/c/70614e41d379e5b9b1893ac65b49ae4cea6c36eb
- https://git.kernel.org/stable/c/2192a56b0686599358909c3e12e9a366f5b5d452
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.