CVE record · CVE-2025-38215

fbdev: Fix do_register_framebuffer to prevent null-ptr-deref in fb_videomode_to_var

No CVSS scoreEPSS 0.0017 · 6th percentile

Published by the CVE Program (CNA: Linux) at 4 Jul 2025, 13:37 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

Affected products, as the CNA wrote them
VendorProductVersions
Linux Linux
  • affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 908c5bb64f9c4319902b8ca1aa3fef8f83302520 git
  • affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 0909b2b49c4546a7a08c80f53d93736b63270827 git
  • affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 3f2098f4fba7718eb2501207ca6e99d22427f25a git
  • affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before d803c4c2a4ac8ce2be6d899d5c7ab0bf7ec355e9 git
  • affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 17186f1f90d34fa701e4f14e6818305151637b9e git
Other versions: unaffected
Linux Linux
  • affected 2.6.12
  • unaffected before 2.6.12 semver
  • unaffected 6.1.143 to 6.1.*, inclusive semver
  • unaffected 6.6.95 to 6.6.*, inclusive semver
  • unaffected 6.12.35 to 6.12.*, inclusive semver
  • unaffected 6.15.4 to 6.15.*, inclusive semver
  • unaffected 6.16 to *, inclusive original_commit_for_fix
Other versions: affected
Identifiers
CVE-2025-38215
CNA
Linux
Published
4 Jul 2025
Updated
5 Nov 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The Linux kernel's fbdev framebuffer registration code (do_register_framebuffer) has a null pointer dereference in fb_videomode_to_var. If memory allocation fails when adding the framebuffer's video mode, the framebuffer is still registered without that mode, and later use can crash the kernel. The source does not state what an attacker must do to trigger it or what fixed versions are listed beyond the affected ranges. Upgrade to a kernel release that includes the fix for this CVE, such as a stable 6.1.143, 6.6.95, 6.12.35, or 6.15.4 or later release in the matching series.

Written 16 Nov 2026.

Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

Severity and exploitation

No source has published a CVSS score for this record yet.

  • CISA KEV Not listed.
  • EPSS 0.0017, the 6th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 4 Jul 2025, 13:37 UTC Confirmed by the CVE List
  2. 4 Jul 2025, 14:15 UTC Confirmed by NVD

Sources

References from the CNA

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.