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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2025-10-28T11:48:00.679Z
- Modified: 2026-10-19T21:10:00.160Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 6305166c8771c33a8d5992fb53f93cfecedc14fd before 58dd05070b57a20f22ff35a34ef9846bdf49a1d0; from 6305166c8771c33a8d5992fb53f93cfecedc14fd before 8a4dd74fe413d4a278e649be1d22d028e1667116; from 6305166c8771c33a8d5992fb53f93cfecedc14fd before e60d55692e6c8e951000343c39f3fc92cab57efc; from 6305166c8771c33a8d5992fb53f93cfecedc14fd before 78e87b8a3cf8a59671ea25c87192d16e8d710e1c; from 6305166c8771c33a8d5992fb53f93cfecedc14fd before 84ec0482ed9c9ed0aee553a5e7e7458ad79c021f; from 6305166c8771c33a8d5992fb53f93cfecedc14fd before 2ead548473f58c7960b6b939b79503c4a0a2c0bd; from 6305166c8771c33a8d5992fb53f93cfecedc14fd before 25f526507b8ccc6ac3a43bc094d09b1f9b0b90ae; 5.9 (not affected: before 5.9; from 5.10.246 up to 5.10.*; from 5.15.195 up to 5.15.*; from 6.1.156 up to 6.1.*; from 6.6.112 up to 6.6.*; from 6.12.53 up to 6.12.*; from 6.17.3 up to 6.17.*; from 6.18 up to *)

## References

- <https://git.kernel.org/stable/c/58dd05070b57a20f22ff35a34ef9846bdf49a1d0>
- <https://git.kernel.org/stable/c/8a4dd74fe413d4a278e649be1d22d028e1667116>
- <https://git.kernel.org/stable/c/e60d55692e6c8e951000343c39f3fc92cab57efc>
- <https://git.kernel.org/stable/c/78e87b8a3cf8a59671ea25c87192d16e8d710e1c>
- <https://git.kernel.org/stable/c/84ec0482ed9c9ed0aee553a5e7e7458ad79c021f>
- <https://git.kernel.org/stable/c/2ead548473f58c7960b6b939b79503c4a0a2c0bd>
- <https://git.kernel.org/stable/c/25f526507b8ccc6ac3a43bc094d09b1f9b0b90ae>

## Sources

- CVE List: [CVE-2025-40029](https://www.cve.org/CVERecord?id=CVE-2025-40029), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-40029](https://nvd.nist.gov/vuln/detail/CVE-2025-40029), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-40029 · Whole record: https://cve.day/CVE-2025-40029.json · Rebuilt by cve.day 2026-11-25T22:59:06.924Z
