CVE-2025-38214
kernel: Linux kernel: Denial of Service via null-pointer dereference in fb_videomode_to_var
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · July 4, 2025
Updated · June 30, 2026
Description
A flaw was found in the Linux kernel. A local user could trigger a null-pointer dereference in the fb_videomode_to_var function within the fbdev subsystem. This occurs when fb_set_var fails to allocate memory for fb_videomode but does not properly restore the old fb_info->var value, leading to a system crash and resulting in a Denial of Service (DoS).
Statement
A NULL pointer dereference flaw may occur if fb_add_videomode() in fb_set_var() fails to allocate memory. This flaw could allow a local attacker to crash the system or leak internal kernel information.
Due to its DoS only nature of exploitation, is being treated as a Moderate Impact flaw.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-459 · Incomplete Cleanup