<?xml version="1.0" encoding="utf-8"?>
  <?xml-stylesheet type="text/xsl" href="sa-render.xsl"?>
  <update from="huaweicloud.com" type="security" status="stable" version="1">
    <id>HCE2-SA-2022-0064</id>
    <title>An update for wayland is now available for HCE 2.0</title>
    <severity>Moderate</severity>
    <release>HCE 2.0</release>
    <issued date="2022-10-08 17:46:41"/>
    <updated date="2022-10-08 17:46:41"/>
    <references>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2021-3782" id="CVE-2021-3782" title="CVE-2021-3782 Base Score: 6.6 Vector: CVSS:3/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L" type="cve"/>
    </references>
    <description>Security Fix(es):

An internal reference count is held on the buffer pool, incremented every time a new buffer is created from the pool. The reference count is maintained as an int; on LP64 systems this can cause the reference count to overflow if the client creates a large number of wl_shm buffer objects, or if it can coerce the server to create a large number of external references to the buffer storage. With the reference count overflowing, a use-after-free can be constructed on the wl_shm_pool tracking structure, where values may be incremented or decremented; it may also be possible to construct a limited oracle to leak 4 bytes of server-side memory to the attacking client at a time. (CVE-2021-3782)
</description>
    <pkglist>
      <collection short="HCE 2.0" package="wayland">
        <name>HCE 2.0</name>
        <package arch="aarch64" name="wayland" version="1.19.91" release="1.r4.hce2">
          <filename>wayland-1.19.91-1.r4.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="wayland-devel" version="1.19.91" release="1.r4.hce2">
          <filename>wayland-devel-1.19.91-1.r4.hce2.aarch64.rpm</filename>
        </package>
        <package arch="noarch" name="wayland-help" version="1.19.91" release="1.r4.hce2">
          <filename>wayland-help-1.19.91-1.r4.hce2.noarch.rpm</filename>
        </package>
        <package arch="x86_64" name="wayland" version="1.19.91" release="1.r4.hce2">
          <filename>wayland-1.19.91-1.r4.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="wayland-devel" version="1.19.91" release="1.r4.hce2">
          <filename>wayland-devel-1.19.91-1.r4.hce2.x86_64.rpm</filename>
        </package>
      </collection>
    </pkglist>
  </update>
