nvmet-auth: serialize access to DH-HMAC-CHAP state to fix UAF (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.46 % · centile 42 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Produits affectés
- Linux · Linux
- Statut NVD
- Received
Rechercher sur…
Description
In the Linux kernel, the following vulnerability has been resolved: nvmet-auth: serialize access to DH-HMAC-CHAP state to fix UAF A REPLY AUTH_SEND command can derive a dhchap_skey key while a concurrent AUTH_RECEIVE command observing this REPLY state executes the failure path and frees that key. The REPLY command then continues and writes into freed memory, causing a use-after-free. KASAN reports it as: BUG: KASAN: slab-use-after-free in __sha256_final Write of size 4 at addr ffff88800359c540 ... nvmet_auth_sq_free (drivers/nvme/target/auth.c:237) nvmet_execute_auth_receive (drivers/nvme/target/fabrics-cmd-auth.c:621) Add a mutex to each submission queue to serialize authentication commands and timeout handling. Unlock the mutex before completing requests and ignore outdated timeout callbacks. Limit timeout delays to prevent immediate expiry on 32-bit kernels.
Références
- https://git.kernel.org/stable/c/52642b931d0fdbae34ec414c6e156c1e2ef61d22
- https://git.kernel.org/stable/c/b77027a6127d85ddd2eb2de94d1be17dba895cb8
- https://git.kernel.org/stable/c/4074511c39abed4b763392f0430bf84f166abb4c
- https://git.kernel.org/stable/c/edb4f7bcffdb768103c561c588de310f34dd26ba
- https://git.kernel.org/stable/c/35f55810ee2410815d687ff00fb8412d63ab2899
- https://git.kernel.org/stable/c/53f6efe00cea0c0cf7bd99debe3cdac8567170b5
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:A/AC:L/PR:N/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-130107
- GCVE · GCVE-0-2026-99441
Avis du CERT-FR
- CERTFR-2026-AVI-1639 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions affectées |
|---|---|
| Linux · Linux | affectée : ≥ 7a277c37d3522e9b2777d762bbbcecafae2b1f8d < 52642b931d0fdbae34ec414c6e156c1e2ef61d22 affectée : ≥ 7a277c37d3522e9b2777d762bbbcecafae2b1f8d < b77027a6127d85ddd2eb2de94d1be17dba895cb8 affectée : ≥ 7a277c37d3522e9b2777d762bbbcecafae2b1f8d < 4074511c39abed4b763392f0430bf84f166abb4c affectée : ≥ 7a277c37d3522e9b2777d762bbbcecafae2b1f8d < edb4f7bcffdb768103c561c588de310f34dd26ba affectée : ≥ 7a277c37d3522e9b2777d762bbbcecafae2b1f8d < 35f55810ee2410815d687ff00fb8412d63ab2899 affectée : ≥ 7a277c37d3522e9b2777d762bbbcecafae2b1f8d < 53f6efe00cea0c0cf7bd99debe3cdac8567170b5 Autres versions : non affectée |
| Linux · Linux | affectée : 6.0 non affectée : ≥ 0 < 6.0 non affectée : ≥ 6.1.193 ≤ 6.1.* non affectée : ≥ 6.6.163 ≤ 6.6.* non affectée : ≥ 6.12.117 ≤ 6.12.* non affectée : ≥ 6.18.63 ≤ 6.18.* non affectée : ≥ 7.3.2 ≤ 7.3.* non affectée : ≥ 7.4-rc1 ≤ * Autres versions : affectée |
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 |