VDB

CVE-2025-38630

CVE-2025-38630 PUBLISHED

fbdev: imxfb: Check fb_add_videomode to prevent null-ptr-deref

Reported by linux · Published August 22, 2025

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").

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.16.1, 6.15.10, 6.12.42, 6.6.102, 6.1.148, 5.15.190, 5.10.241, 5.4.297
LinuxLinuxf060441c153495750804133555cf0a211a856892, f00c29e6755ead56baf2a9c1d3c4c0bb40af3612, da11e6a30e0bb8e911288bdc443b3dc8f6a7cac7, cca8f5a3991916729b39d797d01499c335137319, ac16154cccda8be10ee3ae188f10a06f3890bc5d, 69373502c2b5d364842c702c941d1171e4f35a7c, 49377bac9e3bec1635065a033c9679214fe7593e, 40f0a51f6c54d46a94b9f1180339ede7ca7ee190

Affected products

VendorProductVersions
LinuxLinux1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c
LinuxLinux3.11, 0, 5.4.297
LinuxLinux1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, 5.4.297, 5.10.241
linuxlinux_kernel3.11, 3.11, 3.11

Timeline

  • Aug 22, 2025 CVE Published
  • Aug 23, 2025 EPSS Score (30 in total, the first dated here)
  • Oct 12, 2025 PoC Published (17 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (174 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (222 in total, the first dated here)
  • Jun 9, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-38630
vulnetix vdb fixes CVE-2025-38630

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-38630/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›