sunrpc: defer rq_argp and rq_resp free until after RCU grace period (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.16 % · centile 6 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Statut NVD
- Received
Rechercher sur…
Description
In the Linux kernel, the following vulnerability has been resolved: sunrpc: defer rq_argp and rq_resp free until after RCU grace period svc_rqst_free() frees rqstp->rq_argp and rqstp->rq_resp synchronously via kfree(), but defers the rqstp struct free via kfree_rcu(). After svc_exit_thread() calls list_del_rcu() and svc_rqst_free(), there is a window where RCU readers that started before list_del_rcu() can still traverse the thread list and find the rqstp. These readers (e.g. nfsd_nl_rpc_status_get_dumpit()) dereference rqstp->rq_argp, which has already been freed — a use-after-free. Fix this by moving the kfree of rq_argp and rq_resp into an explicit call_rcu() callback alongside the struct free. Resources not accessed by RCU readers (bvec, buffer pages, scratch folio, auth_data) remain synchronously freed.
Références
- https://git.kernel.org/stable/c/c977158237bccc3d2512d5b17c47ee3760dc8839
- https://git.kernel.org/stable/c/0ea49d69aa806008b2424c8cf21cf746b9963967
- https://git.kernel.org/stable/c/08bc49e0541260bf294962cf889a32a2d2713ad6
- https://git.kernel.org/stable/c/e0c5693d3f9a5d4911735ab0e0eba4eecb1f1090
- https://git.kernel.org/stable/c/c479bde671cbe2f9e152834a8b0eb7c3c295bbaf
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
Références européennes
- ENISA EUVD · EUVD-2026-76456
- GCVE · GCVE-0-2026-89545
Avis du CERT-FR
- CERTFR-2026-AVI-1372 — Multiples vulnérabilités dans les produits SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1289 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1253 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions |
|---|---|
| Linux · Linux | affected 812443865c5fc255363d4a684a62c086af1addca < c977158237bccc3d2512d5b17c47ee3760dc8839 ; affected 812443865c5fc255363d4a684a62c086af1addca < 0ea49d69aa806008b2424c8cf21cf746b9963967 ; affected 812443865c5fc255363d4a684a62c086af1addca < 08bc49e0541260bf294962cf889a32a2d2713ad6 ; affected 812443865c5fc255363d4a684a62c086af1addca < e0c5693d3f9a5d4911735ab0e0eba4eecb1f1090 ; affected 812443865c5fc255363d4a684a62c086af1addca < c479bde671cbe2f9e152834a8b0eb7c3c295bbaf |
| Linux · Linux | affected 3.19 ; unaffected 0 < 3.19 ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.12.111 ≤ 6.12.* ; unaffected 6.18.50 ≤ 6.18.* ; unaffected 7.2.4 ≤ 7.2.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |