CVE-2021-28699

NameCVE-2021-28699
Descriptioninadequate grant-v2 status frames array bounds check The v2 grant table interface separates grant attributes from grant status. That is, when operating in this mode, a guest has two tables. As a result, guests also need to be able to retrieve the addresses that the new status tracking table can be accessed through. For 32-bit guests on x86, translation of requests has to occur because the interface structure layouts commonly differ between 32- and 64-bit. The translation of the request to obtain the frame numbers of the grant status table involves translating the resulting array of frame numbers. Since the space used to carry out the translation is limited, the translation layer tells the core function the capacity of the array within translation space. Unfortunately the core function then only enforces array bounds to be below 8 times the specified value, and would write past the available space if enough frame numbers needed storing.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDSA-4977-1
NVD severitymedium

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
xen (PTS)stretch (security), stretch4.8.5.final+shim4.10.4-1+deb9u12fixed
buster4.11.4+99-g8bce4698f6-1vulnerable
buster (security)4.11.4+107-gef32c7afa2-1vulnerable
bullseye4.14.2+25-gb6a8c4f72d-2vulnerable
bullseye (security)4.14.3-1~deb11u1fixed
bookworm, sid4.14.3-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
xensourcestretch(not affected)
xensourcebuster(unfixed)end-of-life
xensourcebullseye4.14.3-1~deb11u1DSA-4977-1
xensource(unstable)4.14.3-1

Notes

[buster] - xen <end-of-life> (DSA 4677-1)
[stretch] - xen <not-affected> (Only affects 4.10 and later)
https://xenbits.xen.org/xsa/advisory-382.html

Search for package or bug name: Reporting problems