# CVE-2025-37817: mcb: fix a double free bug in chameleon\_parse\_gdd()

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-05-08 · Modified: 2026-05-11
- Aliases: UBUNTU-CVE-2025-37817, DEBIAN-CVE-2025-37817
- Record: https://cvemate.com/vulnerability/CVE-2025-37817 · JSON: https://cvemate.com/vulnerability/CVE-2025-37817/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.219%, percentile 13.155%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 145)

- debian linux (Debian): \< 6.1.137-1 \| \< 6.12.27-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-144.157 \| \< 6.8.0-100.100
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1088.95 \| \< 6.8.0-1046.49
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1088.95~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1046.49~22.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1088.95+fips1 \| \< 6.8.0-1046.49+fips1
- ubuntu linux-aws-hwe (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1094.103 \| \< 6.8.0-1046.52
- ubuntu linux-azure-4.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 44)

- <https://git.kernel.org/stable/c/d70184958b0ea8c0fd52e2b456654b503e769fc8>
- <https://git.kernel.org/stable/c/4ffe8c9fb561e4427dd1a3056cd5b3685b74f78d>
- <https://git.kernel.org/stable/c/59f993cd36b6e28a394ba3d977e8ffe5c9884e3b>
- <https://git.kernel.org/stable/c/c5b8a549ef1fcc6066b037a3962c79d60465ba0b>
- <https://git.kernel.org/stable/c/96838eb1836fd372e42be5db84f0b333b65146a6>
- <https://git.kernel.org/stable/c/df1a5d5c6134224f9298e5189230f9d29ae50cac>
- <https://git.kernel.org/stable/c/bcc7d58ee5173e34306026bd01e1fbf75e169d37>
- <https://git.kernel.org/stable/c/7c7f1bfdb2249f854a736d9b79778c7e5a29a150>
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html>
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html>
- <https://ubuntu.com/security/CVE-2025-37817>
- <https://www.cve.org/CVERecord?id=CVE-2025-37817>
- <https://git.kernel.org/linus/7c7f1bfdb2249f854a736d9b79778c7e5a29a150>
- <https://ubuntu.com/security/notices/USN-7594-1>
- <https://ubuntu.com/security/notices/USN-7594-2>
- <https://ubuntu.com/security/notices/USN-7594-3>
- <https://ubuntu.com/security/notices/USN-7654-1>
- <https://ubuntu.com/security/notices/USN-7654-2>
- <https://ubuntu.com/security/notices/USN-7654-3>
- <https://ubuntu.com/security/notices/USN-7655-1>

---

Data as of 2026-12-05T05:11:06.190Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
