CVE-2025-38630
fbdev: imxfb: Check fb_add_videomode to prevent null-ptr-deref
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, < 69373502c2b5d364842c702c941d1171e4f35a7c; >= 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, < f00c29e6755ead56baf2a9c1d3c4c0bb40af3612; >= 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, < cca8f5a3991916729b39d797d01499c335137319; >= 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, < ac16154cccda8be10ee3ae188f10a06f3890bc5d; >= 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, < 4b5d36cc3014986e6fac12eaa8433fe56801d4ce; >= 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, < 40f0a51f6c54d46a94b9f1180339ede7ca7ee190; >= 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, < 49377bac9e3bec1635065a033c9679214fe7593e; >= 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, < f060441c153495750804133555cf0a211a856892; >= 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, < da11e6a30e0bb8e911288bdc443b3dc8f6a7cac7
- Anyone running Linux 3.11
Vulnerability facts
- Affected
- Linux >= 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, < 69373502c2b5d364842c702c941d1171e4f35a7c; >= 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, < f00c29e6755ead56baf2a9c1d3c4c0bb40af3612; >= 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, < cca8f5a3991916729b39d797d01499c335137319; >= 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, < ac16154cccda8be10ee3ae188f10a06f3890bc5d; >= 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, < 4b5d36cc3014986e6fac12eaa8433fe56801d4ce; >= 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, < 40f0a51f6c54d46a94b9f1180339ede7ca7ee190; >= 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, < 49377bac9e3bec1635065a033c9679214fe7593e; >= 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, < f060441c153495750804133555cf0a211a856892; >= 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, < da11e6a30e0bb8e911288bdc443b3dc8f6a7cac7; Linux 3.11
- Fixed in
- Linux 69373502c2b5d364842c702c941d1171e4f35a7c, Linux 4b5d36cc3014986e6fac12eaa8433fe56801d4ce, Linux 40f0a51f6c54d46a94b9f1180339ede7ca7ee190, Linux 49377bac9e3bec1635065a033c9679214fe7593e
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.28% chance of exploitation in 30 days (percentile 13, 2026-11-26)
- CWE
- CWE-476
- Modified
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").
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, < 69373502c2b5d364842c702c941d1171e4f35a7c; >= 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, < f00c29e6755ead56baf2a9c1d3c4c0bb40af3612; >= 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, < cca8f5a3991916729b39d797d01499c335137319; >= 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, < ac16154cccda8be10ee3ae188f10a06f3890bc5d; >= 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, < 4b5d36cc3014986e6fac12eaa8433fe56801d4ce; >= 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, < 40f0a51f6c54d46a94b9f1180339ede7ca7ee190; >= 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, < 49377bac9e3bec1635065a033c9679214fe7593e; >= 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, < f060441c153495750804133555cf0a211a856892; >= 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, < da11e6a30e0bb8e911288bdc443b3dc8f6a7cac7 | — | cvelist |
| Linux | 3.11 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-38630. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-38630.md Affected: Linux >= 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, < 69373502c2b5d364842c702c941d1171e4f35a7c; >= 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, < f00c29e6755ead56baf2a9c1d3c4c0bb40af3612; >= 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, < cca8f5a3991916729b39d797d01499c335137319; >= 1b6c79361ba5ce30b40f0f7… Fixed in: Linux 69373502c2b5d364842c702c941d1171e4f35a7c, Linux 4b5d36cc3014986e6fac12eaa8433fe56801d4ce, Linux 40f0a51f6c54d46a94b9f1180339ede7ca7ee190, Linux 49377bac9e3bec1635065a033c9679214fe7593e Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/69373502c2b5d364842c702c941d1171e4f35a7c
- https://git.kernel.org/stable/c/f00c29e6755ead56baf2a9c1d3c4c0bb40af3612
- https://git.kernel.org/stable/c/cca8f5a3991916729b39d797d01499c335137319
- https://git.kernel.org/stable/c/ac16154cccda8be10ee3ae188f10a06f3890bc5d
- https://git.kernel.org/stable/c/4b5d36cc3014986e6fac12eaa8433fe56801d4ce
- https://git.kernel.org/stable/c/40f0a51f6c54d46a94b9f1180339ede7ca7ee190
- https://git.kernel.org/stable/c/49377bac9e3bec1635065a033c9679214fe7593e
- https://git.kernel.org/stable/c/f060441c153495750804133555cf0a211a856892
- https://git.kernel.org/stable/c/da11e6a30e0bb8e911288bdc443b3dc8f6a7cac7
FAQ
Is CVE-2025-38630 being exploited?
There is no confirmed exploitation: CVE-2025-38630 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-38630?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-38630?
Linux >= 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, < 69373502c2b5d364842c702c941d1171e4f35a7c; >= 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, < f00c29e6755ead56baf2a9c1d3c4c0bb40af3612; >= 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, < cca8f5a3991916729b39d797d01499c335137319; >= 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, < ac16154cccda8be10ee3ae188f10a06f3890bc5d; >= 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, < 4b5d36cc3014986e6fac12eaa8433fe56801d4ce; >= 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, < 40f0a51f6c54d46a94b9f1180339ede7ca7ee190; >= 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, < 49377bac9e3bec1635065a033c9679214fe7593e; >= 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, < f060441c153495750804133555cf0a211a856892; >= 1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c, < da11e6a30e0bb8e911288bdc443b3dc8f6a7cac7; Linux 3.11.
Is there a fix for CVE-2025-38630?
Yes. Fixed in Linux 69373502c2b5d364842c702c941d1171e4f35a7c, Linux 4b5d36cc3014986e6fac12eaa8433fe56801d4ce, Linux 40f0a51f6c54d46a94b9f1180339ede7ca7ee190, Linux 49377bac9e3bec1635065a033c9679214fe7593e. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2025-38630?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.