{"id":"CVE-2024-53681","summary":"nvmet: Don't overflow subsysnqn","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet: Don't overflow subsysnqn\n\nnvmet_root_discovery_nqn_store treats the subsysnqn string like a fixed\nsize buffer, even though it is dynamically allocated to the size of the\nstring.\n\nCreate a new string with kstrndup instead of using the old buffer.","modified":"2026-05-07T04:17:42.590351Z","published":"2025-01-15T13:10:22.141Z","related":["USN-7379-2","USN-7380-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53681.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/4db3d750ac7e894278ef1cb1c53cc7d883060496"},{"type":"WEB","url":"https://git.kernel.org/stable/c/86645d8d062af3fdcbdaa0a289b95de55bca827d"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53681.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-53681"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"95409e277d8343810adf8700d29d4329828d452b"},{"fixed":"86645d8d062af3fdcbdaa0a289b95de55bca827d"},{"fixed":"4db3d750ac7e894278ef1cb1c53cc7d883060496"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-53681.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.9.0"},{"fixed":"6.12.9"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-53681.json"}}],"schema_version":"1.7.5"}