CVE-2024-50215
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 0.6% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.6% in the next 30 days (EPSS).
- Severity: 8.1 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.6% · EPSS, next 30 days
- Weakness
- CWE-415
- Record status
- Modified
Affected
- Linux Kernel < 6.1.116
- Linux Kernel < 6.6.60
- Linux Kernel < 6.11.7
- Linux Kernel 6.12
Attack profile CVSS 3.1 · 8.1
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2024-50215.md and follow it. Check whether this project is affected by CVE-2024-50215. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://git.kernel.org/stable/c/c60af16e1d6cc2237d58336546d6adfc067b6b8f
- https://git.kernel.org/stable/c/c94e965f766321641ec38e4eece9ce8884543244
- https://git.kernel.org/stable/c/d2f551b1f72b4c508ab9298419f6feadc3b5d791
- https://git.kernel.org/stable/c/e61bd51e44409495d75847e9230736593e4c8710
References
- https://git.kernel.org/stable/c/c60af16e1d6cc2237d58336546d6adfc067b6b8f
- https://git.kernel.org/stable/c/c94e965f766321641ec38e4eece9ce8884543244
- https://git.kernel.org/stable/c/d2f551b1f72b4c508ab9298419f6feadc3b5d791
- https://git.kernel.org/stable/c/e61bd51e44409495d75847e9230736593e4c8710
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html