# CVE-2025-37817: mcb: fix a double free bug in chameleon_parse_gdd()

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2025-05-08T06:26:12.683Z
- Modified: 2026-06-17T09:15:29.957Z
- Weaknesses: CWE-415
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 3764e82e5150d87b205c10cd78a9c9ab86fbfa51 before d70184958b0ea8c0fd52e2b456654b503e769fc8; from 3764e82e5150d87b205c10cd78a9c9ab86fbfa51 before 4ffe8c9fb561e4427dd1a3056cd5b3685b74f78d; from 3764e82e5150d87b205c10cd78a9c9ab86fbfa51 before 59f993cd36b6e28a394ba3d977e8ffe5c9884e3b; from 3764e82e5150d87b205c10cd78a9c9ab86fbfa51 before c5b8a549ef1fcc6066b037a3962c79d60465ba0b; from 3764e82e5150d87b205c10cd78a9c9ab86fbfa51 before 96838eb1836fd372e42be5db84f0b333b65146a6; from 3764e82e5150d87b205c10cd78a9c9ab86fbfa51 before df1a5d5c6134224f9298e5189230f9d29ae50cac; from 3764e82e5150d87b205c10cd78a9c9ab86fbfa51 before bcc7d58ee5173e34306026bd01e1fbf75e169d37; from 3764e82e5150d87b205c10cd78a9c9ab86fbfa51 before 7c7f1bfdb2249f854a736d9b79778c7e5a29a150; 3.15 (not affected: before 3.15; from 5.4.293 up to 5.4.*; from 5.10.237 up to 5.10.*; from 5.15.181 up to 5.15.*; from 6.1.136 up to 6.1.*; from 6.6.89 up to 6.6.*; from 6.12.26 up to 6.12.*; from 6.14.5 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: from 3.15 before 5.4.293; from 5.5 before 5.10.237; from 5.11 before 5.15.181; from 5.16 before 6.1.136; from 6.2 before 6.6.89; from 6.7 before 6.12.26; from 6.13 before 6.14.5; 6.15
- debian debian_linux: 11.0

## References

- <https://git.kernel.org/stable/c/d70184958b0ea8c0fd52e2b456654b503e769fc8> (patch)
- <https://git.kernel.org/stable/c/4ffe8c9fb561e4427dd1a3056cd5b3685b74f78d> (patch)
- <https://git.kernel.org/stable/c/59f993cd36b6e28a394ba3d977e8ffe5c9884e3b> (patch)
- <https://git.kernel.org/stable/c/c5b8a549ef1fcc6066b037a3962c79d60465ba0b> (patch)
- <https://git.kernel.org/stable/c/96838eb1836fd372e42be5db84f0b333b65146a6> (patch)
- <https://git.kernel.org/stable/c/df1a5d5c6134224f9298e5189230f9d29ae50cac> (patch)
- <https://git.kernel.org/stable/c/bcc7d58ee5173e34306026bd01e1fbf75e169d37> (patch)
- <https://git.kernel.org/stable/c/7c7f1bfdb2249f854a736d9b79778c7e5a29a150> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html> (mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2025-37817](https://www.cve.org/CVERecord?id=CVE-2025-37817), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-37817](https://nvd.nist.gov/vuln/detail/CVE-2025-37817), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-37817 · Whole record: https://cve.day/CVE-2025-37817.json · Rebuilt by cve.day 2026-11-25T22:58:57.797Z
