CVE-2025-40029

Source
https://cve.org/CVERecord?id=CVE-2025-40029
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40029.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-40029
Downstream
Related
Published
2025-10-28T11:48:00.679Z
Modified
2026-03-20T12:43:09.163856Z
Summary
bus: fsl-mc: Check return value of platform_get_resource()
Details

In the Linux kernel, the following vulnerability has been resolved:

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

platformgetresource() returns NULL in case of failure, so check its return value and propagate the error in order to prevent NULL pointer dereference.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40029.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6305166c8771c33a8d5992fb53f93cfecedc14fd
Fixed
58dd05070b57a20f22ff35a34ef9846bdf49a1d0
Fixed
8a4dd74fe413d4a278e649be1d22d028e1667116
Fixed
e60d55692e6c8e951000343c39f3fc92cab57efc
Fixed
78e87b8a3cf8a59671ea25c87192d16e8d710e1c
Fixed
84ec0482ed9c9ed0aee553a5e7e7458ad79c021f
Fixed
2ead548473f58c7960b6b939b79503c4a0a2c0bd
Fixed
25f526507b8ccc6ac3a43bc094d09b1f9b0b90ae

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40029.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.9.0
Fixed
5.10.246
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.195
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.156
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.112
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.53
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.17.3

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40029.json"