CVE-2024-53681

nvmet: Don't overflow subsysnqn

State
Published
Severity
Not scored
Published
Jan 15, 2025
Updated
May 11, 2026
Reserved
Jan 15, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 95409e277d8343810adf8700d29d4329828d452b to before 86645d8d062af3fdcbdaa0a289b95de55bca827dAffected
  • 95409e277d8343810adf8700d29d4329828d452b to before 4db3d750ac7e894278ef1cb1c53cc7d883060496Affected
LinuxLinux
  • 6.9Affected
  • before 6.9Not affected
  • 6.12.9 through 6.12.*Not affected
  • 6.13 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.