CVE-2025-38630

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

published August 22, 2025

CVSS
—
EPSS
0%
Percentile
6.6
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00174 · 6.6th percentile
Published
2025-08-22T16:00Z
EPSS history
Timeline
  • 22 AUG 16:00Z
    fbdev: imxfb: Check fb_add_videomode to prevent null-ptr-deref
    cvelistv5