Alpine: xen: security update to 4.13.4-r3

high Tenable Cloud Security Plugin ID 407788

Description

There are packages installed that are affected by multiple vulnerabilities referenced in the following CVEs:

- race in VT-d domain ID cleanup Xen domain IDs are up to 15 bits wide. VT-d hardware may allow for only
less than 15 bits to hold a domain ID associating a physical device with a particular domain. Therefore
internally Xen domain IDs are mapped to the smaller value range. The cleaning up of the housekeeping
structures has a race, allowing for VT-d domain IDs to be leaked and flushes to be bypassed.
(CVE-2022-26357)

- guests may exceed their designated memory limit When a guest is permitted to have close to 16TiB of
memory, it may be able to issue hypercalls to increase its memory allocation beyond the administrator
established limit. This is a result of a calculation done with 32-bit precision, which may overflow. It
would then only be the overflowed (and hence small) number which gets compared against the established
upper bound. (CVE-2021-28706)

- arm: guest_physmap_remove_page not removing the p2m mappings The functions to remove one or more entries
from a guest p2m pagetable on Arm (p2m_remove_mapping, guest_physmap_remove_page, and p2m_set_entry with
mfn set to INVALID_MFN) do not actually clear the pagetable entry if the entry doesn't have the valid bit
set. It is possible to have a valid pagetable entry without the valid bit set when a guest operating
system uses set/way cache maintenance instructions. For instance, a guest issuing a set/way cache
maintenance instruction, then calling the XENMEM_decrease_reservation hypercall to give back memory pages
to Xen, might be able to retain access to those pages even after Xen started reusing them for other
purposes. (CVE-2022-23033)

- A PV guest could DoS Xen while unmapping a grant To address XSA-380, reference counting was introduced for
grant mappings for the case where a PV guest would have the IOMMU enabled. PV guests can request two forms
of mappings. When both are in use for any individual mapping, unmapping of such a mapping can be requested
in two steps. The reference count for such a mapping would then mistakenly be decremented twice. Underflow
of the counters gets detected, resulting in the triggering of a hypervisor bug check. (CVE-2022-23034)

- Insufficient cleanup of passed-through device IRQs The management of IRQs associated with physical devices
exposed to x86 HVM guests involves an iterative operation in particular when cleaning up after the guest's
use of the device. In the case where an interrupt is not quiescent yet at the time this cleanup gets
invoked, the cleanup attempt may be scheduled to be retried. When multiple interrupts are involved, this
scheduling of a retry may get erroneously skipped. At the same time pointers may get cleared (resulting in
a de-reference of NULL) and freed (resulting in a use-after-free), while other code would continue to
assume them to be valid. (CVE-2022-23035)

See Also

https://security.alpinelinux.org/vuln/CVE-2021-28706

https://security.alpinelinux.org/vuln/CVE-2022-23033

https://security.alpinelinux.org/vuln/CVE-2022-23034

https://security.alpinelinux.org/vuln/CVE-2022-23035

https://security.alpinelinux.org/vuln/CVE-2022-23960

https://security.alpinelinux.org/vuln/CVE-2022-26356

https://security.alpinelinux.org/vuln/CVE-2022-26357

https://security.alpinelinux.org/vuln/CVE-2022-26358

https://security.alpinelinux.org/vuln/CVE-2022-26359

https://security.alpinelinux.org/vuln/CVE-2022-26360

https://security.alpinelinux.org/vuln/CVE-2022-26361

https://security.alpinelinux.org/vuln/CVE-2022-26401

Plugin Details

Severity: High

ID: 407788

Version: Revision 1.28

Type: Local

Published: 10/31/2023

Updated: 7/2/2026

Supported Sensors: Agentless Assessment, Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 5.3

Percentile: 96.48

CVSS v2

Risk Factor: Medium

Base Score: 6.2

Temporal Score: 4.6

Vector: CVSS2#AV:L/AC:H/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2022-26357

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS Score Source: CVE-2022-26361

Vulnerability Information

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 7/21/2021

Reference Information

CVE: CVE-2021-28706, CVE-2022-23033, CVE-2022-23034, CVE-2022-23035, CVE-2022-23960, CVE-2022-26356, CVE-2022-26357, CVE-2022-26358, CVE-2022-26359, CVE-2022-26360, CVE-2022-26361, CVE-2022-26401

IAVB: 2021-B-0068-S