{"id":"CVE-2025-37980","summary":"block: fix resource leak in blk_register_queue() error path","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nblock: fix resource leak in blk_register_queue() error path\n\nWhen registering a queue fails after blk_mq_sysfs_register() is\nsuccessful but the function later encounters an error, we need\nto clean up the blk_mq_sysfs resources.\n\nAdd the missing blk_mq_sysfs_unregister() call in the error path\nto properly clean up these resources and prevent a memory leak.","modified":"2026-04-02T12:47:42.587051Z","published":"2025-05-20T16:58:22.720Z","related":["SUSE-SU-2025:01964-1","SUSE-SU-2025:01965-1","SUSE-SU-2025:02000-1","SUSE-SU-2025:02254-1","SUSE-SU-2025:02307-1","SUSE-SU-2025:02333-1","SUSE-SU-2025:02334-1","SUSE-SU-2025:02923-1","SUSE-SU-2025:20408-1","SUSE-SU-2025:20413-1","SUSE-SU-2025:20419-1","SUSE-SU-2025:20421-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37980.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/40f2eb9b531475dd01b683fdaf61ca3cfd03a51e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/41e43134ddda35949974be40520460a12dda3502"},{"type":"WEB","url":"https://git.kernel.org/stable/c/549cbbd14bbec12469ceb279b79c763c8a24224e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/55a7bb2708f7c7c5b366d4e40916113168a3824c"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37980.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37980"},{"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":"320ae51feed5c2f13664aa05a76bec198967e04d"},{"fixed":"549cbbd14bbec12469ceb279b79c763c8a24224e"},{"fixed":"41e43134ddda35949974be40520460a12dda3502"},{"fixed":"55a7bb2708f7c7c5b366d4e40916113168a3824c"},{"fixed":"40f2eb9b531475dd01b683fdaf61ca3cfd03a51e"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37980.json"}}],"schema_version":"1.7.5"}