nvmet-auth: serialize access to DH-HMAC-CHAP state to fix UAF (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.46 % · percentile 42 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Received
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.
References
- 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 | Vector | Scored by |
|---|---|---|---|
| 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) |
European references
- ENISA EUVD · EUVD-2026-130107
- GCVE · GCVE-0-2026-99441
CERT-FR advisories
- CERTFR-2026-AVI-1639 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ 7a277c37d3522e9b2777d762bbbcecafae2b1f8d < 52642b931d0fdbae34ec414c6e156c1e2ef61d22 affected : ≥ 7a277c37d3522e9b2777d762bbbcecafae2b1f8d < b77027a6127d85ddd2eb2de94d1be17dba895cb8 affected : ≥ 7a277c37d3522e9b2777d762bbbcecafae2b1f8d < 4074511c39abed4b763392f0430bf84f166abb4c affected : ≥ 7a277c37d3522e9b2777d762bbbcecafae2b1f8d < edb4f7bcffdb768103c561c588de310f34dd26ba affected : ≥ 7a277c37d3522e9b2777d762bbbcecafae2b1f8d < 35f55810ee2410815d687ff00fb8412d63ab2899 affected : ≥ 7a277c37d3522e9b2777d762bbbcecafae2b1f8d < 53f6efe00cea0c0cf7bd99debe3cdac8567170b5 Other versions : unaffected |
| Linux · Linux | affected : 6.0 unaffected : ≥ 0 < 6.0 unaffected : ≥ 6.1.193 ≤ 6.1.* unaffected : ≥ 6.6.163 ≤ 6.6.* unaffected : ≥ 6.12.117 ≤ 6.12.* unaffected : ≥ 6.18.63 ≤ 6.18.* unaffected : ≥ 7.3.2 ≤ 7.3.* unaffected : ≥ 7.4-rc1 ≤ * Other versions : affected |
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 |