In the Linux kernel, the following vulnerability has been resolved:
mcb: fix a double free bug in chameleonparsegdd()
In chameleonparsegdd(), if mcbdeviceregister() fails, 'mdev' would be released in mcbdeviceregister() via putdevice(). Thus, goto 'err' label and free 'mdev' again causes a double free. Just return if mcbdevice_register() fails.
[ { "signature_type": "Line", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@96838eb1836fd372e42be5db84f0b333b65146a6", "signature_version": "v1", "target": { "file": "drivers/mcb/mcb-parse.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "86715943744103866718978932959099764184", "209534829019354852207553822014611249994", "139940617517137619486804305080552642145", "160891737489466566886933132901561357481" ] }, "id": "CVE-2025-37817-055a47bd" }, { "signature_type": "Function", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c5b8a549ef1fcc6066b037a3962c79d60465ba0b", "signature_version": "v1", "target": { "function": "chameleon_parse_gdd", "file": "drivers/mcb/mcb-parse.c" }, "digest": { "function_hash": "78842174872431579709145567931798454557", "length": 1347.0 }, "id": "CVE-2025-37817-07ba575a" }, { "signature_type": "Line", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@59f993cd36b6e28a394ba3d977e8ffe5c9884e3b", "signature_version": "v1", "target": { "file": "drivers/mcb/mcb-parse.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "86715943744103866718978932959099764184", "209534829019354852207553822014611249994", "139940617517137619486804305080552642145", "160891737489466566886933132901561357481" ] }, "id": "CVE-2025-37817-0adb79cb" }, { "signature_type": "Line", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bcc7d58ee5173e34306026bd01e1fbf75e169d37", "signature_version": "v1", "target": { "file": "drivers/mcb/mcb-parse.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "86715943744103866718978932959099764184", "209534829019354852207553822014611249994", "139940617517137619486804305080552642145", "160891737489466566886933132901561357481" ] }, "id": "CVE-2025-37817-3cffcbe5" }, { "signature_type": "Line", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d70184958b0ea8c0fd52e2b456654b503e769fc8", "signature_version": "v1", "target": { "file": "drivers/mcb/mcb-parse.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "86715943744103866718978932959099764184", "209534829019354852207553822014611249994", "139940617517137619486804305080552642145", "160891737489466566886933132901561357481" ] }, "id": "CVE-2025-37817-3e255e8d" }, { "signature_type": "Function", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d70184958b0ea8c0fd52e2b456654b503e769fc8", "signature_version": "v1", "target": { "function": "chameleon_parse_gdd", "file": "drivers/mcb/mcb-parse.c" }, "digest": { "function_hash": "78842174872431579709145567931798454557", "length": 1347.0 }, "id": "CVE-2025-37817-48f150ec" }, { "signature_type": "Function", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@59f993cd36b6e28a394ba3d977e8ffe5c9884e3b", "signature_version": "v1", "target": { "function": "chameleon_parse_gdd", "file": "drivers/mcb/mcb-parse.c" }, "digest": { "function_hash": "78842174872431579709145567931798454557", "length": 1347.0 }, "id": "CVE-2025-37817-49747396" }, { "signature_type": "Line", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@df1a5d5c6134224f9298e5189230f9d29ae50cac", "signature_version": "v1", "target": { "file": "drivers/mcb/mcb-parse.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "86715943744103866718978932959099764184", "209534829019354852207553822014611249994", "139940617517137619486804305080552642145", "160891737489466566886933132901561357481" ] }, "id": "CVE-2025-37817-79b12f2c" }, { "signature_type": "Function", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bcc7d58ee5173e34306026bd01e1fbf75e169d37", "signature_version": "v1", "target": { "function": "chameleon_parse_gdd", "file": "drivers/mcb/mcb-parse.c" }, "digest": { "function_hash": "78842174872431579709145567931798454557", "length": 1347.0 }, "id": "CVE-2025-37817-81b3d852" }, { "signature_type": "Function", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@96838eb1836fd372e42be5db84f0b333b65146a6", "signature_version": "v1", "target": { "function": "chameleon_parse_gdd", "file": "drivers/mcb/mcb-parse.c" }, "digest": { "function_hash": "78842174872431579709145567931798454557", "length": 1347.0 }, "id": "CVE-2025-37817-aecf2f2d" }, { "signature_type": "Function", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@df1a5d5c6134224f9298e5189230f9d29ae50cac", "signature_version": "v1", "target": { "function": "chameleon_parse_gdd", "file": "drivers/mcb/mcb-parse.c" }, "digest": { "function_hash": "78842174872431579709145567931798454557", "length": 1347.0 }, "id": "CVE-2025-37817-b3865a98" }, { "signature_type": "Line", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4ffe8c9fb561e4427dd1a3056cd5b3685b74f78d", "signature_version": "v1", "target": { "file": "drivers/mcb/mcb-parse.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "86715943744103866718978932959099764184", "209534829019354852207553822014611249994", "139940617517137619486804305080552642145", "160891737489466566886933132901561357481" ] }, "id": "CVE-2025-37817-b9188d42" }, { "signature_type": "Function", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7c7f1bfdb2249f854a736d9b79778c7e5a29a150", "signature_version": "v1", "target": { "function": "chameleon_parse_gdd", "file": "drivers/mcb/mcb-parse.c" }, "digest": { "function_hash": "78842174872431579709145567931798454557", "length": 1347.0 }, "id": "CVE-2025-37817-cd3696be" }, { "signature_type": "Function", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4ffe8c9fb561e4427dd1a3056cd5b3685b74f78d", "signature_version": "v1", "target": { "function": "chameleon_parse_gdd", "file": "drivers/mcb/mcb-parse.c" }, "digest": { "function_hash": "78842174872431579709145567931798454557", "length": 1347.0 }, "id": "CVE-2025-37817-f0a20629" }, { "signature_type": "Line", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c5b8a549ef1fcc6066b037a3962c79d60465ba0b", "signature_version": "v1", "target": { "file": "drivers/mcb/mcb-parse.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "86715943744103866718978932959099764184", "209534829019354852207553822014611249994", "139940617517137619486804305080552642145", "160891737489466566886933132901561357481" ] }, "id": "CVE-2025-37817-f225e20b" }, { "signature_type": "Line", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7c7f1bfdb2249f854a736d9b79778c7e5a29a150", "signature_version": "v1", "target": { "file": "drivers/mcb/mcb-parse.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "86715943744103866718978932959099764184", "209534829019354852207553822014611249994", "139940617517137619486804305080552642145", "160891737489466566886933132901561357481" ] }, "id": "CVE-2025-37817-fa89bf55" } ]