VYPR
Unrated severityNVD Advisory· Published Oct 28, 2025· Updated Apr 15, 2026

CVE-2025-40029

CVE-2025-40029

Description

In the Linux kernel, the following vulnerability has been resolved:

bus: fsl-mc: Check return value of platform_get_resource()

platform_get_resource() returns NULL in case of failure, so check its return value and propagate the error in order to prevent NULL pointer dereference.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

A missing return value check in the Linux kernel's fsl-mc bus driver could lead to a NULL pointer dereference, fixed by validating platform_get_resource().

Vulnerability

Overview

In the Linux kernel's fsl-mc (Freescale Management Complex) bus driver, the function platform_get_resource() can return NULL when it fails to obtain a resource. The driver did not check this return value before using the pointer, creating a potential NULL pointer dereference vulnerability [1][2][3].

Exploitation

Conditions

An attacker would need to trigger a failure in platform_get_resource(), which could occur if the device tree or hardware configuration is manipulated to cause the resource lookup to fail. No special privileges are required beyond the ability to influence the system's device configuration, making this a locally exploitable issue that could lead to a kernel crash.

Impact

If successfully triggered, the NULL pointer dereference would cause a kernel panic, resulting in a denial of service (DoS). The vulnerability does not appear to allow privilege escalation or arbitrary code execution based on the available information.

Mitigation

The fix adds a check for the return value of platform_get_resource() and propagates the error if it returns NULL. This patch has been applied to the Linux kernel stable branches as commits [1], [2], and [3]. Users should update to the latest stable kernel version to remediate the issue.

AI Insight generated on May 19, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2

Patches

7

Vulnerability mechanics

Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

7

News mentions

0

No linked articles in our index yet.