Skip to main content
Network Thinking Solutions Logo

CVE-2025-38313

Linux kernel: bus: fsl-mc: fix double-free on mc_dev

All CVEs
CVE-2025-38313Published 7/10/2025

Linux kernel: bus: fsl-mc: fix double-free on mc_dev

Vendor advisory
CVSS7.8High

Overview

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);

Published
7/10/2025
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 4.13, < 5.4.295

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.239

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.186

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.142

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.94

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.12.34

Verify advisory

Source
linux kernel
linux
≥ 6.13, < 6.15.3

Verify advisory

Source
debian linux
debian
11.0

Verify advisory

Source
Linux
Linux
≥ a042fbed02904493ae6df26ec836045f5a7d3ce2, < 12e4431e5078847791936820bd39df9e1ee26d2e

Verify advisory

Source
Linux
Linux
≥ a042fbed02904493ae6df26ec836045f5a7d3ce2, < 3135e03a92f6b5259d0a7f25f728e9e7866ede3f

Verify advisory

Source
Linux
Linux
≥ a042fbed02904493ae6df26ec836045f5a7d3ce2, < 7002b954c4a8b9965ba0f139812ee4a6f71beac8

Verify advisory

Source
Linux
Linux
≥ a042fbed02904493ae6df26ec836045f5a7d3ce2, < b2057374f326303c86d8423415ab58656eebc695

Verify advisory

Source
Linux
Linux
≥ a042fbed02904493ae6df26ec836045f5a7d3ce2, < 4b23c46eb2d88924b93aca647bde9a4b9cf62cf9

Verify advisory

Source
Linux
Linux
≥ a042fbed02904493ae6df26ec836045f5a7d3ce2, < 1d5baab39e5b09a76870b345cdee7933871b881f

Verify advisory

Source
Linux
Linux
≥ a042fbed02904493ae6df26ec836045f5a7d3ce2, < 873d47114fd5e5a1cad2018843671537cc71ac84

Verify advisory

Source
Linux
Linux
≥ a042fbed02904493ae6df26ec836045f5a7d3ce2, < d694bf8a9acdbd061596f3e7549bc8cb70750a60

Verify advisory

Source
Linux
Linux
4.13

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.