CVE Database›CVE-2024-53681

CVE-2024-53681

kernel: nvmet: Don't overflow subsysnqn

Loading…

Severity

Moderate

Red Hat Product Security

6.7

CVSS 3.1

Review impact separately from score.

Published · January 15, 2025

Updated · October 30, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

nvmet: Don't overflow subsysnqn

nvmet_root_discovery_nqn_store treats the subsysnqn string like a fixed size buffer, even though it is dynamically allocated to the size of the string.

Create a new string with kstrndup instead of using the old buffer.

Statement

This vulnerability is rated as Moderate severity because exploitation requires local administrative access (such as CAP_SYS_ADMIN) to interact with configfs attributes, significantly restricting exposure. The affected NVMe target subsystem is a specialized storage service that is not configured or loaded by default on Red Hat Enterprise Linux. As a result, standard systems cannot be compromised by unprivileged local users or remote network attackers.

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 · 6.7
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

CWE-122 · Heap-based Buffer Overflow