NULL Pointer Dereference Affecting qemu-system-aarch64 package, versions <15:4.2.1-16.el7


Severity

Recommended
high

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
0.04% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ORACLE7-QEMUSYSTEMAARCH64-2806206
  • published30 Apr 2022
  • disclosed25 Jan 2022

Introduced: 25 Jan 2022

CVE-2021-4145  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade Oracle:7 qemu-system-aarch64 to version 15:4.2.1-16.el7 or higher.
This issue was patched in ELSA-2022-9344.

NVD Description

Note: Versions mentioned in the description apply only to the upstream qemu-system-aarch64 package and not the qemu-system-aarch64 package as distributed by Oracle. See How to fix? for Oracle:7 relevant fixed versions and status.

A NULL pointer dereference issue was found in the block mirror layer of QEMU in versions prior to 6.2.0. The self pointer is dereferenced in mirror_wait_on_conflicts() without ensuring that it's not NULL. A malicious unprivileged user within the guest could use this flaw to crash the QEMU process on the host when writing data reaches the threshold of mirroring node.

CVSS Scores

version 3.1