{"id":"CVE-2026-72465","state":"PUBLISHED","title":"xprtrdma: Sanitize the reply credit grant after parsing","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nxprtrdma: Sanitize the reply credit grant after parsing\n\nThe out_norqst exit in rpcrdma_reply_handler() branches away before\nthe credit clamp, so a reply that matches no pending request reaches\nout_post carrying the raw credit value parsed from the wire.\nrpcrdma_post_recvs() does not bound its @needed argument: the refill\nloop allocates and chains Receive WRs until the count is satisfied or\nallocation fails. A peer that sends a well-formed reply carrying an\nunknown XID and an inflated credit grant therefore drives rep\nallocation and Receive posting past re_max_requests on every such\nreply.\n\nMove the clamp to immediately after the credit field is parsed,\nahead of the first branch that can reach out_post, so every later\nconsumer sees a sanitized value. The cwnd update stays on the\nmatched-request path.","publishedAt":"2026-08-15T05:57:08.767Z","updatedAt":"2026-08-17T05:44:31.793Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d01d6670c169316115b26dfb3585a73dfe40b563","status":"affected","lessThan":"7cf332b3d82d73ffceedca6b4a120be074172021","versionType":"git"},{"version":"d1b159356a3584943192712392fcb2439aafb8c1","status":"affected","lessThan":"41634242140173eabbf54f899f9c70b5c685e786","versionType":"git"},{"version":"17da9e0caa8615f6fc3b4022eadbd78a9aea1a2a","status":"affected","lessThan":"8be1bb378def94a5cb8f7527a191e476407118ec","versionType":"git"},{"version":"e7ae0883c8c89b901226de43862184bf37054338","status":"affected","lessThan":"469b22376ee73369711ecf2761bd122ef4195963","versionType":"git"},{"version":"704f3f640f72db4d44ec5ce3db8d4e150c974bc7","status":"affected","lessThan":"33db78b1b24fc6a464ae08aa4d2538c5f883eb5e","versionType":"git"},{"version":"704f3f640f72db4d44ec5ce3db8d4e150c974bc7","status":"affected","lessThan":"c3a628aab2dc8f5fd7bff86ceaeae64de590e60a","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/sunrpc/xprtrdma/rpc_rdma.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.1","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.1","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/sunrpc/xprtrdma/rpc_rdma.c"]}],"references":["https://git.kernel.org/stable/c/7cf332b3d82d73ffceedca6b4a120be074172021","https://git.kernel.org/stable/c/41634242140173eabbf54f899f9c70b5c685e786","https://git.kernel.org/stable/c/8be1bb378def94a5cb8f7527a191e476407118ec","https://git.kernel.org/stable/c/469b22376ee73369711ecf2761bd122ef4195963","https://git.kernel.org/stable/c/33db78b1b24fc6a464ae08aa4d2538c5f883eb5e","https://git.kernel.org/stable/c/c3a628aab2dc8f5fd7bff86ceaeae64de590e60a"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/72xxx/CVE-2026-72465.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-72465","state":"PUBLISHED","datePublished":"2026-08-15T05:57:08.767Z","dateUpdated":"2026-08-17T05:44:31.793Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-08-09T03:40:39.933Z"},"containers":{"cna":{"title":"xprtrdma: Sanitize the reply credit grant after parsing","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nxprtrdma: Sanitize the reply credit grant after parsing\n\nThe out_norqst exit in rpcrdma_reply_handler() branches away before\nthe credit clamp, so a reply that matches no pending request reaches\nout_post carrying the raw credit value parsed from the wire.\nrpcrdma_post_recvs() does not bound its @needed argument: the refill\nloop allocates and chains Receive WRs until the count is satisfied or\nallocation fails. A peer that sends a well-formed reply carrying an\nunknown XID and an inflated credit grant therefore drives rep\nallocation and Receive posting past re_max_requests on every such\nreply.\n\nMove the clamp to immediately after the credit field is parsed,\nahead of the first branch that can reach out_post, so every later\nconsumer sees a sanitized value. The cwnd update stays on the\nmatched-request path."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d01d6670c169316115b26dfb3585a73dfe40b563","status":"affected","lessThan":"7cf332b3d82d73ffceedca6b4a120be074172021","versionType":"git"},{"version":"d1b159356a3584943192712392fcb2439aafb8c1","status":"affected","lessThan":"41634242140173eabbf54f899f9c70b5c685e786","versionType":"git"},{"version":"17da9e0caa8615f6fc3b4022eadbd78a9aea1a2a","status":"affected","lessThan":"8be1bb378def94a5cb8f7527a191e476407118ec","versionType":"git"},{"version":"e7ae0883c8c89b901226de43862184bf37054338","status":"affected","lessThan":"469b22376ee73369711ecf2761bd122ef4195963","versionType":"git"},{"version":"704f3f640f72db4d44ec5ce3db8d4e150c974bc7","status":"affected","lessThan":"33db78b1b24fc6a464ae08aa4d2538c5f883eb5e","versionType":"git"},{"version":"704f3f640f72db4d44ec5ce3db8d4e150c974bc7","status":"affected","lessThan":"c3a628aab2dc8f5fd7bff86ceaeae64de590e60a","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/sunrpc/xprtrdma/rpc_rdma.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.1","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.1","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/sunrpc/xprtrdma/rpc_rdma.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/7cf332b3d82d73ffceedca6b4a120be074172021"},{"url":"https://git.kernel.org/stable/c/41634242140173eabbf54f899f9c70b5c685e786"},{"url":"https://git.kernel.org/stable/c/8be1bb378def94a5cb8f7527a191e476407118ec"},{"url":"https://git.kernel.org/stable/c/469b22376ee73369711ecf2761bd122ef4195963"},{"url":"https://git.kernel.org/stable/c/33db78b1b24fc6a464ae08aa4d2538c5f883eb5e"},{"url":"https://git.kernel.org/stable/c/c3a628aab2dc8f5fd7bff86ceaeae64de590e60a"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:N - The flaw is in the NFS-over-RDMA client receive path: rpcrdma_wc_receive() delivers remote RDMA reply completions to rpcrdma_reply_handler(), so a malicious or compromised NFS/RDMA server can send crafted replies over InfiniBand/RoCE/iWARP without local access.\nAC:L - On an established RPC/RDMA session the peer fully controls inbound replies and can reliably send well-formed headers with an unknown XID and an inflated credit grant on every message, deterministically reaching out_norqst and out_post without races or special victim state.\nPR:N - Exploitation requires only network reachability as the connected RDMA/RPC peer; the attacker does not need local accounts, mount privileges, or namespaced capabilities on the victim NFS client to deliver malicious reply traffic.\nUI:N - Once an NFS-over-RDMA mount and transport session exist, the attacker can flood spurious replies during normal client-server communication without any additional victim or administrator action at exploit time.\nS:U - Impact is confined to excessive kernel memory allocation and denial of service within the NFS client's SUNRPC/xprtrdma transport; it does not cross VM, container, or IOMMU security boundaries.\nC:N - The bug is unbounded receive-buffer allocation driven by an unsanitized wire credit field, not an out-of-bounds read, use-after-free, or other memory disclosure primitive that exposes kernel data to the attacker.\nI:N - Inflated credits only cause rpcrdma_post_recvs() to allocate and post extra rpcrdma_rep objects; there is no demonstrated memory corruption, arbitrary write, or control-flow hijack primitive.\nA:H - Each spurious reply can drive rpcrdma_rep_create() far past re_max_requests until allocation fails, enabling repeated remote kernel memory exhaustion, OOM conditions, and loss of NFS-over-RDMA service on the client."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-17T05:44:31.793Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.1","versionEndExcluding":"7.1.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.1","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}