CVE catalog

CVE-2022-42332

xen: CVE-2022-42332

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.27% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianxensid4.20.4+39-gf1e1321c87-1fixed
Debianxenforky4.20.4+39-gf1e1321c87-1fixed
Debianxentrixie4.20.3+127-gc42374a105-0+deb13u1fixed
Debianxentrixie-security4.20.4+39-gf1e1321c87-0+deb13u1fixed
Debianxenbookworm4.17.5+72-g01140da4e8-1fixed
Debianxenbookworm-security4.17.7-0+deb12u1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianxensourcesid4.17.0+74-g3eac216e6e-1not yet assignedNot reported[1033297]
Debianxensourceforky4.17.0+74-g3eac216e6e-1not yet assignedNot reported[1033297]
Debianxensourcetrixie4.17.0+74-g3eac216e6e-1not yet assignedNot reported[1033297]
Debianxensourcebookworm4.17.0+74-g3eac216e6e-1not yet assignedNot reported[1033297]

[Debian bug #1033297]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [libxencall1]Unknown

    Source package: [xen]

    Details (4)
    • 4.17.5+72-g01140da4e8-1 · amd64 · bookworm

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · arm64 · bookworm

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · amd64 · bookworm-security

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · arm64 · bookworm-security

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

  • [libxen-dev]Unknown

    Source package: [xen]

    Details (4)
    • 4.17.5+72-g01140da4e8-1 · amd64 · bookworm

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · arm64 · bookworm

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · amd64 · bookworm-security

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · arm64 · bookworm-security

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

  • Source package: [xen]

    Details (4)
    • 4.17.5+72-g01140da4e8-1 · amd64 · bookworm

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · arm64 · bookworm

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · amd64 · bookworm-security

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · arm64 · bookworm-security

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

  • [libxenevtchn1]Unknown

    Source package: [xen]

    Details (4)
    • 4.17.5+72-g01140da4e8-1 · amd64 · bookworm

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · arm64 · bookworm

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · amd64 · bookworm-security

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · arm64 · bookworm-security

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

  • Source package: [xen]

    Details (4)
    • 4.17.5+72-g01140da4e8-1 · amd64 · bookworm

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · arm64 · bookworm

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · amd64 · bookworm-security

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · arm64 · bookworm-security

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

  • [libxengnttab1]Unknown

    Source package: [xen]

    Details (4)
    • 4.17.5+72-g01140da4e8-1 · amd64 · bookworm

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · arm64 · bookworm

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · amd64 · bookworm-security

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · arm64 · bookworm-security

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

  • [libxenhypfs1]Unknown

    Source package: [xen]

    Details (4)
    • 4.17.5+72-g01140da4e8-1 · amd64 · bookworm

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · arm64 · bookworm

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · amd64 · bookworm-security

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · arm64 · bookworm-security

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

  • Source package: [xen]

    Details (4)
    • 4.17.5+72-g01140da4e8-1 · amd64 · bookworm

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · arm64 · bookworm

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · amd64 · bookworm-security

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · arm64 · bookworm-security

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

  • [libxenstore4]Unknown

    Source package: [xen]

    Details (4)
    • 4.17.5+72-g01140da4e8-1 · amd64 · bookworm

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · arm64 · bookworm

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · amd64 · bookworm-security

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · arm64 · bookworm-security

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

  • Source package: [xen]

    Details (4)
    • 4.17.5+72-g01140da4e8-1 · amd64 · bookworm

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · arm64 · bookworm

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · amd64 · bookworm-security

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · arm64 · bookworm-security

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

  • Source package: [xen]

    Details (4)
    • 4.17.5+72-g01140da4e8-1 · amd64 · bookworm

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · arm64 · bookworm

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · amd64 · bookworm-security

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · arm64 · bookworm-security

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

  • [xen-doc]Unknown

    Source package: [xen]

    Details (4)
    • 4.17.5+72-g01140da4e8-1 · amd64 · bookworm

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · arm64 · bookworm

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · amd64 · bookworm-security

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · arm64 · bookworm-security

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

  • Source package: [xen]

    Details (2)
    • 4.17.5+72-g01140da4e8-1 · amd64 · bookworm

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · amd64 · bookworm-security

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

  • Source package: [xen]

    Details (2)
    • 4.17.5+72-g01140da4e8-1 · amd64 · bookworm

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · amd64 · bookworm-security

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

  • Source package: [xen]

    Details (2)
    • 4.17.5+72-g01140da4e8-1 · arm64 · bookworm

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · arm64 · bookworm-security

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

  • Source package: [xen]

    Details (2)
    • 4.17.5+72-g01140da4e8-1 · arm64 · bookworm

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · arm64 · bookworm-security

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

  • Source package: [xen]

    Details (4)
    • 4.17.5+72-g01140da4e8-1 · amd64 · bookworm

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · arm64 · bookworm

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · amd64 · bookworm-security

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · arm64 · bookworm-security

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

  • Source package: [xen]

    Details (4)
    • 4.17.5+72-g01140da4e8-1 · amd64 · bookworm

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · arm64 · bookworm

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · amd64 · bookworm-security

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · arm64 · bookworm-security

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

  • Source package: [xen]

    Details (2)
    • 4.17.5+72-g01140da4e8-1 · amd64 · bookworm

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · amd64 · bookworm-security

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

  • Source package: [xen]

    Details (2)
    • 4.17.5+72-g01140da4e8-1 · arm64 · bookworm

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

    • 4.17.5+72-g01140da4e8-1 · arm64 · bookworm-security

      Fixed · Fixed: 4.17.0+74-g3eac216e6e-1

      dsa · xen · debian · bookworm

Next results

Observed:

References