nvmet-auth: serialize access to DH-HMAC-CHAP state to fix UAF
NIST has received this entry but not started reviewing it.
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.
New to this? Read how to keep your software updated.
The products and versions NIST lists as vulnerable, 2 products in all. If what you run is not listed it is probably not affected, but ask your provider if you are unsure.
| Product | Type | Vulnerable versions | Fixed in |
|---|---|---|---|
| Linux Linux | Software | from 7a277c37d3522e9b2777d762bbbcecafae2b1f8d, before 52642b931d0fdbae34ec414c6e156c1e2ef61d22; from 7a277c37d3522e9b2777d762bbbcecafae2b1f8d, before b77027a6127d85ddd2eb2de94d1be17dba895cb8; from 7a277c37d3522e9b2777d762bbbcecafae2b1f8d, before 4074511c39abed4b763392f0430bf84f166abb4c; from 7a277c37d3522e9b2777d762bbbcecafae2b1f8d, before edb4f7bcffdb768103c561c588de310f34dd26ba; from 7a277c37d3522e9b2777d762bbbcecafae2b1f8d, before 35f55810ee2410815d687ff00fb8412d63ab2899; from 7a277c37d3522e9b2777d762bbbcecafae2b1f8d, before 53f6efe00cea0c0cf7bd99debe3cdac8567170b5 | 52642b931d0fdbae34ec414c6e156c1e2ef61d22; b77027a6127d85ddd2eb2de94d1be17dba895cb8; 4074511c39abed4b763392f0430bf84f166abb4c; edb4f7bcffdb768103c561c588de310f34dd26ba |
| Linux Linux | Software | 6.0 | not recorded |
The 8.8 severity score (high) from the company that reported it, broken into what it means in practice. Red means it makes the flaw easier or worse.
| How it is reached | Nearby network | The attacker has to be on the same local network (office Wi-Fi or the same hosting network). |
| How hard it is | Low | Easy to carry out. No special conditions have to line up. |
| Login needed | None | The attacker does not need an account or password. |
| Someone has to act | None | Nobody has to click or open anything. It can happen on its own. |
| Reaches beyond the program | Unchanged | The damage stays inside the vulnerable program. |
| Data exposed | High | Total loss of confidentiality: the attacker can read all the data the program can reach. |
| Data changed | High | The attacker can change or delete anything the program can reach. |
| Service disrupted | High | The attacker can take the service down completely. |
| Ease of attack | 2.8 | A score for how easy it is to use the flaw. Higher is easier. |
| Damage | 5.9 | A score for how bad the harm is if it works. Higher is worse. |
NIST lists 6 sources for this flaw, none tagged as a vendor patch.