CVE-2025-37817

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.15:rc3:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

History

12 Nov 2025, 21:36

Type Values Removed Values Added
CWE CWE-415
First Time Linux
Debian
Debian debian Linux
Linux linux Kernel
CPE cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.15:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8
References () https://git.kernel.org/stable/c/4ffe8c9fb561e4427dd1a3056cd5b3685b74f78d - () https://git.kernel.org/stable/c/4ffe8c9fb561e4427dd1a3056cd5b3685b74f78d - Patch
References () https://git.kernel.org/stable/c/59f993cd36b6e28a394ba3d977e8ffe5c9884e3b - () https://git.kernel.org/stable/c/59f993cd36b6e28a394ba3d977e8ffe5c9884e3b - Patch
References () https://git.kernel.org/stable/c/7c7f1bfdb2249f854a736d9b79778c7e5a29a150 - () https://git.kernel.org/stable/c/7c7f1bfdb2249f854a736d9b79778c7e5a29a150 - Patch
References () https://git.kernel.org/stable/c/96838eb1836fd372e42be5db84f0b333b65146a6 - () https://git.kernel.org/stable/c/96838eb1836fd372e42be5db84f0b333b65146a6 - Patch
References () https://git.kernel.org/stable/c/bcc7d58ee5173e34306026bd01e1fbf75e169d37 - () https://git.kernel.org/stable/c/bcc7d58ee5173e34306026bd01e1fbf75e169d37 - Patch
References () https://git.kernel.org/stable/c/c5b8a549ef1fcc6066b037a3962c79d60465ba0b - () https://git.kernel.org/stable/c/c5b8a549ef1fcc6066b037a3962c79d60465ba0b - Patch
References () https://git.kernel.org/stable/c/d70184958b0ea8c0fd52e2b456654b503e769fc8 - () https://git.kernel.org/stable/c/d70184958b0ea8c0fd52e2b456654b503e769fc8 - Patch
References () https://git.kernel.org/stable/c/df1a5d5c6134224f9298e5189230f9d29ae50cac - () https://git.kernel.org/stable/c/df1a5d5c6134224f9298e5189230f9d29ae50cac - Patch
References () https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html - () https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html - Mailing List, Third Party Advisory
References () https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html - () https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html - Mailing List, Third Party Advisory

03 Nov 2025, 20:18

Type Values Removed Values Added
References
  • () https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html -
  • () https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html -

08 May 2025, 14:39

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: mcb: se corrige un error de doble liberación en chameleon_parse_gdd(). En chameleon_parse_gdd(), si mcb_device_register() falla, se libera 'mdev' en mcb_device_register() mediante put_device(). Por lo tanto, ir a la etiqueta 'err' y liberar 'mdev' de nuevo provoca una doble liberación. Simplemente retorne si mcb_device_register() falla.

08 May 2025, 07:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-05-08 07:15

Updated : 2025-11-12 21:36


NVD link : CVE-2025-37817

Mitre link : CVE-2025-37817

CVE.ORG link : CVE-2025-37817


JSON object : View

Products Affected

debian

  • debian_linux

linux

  • linux_kernel
CWE
CWE-415

Double Free