Linux Kernel GUD Driver Undefined Behavior Sanitizer Warning Vulnerability

Vulnerability

A vulnerability in the Linux kernel's GUD (USB Display) driver has been addressed, which caused a Undefined Behavior Sanitizer (UBSAN) warning. The issue arose from the 'iosys_map' variables being allocated uninitialized on the stack, leading to invalid boolean values. This warning was triggered during the handling of frame buffer objects, where the uninitialized data could be misinterpreted, potentially causing erratic behavior in the driver.

Impact

The vulnerability could lead to undefined behavior in the GUD driver, where invalid boolean values could be processed, potentially causing instability or incorrect functionality in the driver.

Reproduction

The vulnerability can be reproduced by loading the GUD USB Display driver version 1.0.0, which is available in the Linux kernel through the mainline release. Once the driver is active, the UBSAN warning can be observed, indicating the presence of the vulnerability.

Remediation

The vulnerability has been fixed by initializing the 'iosys_map' variables to zero before use, ensuring that they contain valid boolean values. Users can apply the available patch to address this issue.

Added: Dec 8, 2025, 2:50 AM
Updated: Dec 8, 2025, 2:50 AM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
4.3
remediation
7.7
relevance
1.3
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.