CVE-2025-38630
fbdev: imxfb: Check fb_add_videomode to prevent null-ptr-deref
Check your servers for CVE-2025-38630
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-38630 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:
fbdev: imxfb: Check fb_add_videomode to prevent null-ptr-deref
fb_add_videomode() can fail with -ENOMEM when its internal kmalloc() cannot allocate a struct fb_modelist. If that happens, the modelist stays empty but the driver continues to register. Add a check for its return value to prevent poteintial null-ptr-deref, which is similar to the commit 17186f1f90d3 ("fbdev: Fix do_register_framebuffer to prevent null-ptr-deref in fb_videomode_to_var").
Exploitation
EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 10.2% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, before 69373502c2b5d364842c702c941d1171e4f35a7c affected from 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, before f00c29e6755ead56baf2a9c1d3c4c0bb40af3612 affected from 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, before cca8f5a3991916729b39d797d01499c335137319 affected from 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, before ac16154cccda8be10ee3ae188f10a06f3890bc5d affected from 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, before 4b5d36cc3014986e6fac12eaa8433fe56801d4ce affected from 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, before 40f0a51f6c54d46a94b9f1180339ede7ca7ee190 affected from 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, before 49377bac9e3bec1635065a033c9679214fe7593e affected from 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, before f060441c153495750804133555cf0a211a856892 affected from 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, before da11e6a30e0bb8e911288bdc443b3dc8f6a7cac7
Other versions: unaffected
|
| Linux |
affected 3.11 unaffected before 3.11 unaffected from 5.4.297 up to and including 5.4.* unaffected from 5.10.241 up to and including 5.10.* unaffected from 5.15.190 up to and including 5.15.* unaffected from 6.1.148 up to and including 6.1.* unaffected from 6.6.102 up to and including 6.6.* unaffected from 6.12.42 up to and including 6.12.* unaffected from 6.15.10 up to and including 6.15.* unaffected from 6.16.1 up to and including 6.16.* unaffected 6.17 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-38630 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-38630
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-38630
trivy image --scanners vuln IMAGE | grep CVE-2025-38630
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/69373502c2b5d364842c702c941d1171e4f35a7c git.kernel.org
- https://git.kernel.org/stable/c/f00c29e6755ead56baf2a9c1d3c4c0bb40af3612 git.kernel.org
- https://git.kernel.org/stable/c/cca8f5a3991916729b39d797d01499c335137319 git.kernel.org
- https://git.kernel.org/stable/c/ac16154cccda8be10ee3ae188f10a06f3890bc5d git.kernel.org
- https://git.kernel.org/stable/c/4b5d36cc3014986e6fac12eaa8433fe56801d4ce git.kernel.org
- https://git.kernel.org/stable/c/40f0a51f6c54d46a94b9f1180339ede7ca7ee190 git.kernel.org
- https://git.kernel.org/stable/c/49377bac9e3bec1635065a033c9679214fe7593e git.kernel.org
- https://git.kernel.org/stable/c/f060441c153495750804133555cf0a211a856892 git.kernel.org
- https://git.kernel.org/stable/c/da11e6a30e0bb8e911288bdc443b3dc8f6a7cac7 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html lists.debian.org
Source: the record CVE-2025-38630 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