CVE-2024-50215: Linux kernel · nvmet-auth: assign dh_key to NULL after kfree_sensitive
Source GCVE Database
Not known to be exploited · CVSS 7.8 High.
Data as of 29 Oct 2026, 23:14 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 9 Nov 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
AI-suggested
A fix has been implemented in the Linux kernel to assign dh_key to NULL after kfree_sensitive on error paths, preventing double free issues. Users should update to the fixed kernel version once available. Since no explicit patch links or fixed versions are provided in the data, check the official Linux kernel advisories or vendor updates for the patched kernel release containing this fix.
Description
CVE-2024-50215 is a high-severity vulnerability in the Linux kernel's nvmet-auth component. It involves improper handling of the dh_key pointer, which may lead to a double free condition. The flaw occurs because ctrl->dh_key might be reused across multiple calls without being nullified after being freed, potentially causing a double free in nvmet_destroy_auth(). This issue has been identified and fixed by assigning dh_key to NULL after kfree_sensitive to prevent reuse.
References
- nvd.nist.gov/vuln/detail/CVE-2024-50215 (opens in a new tab)
- git.kernel.org/stable/c/c60af16e1d6cc2237d58336546d6adfc067b6b8f (opens in a new tab)
- git.kernel.org/stable/c/c94e965f766321641ec38e4eece9ce8884543244 (opens in a new tab)
- git.kernel.org/stable/c/d2f551b1f72b4c508ab9298419f6feadc3b5d791 (opens in a new tab)
- git.kernel.org/stable/c/e61bd51e44409495d75847e9230736593e4c8710 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/01/msg00001.html (opens in a new tab)