# CVE-2024-53681: nvmet: Don't overflow subsysnqn

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2025-01-15T13:10:22.141Z
- Modified: 2026-06-17T08:09:05.557Z
- Weaknesses: CWE-120
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 95409e277d8343810adf8700d29d4329828d452b before 86645d8d062af3fdcbdaa0a289b95de55bca827d; from 95409e277d8343810adf8700d29d4329828d452b before 4db3d750ac7e894278ef1cb1c53cc7d883060496; 6.9 (not affected: before 6.9; from 6.12.9 up to 6.12.*; from 6.13 up to *)
- linux linux_kernel: from 6.9.1 before 6.12.9; 6.9; 6.13

## References

- <https://git.kernel.org/stable/c/86645d8d062af3fdcbdaa0a289b95de55bca827d> (patch)
- <https://git.kernel.org/stable/c/4db3d750ac7e894278ef1cb1c53cc7d883060496> (patch)

## Sources

- CVE List: [CVE-2024-53681](https://www.cve.org/CVERecord?id=CVE-2024-53681), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-53681](https://nvd.nist.gov/vuln/detail/CVE-2024-53681), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-53681 · Whole record: https://cve.day/CVE-2024-53681.json · Rebuilt by cve.day 2026-11-25T22:58:51.048Z
