Linux Kernel NULL Pointer Dereference Vulnerability in Framebuffer Unregistration

Vulnerability

A vulnerability in the Linux kernel's framebuffer device (fbdev) subsystem can lead to a NULL pointer dereference. This issue occurs when framebuffers without an associated device in the Linux device hierarchy are unregistered. Instead of performing a standard unregistration, the kernel attempts to hot-unplug a non-existent device, resulting in a NULL dereference. The vulnerability was introduced in version 5.17.0 by a commit that changed the unregistration process for firmware framebuffers. The issue has been observed on ppc64le architecture.

Impact

Exploitation of this vulnerability causes a kernel NULL pointer dereference, leading to a crash.

Reproduction

The vulnerability can be reproduced by removing a framebuffer device that does not have an underlying platform device, which is typical for certain firmware framebuffers. This can be done by forcing the removal of the framebuffer, which triggers the hot-unplug process, causing the NULL pointer dereference.

Remediation

Users can upgrade to a patched version of the Linux kernel where this vulnerability has been addressed.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
5.7
remediation
0.0
relevance
0.0
threat
4.8
urgency
2.9
incentive
1.7

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