{"id":"CVE-2025-37817","summary":"mcb: fix a double free bug in chameleon_parse_gdd()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmcb: fix a double free bug in chameleon_parse_gdd()\n\nIn chameleon_parse_gdd(), if mcb_device_register() fails, 'mdev'\nwould be released in mcb_device_register() via put_device().\nThus, goto 'err' label and free 'mdev' again causes a double free.\nJust return if mcb_device_register() fails.","modified":"2026-04-16T00:10:47.519664853Z","published":"2025-05-08T06:26:12.683Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37817.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/4ffe8c9fb561e4427dd1a3056cd5b3685b74f78d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/59f993cd36b6e28a394ba3d977e8ffe5c9884e3b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7c7f1bfdb2249f854a736d9b79778c7e5a29a150"},{"type":"WEB","url":"https://git.kernel.org/stable/c/96838eb1836fd372e42be5db84f0b333b65146a6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bcc7d58ee5173e34306026bd01e1fbf75e169d37"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c5b8a549ef1fcc6066b037a3962c79d60465ba0b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d70184958b0ea8c0fd52e2b456654b503e769fc8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/df1a5d5c6134224f9298e5189230f9d29ae50cac"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37817.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37817"},{"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":"3764e82e5150d87b205c10cd78a9c9ab86fbfa51"},{"fixed":"d70184958b0ea8c0fd52e2b456654b503e769fc8"},{"fixed":"4ffe8c9fb561e4427dd1a3056cd5b3685b74f78d"},{"fixed":"59f993cd36b6e28a394ba3d977e8ffe5c9884e3b"},{"fixed":"c5b8a549ef1fcc6066b037a3962c79d60465ba0b"},{"fixed":"96838eb1836fd372e42be5db84f0b333b65146a6"},{"fixed":"df1a5d5c6134224f9298e5189230f9d29ae50cac"},{"fixed":"bcc7d58ee5173e34306026bd01e1fbf75e169d37"},{"fixed":"7c7f1bfdb2249f854a736d9b79778c7e5a29a150"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-37817.json"}}],"schema_version":"1.7.5"}