CVE-2024-50215CWE-415

CVE-2024-50215

High · published November 9, 2024

CVSS v3.1
8.1
EPSS
1%
Percentile
49.5
In the wild
Unconfirmed
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.

The record
Technical detail
CVSS v3.1
8.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00629 · 49.5th percentile
Weakness
CWE-415 · Double Free
Published
2024-11-09T16:15Z
Affected products (8)
ProductVersionsFixed in
linux/linux_kernel≥ 6.0, < 6.1.1166.1.116
linux/linux_kernel≥ 6.2, < 6.6.606.6.60
linux/linux_kernel≥ 6.7, < 6.11.76.11.7
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (5)
EPSS history
Timeline
  • 09 NOV 10:14Z
    nvmet-auth: assign dh_key to NULL after kfree_sensitive
    cvelistv5