What’s Vulnerable › Vulnerabilities
CVE-2025-40029: bus: fsl-mc: Check return value of platform_get_resource()
- Severity: unknown
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-10-28 · updated 2026-10-19
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.
Affected products
- Linux kernel: 5.9 — fixed in 6.18
How to fix
Upgrade to a fixed version: Linux kernel 6.18. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/25f526507b8ccc6ac3a43bc094d09b1f9b0b90ae
- https://git.kernel.org/stable/c/2ead548473f58c7960b6b939b79503c4a0a2c0bd
- https://git.kernel.org/stable/c/58dd05070b57a20f22ff35a34ef9846bdf49a1d0
- https://git.kernel.org/stable/c/78e87b8a3cf8a59671ea25c87192d16e8d710e1c
- https://git.kernel.org/stable/c/84ec0482ed9c9ed0aee553a5e7e7458ad79c021f
- https://git.kernel.org/stable/c/8a4dd74fe413d4a278e649be1d22d028e1667116
- https://git.kernel.org/stable/c/e60d55692e6c8e951000343c39f3fc92cab57efc
Get alerted when CVE-2025-40029 or the next vulnerability affects your stack