CVE-2022-50628

Description

A flaw was found in the GUD (Generic USB Display) driver in the Linux kernel. Uninitialized iosys_map variables on the stack contain garbage values in their is_iomem boolean field. When iosys_map_clear() checks this field, UBSAN flags it as an invalid boolean value, indicating potential undefined behavior.

Statement

While UBSAN reports this as undefined behavior, practical exploitation is unlikely. The issue manifests as a warning rather than memory corruption. GUD is a niche driver for USB-connected displays.

Mitigation

To mitigate this issue, prevent the gud module from being loaded. See https://access.redhat.com/solutions/41278 for instructions.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score3.3N/AN/A
Attack VectorLocalN/AN/A
Attack ComplexityLowN/AN/A
Privileges RequiredLowN/AN/A
User InteractionNoneN/AN/A
ScopeUnchangedN/AN/A
ConfidentialityNoneN/AN/A
Integrity ImpactNoneN/AN/A
Availability ImpactLowN/AN/A

Vector

Red Hat: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

Understanding the Weakness (CWE)

Confidentiality

Technical Impact: Read Memory; Read Application Data

When reusing a resource such as memory or a program variable, the original contents of that resource may not be cleared before it is sent to an untrusted party.

Availability

Technical Impact: DoS: Crash, Exit, or Restart

The uninitialized resource may contain values that cause program flow to change in ways that the programmer did not intend.

Frequently Asked Questions

Want to get errata notifications? Sign up here.