Opis (engleski)
In the Linux kernel, the following vulnerability has been resolved: nvmet: Free the old negotiation state when restarting authentication Restarting a DH-HMAC-CHAP negotiation with SEND(NEGOTIATE) resets sq->dhchap_step but does not release the previous c1/c2/skey, which are only freed in nvmet_auth_sq_free() at teardown. The next CHALLENGE/REPLY exchange then overwrites those pointers with fresh allocations. An unauthenticated host can repeat the negotiate message endlessly, leaking a few dozen bytes per round and slowly exhausting target memory. Clear the old negotiation state with nvmet_auth_sq_free() before setting up the new one. Also reset dhchap_skey_len to zero: if a DH session key was already established, a following round with dhvlen=0 would otherwise pass a NULL skey with a stale non-zero length to the HMAC code and dereference it.
Zahvaćeni proizvodi i verzije
CVSS vektor, objašnjeno
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Put napada
- Preko mreže (s interneta)
- Složenost napada
- Niska
- Potrebne ovlasti
- Bez prijave
- Interakcija korisnika
- Nije potrebna
- Opseg
- Samo ranjiva komponenta
- Povjerljivost
- Bez utjecaja
- Integritet
- Bez utjecaja
- Dostupnost
- Visok utjecaj
Reference
- git.kernel.org/stable/c/337c724fb61e438c64b00d71839692db6383a693
- git.kernel.org/stable/c/bfac75f0339b74c43b4a5d3811450b3a40a42dc1
- git.kernel.org/stable/c/8a264652e015a8ed96e666ab8d8cf21a0c71b3f5
- git.kernel.org/stable/c/1890437496271781a9d4ab1ba2ba9bbe4cc7c073
- git.kernel.org/stable/c/21a812abcc98ea8f68e22768577dd76ee63d4354
- git.kernel.org/stable/c/5c279fcabb0ea7ba61881c13027b15d8054b8abd
Izvori: CVE.org (CNA i CISA ADP), CISA KEV, FIRST EPSS. Uvijek provjerite službenu objavu proizvođača.