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

Not scored Published Updated

A missing return value check in the fsl-mc bus driver can cause a NULL pointer dereference, leading to a system crash.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-40029?

CVE-2025-40029 is a vulnerability in Linux, published on 28 Oct 2025. It can only be exploited from the same machine or local network, with no action from the victim.

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

Which versions are affected by CVE-2025-40029?

How do I fix CVE-2025-40029?

Apply the vendor's patch.

Is CVE-2025-40029 being exploited?

There is no known exploitation of CVE-2025-40029 in the wild and no public exploit code.

Sources

Also known as AZL-68834, BELL-CVE-2025-40029, DEBIAN-CVE-2025-40029, GHSA-cv4f-qx52-9x29, ROOT-OS-DEBIAN-11-CVE-2025-40029, ROOT-OS-DEBIAN-12-CVE-2025-40029 and 4 more.

Is CVE-2025-40029 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free