CVE-2025-38313

CVE Details

Release Date:2025-07-10
Impact:Moderate What is this?

Description


In the Linux kernel, the following vulnerability has been resolved: bus: fsl-mc: fix double-free on mc_dev The blamed commit tried to simplify how the deallocations are done but, in the process, introduced a double-free on the mc_dev variable. In case the MC device is a DPRC, a new mc_bus is allocated and the mc_dev variable is just a reference to one of its fields. In this circumstance, on the error path only the mc_bus should be freed. This commit introduces back the following checkpatch warning which is a false-positive. WARNING: kfree(NULL) is safe and this check is probably not required + if (mc_bus) + kfree(mc_bus);

See more information about CVE-2025-38313 from MITRE CVE dictionary and NIST NVD


NOTE: The following CVSS metrics and score provided are preliminary and subject to review.


CVSS v3 metrics

Base Score: 7.0
Vector String: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Version: 3.1
Attack Vector: Local
Attack Complexity: High
Privileges Required: Low
User Interaction: None
Scope: Unchanged
Confidentiality Impact: High
Integrity Impact: High
Availability Impact: High

Errata information


PlatformErrataRelease Date
Oracle Linux version 10 (kernel-uek) ELSA-2025-205512025-09-08
Oracle Linux version 8 (kernel-uek) ELSA-2025-205522025-09-08
Oracle Linux version 9 (kernel-uek) ELSA-2025-205512025-09-08
Oracle Linux version 9 (kernel-uek) ELSA-2025-205522025-09-08


This page is generated automatically and has not been checked for errors or omissions. For clarification or corrections:

software.hardware.complete