CVE-2025-40029
bus: fsl-mc: Check return value of platform_get_resource()
Check your servers for CVE-2025-40029
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-40029 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.3% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 6305166c8771c33a8d5992fb53f93cfecedc14fd, before 58dd05070b57a20f22ff35a34ef9846bdf49a1d0 affected from 6305166c8771c33a8d5992fb53f93cfecedc14fd, before 8a4dd74fe413d4a278e649be1d22d028e1667116 affected from 6305166c8771c33a8d5992fb53f93cfecedc14fd, before e60d55692e6c8e951000343c39f3fc92cab57efc affected from 6305166c8771c33a8d5992fb53f93cfecedc14fd, before 78e87b8a3cf8a59671ea25c87192d16e8d710e1c affected from 6305166c8771c33a8d5992fb53f93cfecedc14fd, before 84ec0482ed9c9ed0aee553a5e7e7458ad79c021f affected from 6305166c8771c33a8d5992fb53f93cfecedc14fd, before 2ead548473f58c7960b6b939b79503c4a0a2c0bd affected from 6305166c8771c33a8d5992fb53f93cfecedc14fd, before 25f526507b8ccc6ac3a43bc094d09b1f9b0b90ae
Other versions: unaffected
|
| Linux |
affected 5.9 unaffected before 5.9 unaffected from 5.10.246 up to and including 5.10.* unaffected from 5.15.195 up to and including 5.15.* unaffected from 6.1.156 up to and including 6.1.* unaffected from 6.6.112 up to and including 6.6.* unaffected from 6.12.53 up to and including 6.12.* unaffected from 6.17.3 up to and including 6.17.* unaffected 6.18 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-40029 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-40029
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-40029
trivy image --scanners vuln IMAGE | grep CVE-2025-40029
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/58dd05070b57a20f22ff35a34ef9846bdf49a1d0 git.kernel.org
- https://git.kernel.org/stable/c/8a4dd74fe413d4a278e649be1d22d028e1667116 git.kernel.org
- https://git.kernel.org/stable/c/e60d55692e6c8e951000343c39f3fc92cab57efc git.kernel.org
- https://git.kernel.org/stable/c/78e87b8a3cf8a59671ea25c87192d16e8d710e1c git.kernel.org
- https://git.kernel.org/stable/c/84ec0482ed9c9ed0aee553a5e7e7458ad79c021f git.kernel.org
- https://git.kernel.org/stable/c/2ead548473f58c7960b6b939b79503c4a0a2c0bd git.kernel.org
- https://git.kernel.org/stable/c/25f526507b8ccc6ac3a43bc094d09b1f9b0b90ae git.kernel.org
Source: the record CVE-2025-40029 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse