CVE-2024-53681 Details
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.
A vulnerability in the Linux kernel's NVMe subsystem has been addressed. The issue arose in the 'nvmet_root_discovery_nqn_store' function, which improperly handled the 'subsysnqn' string as a fixed-size buffer. This oversight allowed for a buffer overflow, as the string is dynamically allocated. The vulnerability has been resolved by creating a new string using 'kstrndup', ensuring proper memory management.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/4db3d750ac7e894278ef1cb1c53cc7d883060496 | kernel.org | Patch |
| https://git.kernel.org/stable/c/86645d8d062af3fdcbdaa0a289b95de55bca827d | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-120 | Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.9.1, < 6.12.9 6.9 - 6.9 rc3 6.9 rc4 6.9 rc5 6.9 rc6 6.9 rc7 6.13 rc1 6.13 rc2 6.13 rc3 6.13 rc4 6.13 rc5 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Oct 15, 2025 | Initial Analysis | [email protected] |
| Jan 15, 2025 | New CVE Received | kernel.org |