
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-38215 is a NULL pointer dereference vulnerability in the Linux kernel's framebuffer device (fbdev) subsystem, specifically in the do_register_framebuffer() function. When fb_add_videomode() fails to allocate memory for fb_videomode, the framebuffer is still registered without the expected video mode in its modelist, leading to a general protection fault (null-ptr-deref) in fb_videomode_to_var() during subsequent operations. The vulnerability affects Linux kernel versions from 2.6.13 up to 6.1.143, 6.2 up to 6.6.95, 6.7 up to 6.12.35, and 6.13 up to 6.15.4, as well as Debian Linux 11.0. It was disclosed on July 4, 2025, and carries a CVSS v3.1 base score of 5.5 (Medium) (Red Hat Advisory, Red Hat Bugzilla).
The root cause is classified as CWE-476 (NULL Pointer Dereference). In do_register_framebuffer(), if fb_add_videomode() fails due to a memory allocation error, the function continues to register the fb_info structure without the expected video mode entry in its modelist. Later, when fb_videomode_to_var() is called (e.g., during a console resize triggered via fbcon_modechanged() → fbcon_update_vcs() → do_fb_ioctl()), it attempts to dereference a NULL or non-canonical pointer, causing a kernel panic. The vulnerability was discovered by the Linux Verification Center (linuxtesting.org) using the Syzkaller fuzzer, and requires low-privilege local access to trigger via framebuffer ioctl operations (Red Hat Bugzilla).
Successful exploitation causes a kernel general protection fault, resulting in a system crash and denial of service. The vulnerability has no confidentiality or integrity impact — only availability is affected, as the kernel panics when the null pointer is dereferenced during framebuffer mode operations. An attacker with low-privilege local access could trigger this condition to crash the system, potentially disrupting all services running on the affected host (Red Hat Advisory).
There is no public proof-of-concept exploit code and no evidence of in-the-wild exploitation at this time. The vulnerability requires local access with low privileges to trigger, limiting its attack surface. The EPSS score is 0.018% (0.000180), indicating a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog (Red Hat Advisory).
dmesg, /var/log/kern.log) showing general protection fault or KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] with a call trace involving fb_videomode_to_var, display_to_var, fbcon_resize, or do_fb_ioctl.ioctl calls to /dev/fb* devices from low-privilege processes (Red Hat Bugzilla).The fix has been applied to multiple stable kernel branches: versions 6.1.143, 6.6.95, 6.12.35, and 6.15.4 include the patch. The fix moves fb_add_videomode() earlier in do_register_framebuffer() and prevents registration of fb_info if the video mode cannot be set successfully. Users should update to a patched kernel version provided by their Linux distribution (Red Hat, Debian, Ubuntu, Amazon Linux 2, etc.). As a workaround, restricting local user access to framebuffer devices (/dev/fb*) can reduce exposure (Red Hat Bugzilla, Kernel Patches).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."