5.5medium
nvmet: Don't overflow subsysnqn
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.19% (higher than 9% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 * | CVE List |
| linux linux_kernel | from 6.9.1 before 6.12.9, 6.9, 6.13 | NVD |
Classification
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: nvmet: No desborde subsysnqn nvmet_root_discovery_nqn_store trata la cadena subsysnqn como un búfer de tamaño fijo, aunque se le asigna dinámicamente el tamaño de la cadena. Cree una nueva cadena con kstrndup en lugar de usar el búfer anterior.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-53681 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2024-53681 changed 2026-06-17 | Public domain |