CVE-2020-36790
kernel: nvmet: fix a memory leak
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · May 1, 2025
Updated · June 30, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
nvmet: fix a memory leak
We forgot to free new_model_number
Statement
A memory leak was found in the NVMe target’s configfs interface, where a dynamically allocated model number string was not freed after configuration. The vulnerability requires privileged access (CAP_SYS_ADMIN) and cannot be triggered by unprivileged users. It may lead to minor memory exhaustion if repeatedly invoked in systems running NVMe targets.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 4.4CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
CWE not specified