High · published November 9, 2024
In the Linux kernel, the following vulnerability has been resolved:
nvmet-auth: assign dh_key to NULL after kfree_sensitive
ctrl->dh_key might be used across multiple calls to nvmet_setup_dhgroup()
for the same controller. So it's better to nullify it after release on
error path in order to avoid double free later in nvmet_destroy_auth().
Found by Linux Verification Center (linuxtesting.org) with Svace.
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | ≥ 6.0, < 6.1.116 | 6.1.116 |
| linux/linux_kernel | ≥ 6.2, < 6.6.60 | 6.6.60 |
| linux/linux_kernel | ≥ 6.7, < 6.11.7 | 6.11.7 |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |