Review reviewHigh

CVE-2024-50215

Linux Linux, linux kernel

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.

CVSS
7.8
EPSS
-
- percentile
CISA KEV
Not listed
Published
2024.11.09
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability-
Technical severityCVSS 7.8

Vulnerability overview

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.

Affected product and versions

Product
Linux Linux, linux kernel
Affected versions
>= 7a277c37d3522e9b2777d762bbbcecafae2b1f8d < c94e965f766321641ec38e4eece9ce8884543244, >= 7a277c37d3522e9b2777d762bbbcecafae2b1f8d < c60af16e1d6cc2237d58336546d6adfc067b6b8f, >= 7a277c37d3522e9b2777d762bbbcecafae2b1f8d < e61bd51e44409495d75847e9230736593e4c8710, >= 7a277c37d3522e9b2777d762bbbcecafae2b1f8d < d2f551b1f72b4c508ab9298419f6feadc3b5d791, >= 6.0, >= 6.0 < 6.1.116, >= 6.2 < 6.6.60, >= 6.7 < 6.11.7, 6.12
Fixed versions
6.1.116, 6.6.60, 6.11.7

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Linux Linux, linux kernel and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE
CWE-415