Linux Kernel Framebuffer Subsystem Null Pointer Dereference Vulnerability

Vulnerability

A null pointer dereference vulnerability has been identified in the Linux kernel's framebuffer (fbdev) subsystem. This issue arises in the 'fb_new_modelist' function, where the current video mode of a framebuffer ('info->var') is expected to have a corresponding entry in the mode list ('info->modelist'). The function 'var_to_display' relies on this consistency and treats any mismatch as an error. While 'fb_set_var' and 'do_register_framebuffer' correctly update the modelist, 'fb_new_modelist' fails to ensure that the current mode is still valid after a console takeover, particularly when 'fbcon' is unbound. This oversight can lead to a situation where 'var_to_display' receives a null mode, causing a dereference error.

Impact

Exploitation of this vulnerability leads to a null pointer dereference, causing a crash or undefined behavior in the framebuffer console.

Reproduction

The vulnerability can be reproduced by unbinding a framebuffer console and then triggering a console takeover, which will result in a null pointer dereference when the framebuffer's video mode is accessed.

Remediation

Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed.

Added: Jul 19, 2026, 1:01 PM
Updated: Jul 19, 2026, 1:01 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
3.9
remediation
7.7
relevance
9.7
threat
4.8
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.