CVE-2025-37817Published May 8, 2025 · May 8Updated Oct 28
mcb: fix a double free bug in chameleon_parse_gdd()
Linux
High7.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 3764e82e5150d87b205c10cd78a9c9ab86fbfa51 · < df1a5d5c6134224f9298e5189230f9d29ae50cac| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
mcb: fix a double free bug in chameleon_parse_gdd()
In chameleon_parse_gdd(), if mcb_device_register() fails, 'mdev' would be released in mcb_device_register() via put_device(). Thus, goto 'err' label and free 'mdev' again causes a double free. Just return if mcb_device_register() fails.
From the CVE record · Linux
In the Linux kernel's mcb component, a failure in mcb_device_register() can cause chameleon_parse_gdd() to free the same device twice. The input does not establish whether an attacker can trigger this condition or what access or user interaction would be required.
Anyone running the Linux kernel should check their version; affected versions are not specified.