xprtrdma: Sanitize the reply credit grant after parsing (Linux Linux)

CVE-2026-72465
HIGH 7.5

En bref

Source
NVD
EPSS
EPSS 0.68 % · centile 52 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Received

Description

In the Linux kernel, the following vulnerability has been resolved: xprtrdma: Sanitize the reply credit grant after parsing The out_norqst exit in rpcrdma_reply_handler() branches away before the credit clamp, so a reply that matches no pending request reaches out_post carrying the raw credit value parsed from the wire. rpcrdma_post_recvs() does not bound its @needed argument: the refill loop allocates and chains Receive WRs until the count is satisfied or allocation fails. A peer that sends a well-formed reply carrying an unknown XID and an inflated credit grant therefore drives rep allocation and Receive posting past re_max_requests on every such reply. Move the clamp to immediately after the credit field is parsed, ahead of the first branch that can reach out_post, so every later consumer sees a sanitized value. The cwnd update stays on the matched-request path.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected d01d6670c169316115b26dfb3585a73dfe40b563 < 7cf332b3d82d73ffceedca6b4a120be074172021 ; affected d1b159356a3584943192712392fcb2439aafb8c1 < 41634242140173eabbf54f899f9c70b5c685e786 ; affected 17da9e0caa8615f6fc3b4022eadbd78a9aea1a2a < 8be1bb378def94a5cb8f7527a191e476407118ec ; affected e7ae0883c8c89b901226de43862184bf37054338 < 469b22376ee73369711ecf2761bd122ef4195963 ; affected 704f3f640f72db4d44ec5ce3db8d4e150c974bc7 < 33db78b1b24fc6a464ae08aa4d2538c5f883eb5e ; affected 704f3f640f72db4d44ec5ce3db8d4e150c974bc7 < c3a628aab2dc8f5fd7bff86ceaeae64de590e60a
Linux · Linuxaffected 7.1 ; unaffected 0 < 7.1 ; unaffected 7.1.5 ≤ 7.1.* ; unaffected 7.2 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD