CVE-2025-40029

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

State
Published
Severity
Not scored
Published
Oct 28, 2025
Updated
May 11, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 6305166c8771c33a8d5992fb53f93cfecedc14fd to before 58dd05070b57a20f22ff35a34ef9846bdf49a1d0Affected
  • 6305166c8771c33a8d5992fb53f93cfecedc14fd to before 8a4dd74fe413d4a278e649be1d22d028e1667116Affected
  • 6305166c8771c33a8d5992fb53f93cfecedc14fd to before e60d55692e6c8e951000343c39f3fc92cab57efcAffected
  • 6305166c8771c33a8d5992fb53f93cfecedc14fd to before 78e87b8a3cf8a59671ea25c87192d16e8d710e1cAffected
  • 6305166c8771c33a8d5992fb53f93cfecedc14fd to before 84ec0482ed9c9ed0aee553a5e7e7458ad79c021fAffected
  • 6305166c8771c33a8d5992fb53f93cfecedc14fd to before 2ead548473f58c7960b6b939b79503c4a0a2c0bdAffected
  • 6305166c8771c33a8d5992fb53f93cfecedc14fd to before 25f526507b8ccc6ac3a43bc094d09b1f9b0b90aeAffected
LinuxLinux
  • 5.9Affected
  • before 5.9Not affected
  • 5.10.246 through 5.10.*Not affected
  • 5.15.195 through 5.15.*Not affected
  • 6.1.156 through 6.1.*Not affected
  • 6.6.112 through 6.6.*Not affected
  • 6.12.53 through 6.12.*Not affected
  • 6.17.3 through 6.17.*Not affected
  • 6.18 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.