CVE-2024-50215

Severity CVSS v4.0:
Pending analysis
Type:
CWE-415 Double Free
Publication date:
09/11/2024
Last modified:
03/11/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> nvmet-auth: assign dh_key to NULL after kfree_sensitive<br /> <br /> ctrl-&gt;dh_key might be used across multiple calls to nvmet_setup_dhgroup()<br /> for the same controller. So it&amp;#39;s better to nullify it after release on<br /> error path in order to avoid double free later in nvmet_destroy_auth().<br /> <br /> Found by Linux Verification Center (linuxtesting.org) with Svace.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.0 (including) 6.1.116 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.2 (including) 6.6.60 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.11.7 (excluding)
cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc5:*:*:*:*:*:*