Linux Kernel Refcount Leak Vulnerability in Display Timing Handling

Vulnerability

A refcount leak vulnerability has been identified in the Linux kernel's handling of display timings within the framebuffer (fbdev) subsystem. This issue arises in the function 'of_get_display_timings()', where a device node's reference count is incremented but not properly decremented in certain error scenarios. Specifically, when the function encounters an error and jumps to the 'entryfail' label, the reference count for 'native_mode' is not decreased, leading to a memory leak. The vulnerability affects the Linux kernel stable tree.

Impact

Exploitation of this vulnerability leads to a memory leak, where reference counts are not properly managed, potentially causing increased memory usage over time.

Reproduction

The vulnerability can be reproduced by invoking the 'of_get_display_timings()' function with a device node that triggers an error condition. This will cause the function to jump to the 'entryfail' label without decrementing the reference count for 'native_mode', thereby creating a refcount leak.

Remediation

The vulnerability has been addressed by modifying the error handling in 'of_get_display_timings()'. The goto statement was changed from 'entryfail' to 'timingfail', ensuring that the reference count is properly decremented before the function exits. Users should upgrade to the latest version of the Linux kernel where this fix has been applied.

Added: May 6, 2026, 12:45 PM
Updated: May 6, 2026, 12:45 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
0.6
exploitability
3.8
remediation
7.7
relevance
7.6
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.