7.8

CVE-2022-42332: debian debian_linux Use After Free

CVSS: 7.8v3.1HighModified
AliasesALPINE-CVE-2022-42332UBUNTU-CVE-2022-42332DEBIAN-CVE-2022-42332
Published 21-03-2023Last modified 13-02-2025

Vulnerability summary

CVE-2022-42332 is a high (CVSS 7.8) Use After Free vulnerability in debian debian_linux. EPSS estimates a 0.27% chance of exploitation in the next 30 days, higher than 18% of scored vulnerabilities.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.8/10
010
High · v3.1 (NVD)
EPSS score
0.27%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 10 · Related 9

Timeline

  1. 21-03-2023
    PublishedVulnerability first disclosed.
  2. 13-02-2025
    Last modifiedVulnerability information updated.

Description

x86 shadow plus log-dirty mode use-after-free In environments where host assisted address translation is necessary but Hardware Assisted Paging (HAP) is unavailable, Xen will run guests in so called shadow mode. Shadow mode maintains a pool of memory used for both shadow page tables as well as auxiliary data structures. To migrate or snapshot guests, Xen additionally runs them in so called log-dirty mode. The data structures needed by the log-dirty tracking are part of aformentioned auxiliary data. In order to keep error handling efforts within reasonable bounds, for operations which may require memory allocations shadow mode logic ensures up front that enough memory is available for the worst case requirements. Unfortunately, while page table memory is properly accounted for on the code path requiring the potential establishing of new shadows, demands by the log-dirty infrastructure were not taken into consideration. As a result, just established shadow page tables could be freed again immediately, while other code is still accessing them on the assumption that they would remain allocated.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.27%

Chance of exploitation in the next 30 days

Percentile

18%

Versus all other CVEs

30-day change

0.00 pp

From 0.27% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.27%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Debian2 products
Alpine1 product
  • xen≥ 3.2.0, < 4.15.5-r0 | ≥ 3.2.0, < 4.16.4-r0 | ≥ 3.2.0, < 4.17.0-r5
Fedoraproject1 product
Ubuntu1 product
  • xenAll versions (No fix recorded)
Xen1 product
  • xen≥ 3.2.0 (No fix recorded)

5 vendors · 6 products

References

13 links
Show all 13 references