CVE Database›Document archive›CVE-2025-37817

CVE-2025-37817

kernel: mcb: fix a double free bug in chameleon_parse_gdd()

Loading…

Severity

Unknown

Red Hat Product Security

—

CVSS

Review impact separately from score.

Published · May 8, 2025

Updated · June 30, 2026

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.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CWE not specified