Bug 2390397 (CVE-2025-38630) - CVE-2025-38630 kernel: fbdev: imxfb: Check fb_add_videomode to prevent null-ptr-deref
Summary: CVE-2025-38630 kernel: fbdev: imxfb: Check fb_add_videomode to prevent null-p...
Keywords:
Status: NEW
Alias: CVE-2025-38630
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-08-22 17:04 UTC by OSIDB Bzimport
Modified: 2025-08-25 04:56 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-08-22 17:04:47 UTC
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").


Note You need to log in before you can comment on or make changes to this bug.