CVE-2022-0175
NixOS vulnerability analysis and mitigation

Overview

A vulnerability (CVE-2022-0175) was discovered in the VirGL virtual OpenGL renderer (virglrenderer) where the system did not properly initialize memory when allocating a host-backed memory resource. This flaw was found in version 0.9.0 and affected various Linux distributions including Ubuntu, Debian, and Red Hat systems (NVD, Debian Tracker).

Technical details

The vulnerability stems from a memory initialization issue in the vrendresourceallocbuffer() function. Specifically, virgl fails to initialize the memory pointed by the res->ptr when creating a resource. This memory can be mapped to the guest kernel when the VIRTIOGPUCMDRESOURCEATTACHBACKING command is issued (Red Hat Bugzilla).

Impact

The vulnerability could allow a malicious guest to mmap from the guest kernel and read uninitialized memory from the host, potentially leading to information disclosure. This poses a significant security risk as sensitive host information could be exposed to unauthorized parties (Debian Tracker, Ubuntu Security).

Mitigation and workarounds

The vulnerability has been fixed in multiple distributions. Ubuntu users should update to libvirglrenderer1 version 0.8.2-5ubuntu0.21.10.1 for Ubuntu 21.10 or version 0.8.2-1ubuntu1.1 for Ubuntu 20.04. Gentoo users should upgrade to virglrenderer version 0.10.1 or later. After updating, all virtual machines need to be restarted to apply the necessary changes (Ubuntu Security, Gentoo Security).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-14330CRITICAL9.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox_esr
NoYesDec 09, 2025
CVE-2025-14329HIGH8.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox:*:*:*:*:esr:*:*:*
NoYesDec 09, 2025
CVE-2025-14333HIGH8.1
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025
CVE-2025-14332HIGH7.3
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025
CVE-2025-14331MEDIUM6.5
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management