CVE-2025-40029Published Oct 28, 2025 · Oct 28Updated Oct 28
bus: fsl-mc: Check return value of platform_get_resource()
Linux
Unrated
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 6305166c8771c33a8d5992fb53f93cfecedc14fd · < 2ead548473f58c7960b6b939b79503c4a0a2c0bd| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s fsl-mc bus code did not check whether platform_get_resource() returned NULL on failure. This could cause a NULL pointer dereference; the input does not specify how an attacker could trigger it or whether access or user interaction is required.
Engineers running the Linux kernel should check their versions; affected versions are not specified.