{"id":"CVE-2024-50215","aliases":["CVE-2024-50215"],"related":[],"kind":"vulnerability","state":"published","title":"nvmet-auth: assign dh_key to NULL after kfree_sensitive","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet-auth: assign dh_key to NULL after kfree_sensitive\n\nctrl->dh_key might be used across multiple calls to nvmet_setup_dhgroup()\nfor the same controller. So it's better to nullify it after release on\nerror path in order to avoid double free later in nvmet_destroy_auth().\n\nFound by Linux Verification Center (linuxtesting.org) with Svace.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet-auth: assign dh_key to NULL after kfree_sensitive\n\nctrl->dh_key might be used across multiple calls to nvmet_setup_dhgroup()\nfor the same controller. So it's better to nullify it after release on\nerror path in order to avoid double free later in nvmet_destroy_auth().\n\nFound by Linux Verification Center (linuxtesting.org) with Svace.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: nvmet-auth: asignar dh_key a NULL después de que kfree_sensitive ctrl-&gt;dh_key se pudiera usar en varias llamadas a nvmet_setup_dhgroup() para el mismo controlador. Por lo tanto, es mejor anularlo después de la liberación en la ruta de error para evitar una doble liberación más adelante en nvmet_destroy_auth(). Encontrado por Linux Verification Center (linuxtesting.org) con Svace.","source":"nvd"}],"published":"2024-11-09T10:14:27.043Z","modified":"2026-08-05T11:42:33.611Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-415"],"affected":[{"ranges":[{"type":"git","introduced":"7a277c37d3522e9b2777d762bbbcecafae2b1f8d","fixed":"c94e965f766321641ec38e4eece9ce8884543244","status":"affected"},{"type":"git","introduced":"7a277c37d3522e9b2777d762bbbcecafae2b1f8d","fixed":"c60af16e1d6cc2237d58336546d6adfc067b6b8f","status":"affected"},{"type":"git","introduced":"7a277c37d3522e9b2777d762bbbcecafae2b1f8d","fixed":"e61bd51e44409495d75847e9230736593e4c8710","status":"affected"},{"type":"git","introduced":"7a277c37d3522e9b2777d762bbbcecafae2b1f8d","fixed":"d2f551b1f72b4c508ab9298419f6feadc3b5d791","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.0","status":"unaffected"},{"type":"semver","introduced":"6.1.116","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.60","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.11.7","lastAffected":"6.11.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.12","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.0","fixed":"6.1.116"},{"status":"affected","introduced":"6.2","fixed":"6.6.60"},{"status":"affected","introduced":"6.7","fixed":"6.11.7"},{"status":"affected","version":"6.12"},{"status":"affected","version":"6.12"},{"status":"affected","version":"6.12"},{"status":"affected","version":"6.12"},{"status":"affected","version":"6.12"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/c94e965f766321641ec38e4eece9ce8884543244","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c60af16e1d6cc2237d58336546d6adfc067b6b8f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e61bd51e44409495d75847e9230736593e4c8710","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d2f551b1f72b4c508ab9298419f6feadc3b5d791","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-10-01T20:17:09.200Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-50215","url":"https://www.cve.org/CVERecord?id=CVE-2024-50215","licence":"CVE Terms of Use","modified":"2026-08-05T11:42:33.611Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-50215","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50215","licence":"Public domain","modified":"2026-08-04T11:21:33.563Z"}],"updatedAt":"2026-11-25T22:58:47.960Z","epss":{"score":0.00629,"percentile":0.51497,"date":"2026-12-01T12:00:22.000Z"}}