# CVE-2021-28698: long running loops in grant table handling In order to properly monitor resource use, Xen maintains information on the grant mappings a dom…

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Published: 2021-08-27T18:32:13.000Z
- Modified: 2026-06-17T03:46:49.400Z
- Weaknesses: CWE-835
- Assigned by: XEN

## Description

long running loops in grant table handling In order to properly monitor resource use, Xen maintains information on the grant mappings a domain may create to map grants offered by other domains. In the process of carrying out certain actions, Xen would iterate over all such entries, including ones which aren't in use anymore and some which may have been created but never used. If the number of entries for a given domain is large enough, this iterating of the entire table may tie up a CPU for too long, starving other domains or causing issues in the hypervisor itself. Note that a domain may map its own grants, i.e. there is no need for multiple domains to be involved here. A pair of "cooperating" guests may, however, cause the effects to be more severe.

(As written by CVE List.)

## Affected

- Xen xen: 4.14.x; from unspecified before 4.12; from 4.15.x before unspecified; 4.13.x; 4.11.x; 4.12.x; from 3.2.0 (not affected: from next of xen-unstable before unspecified)
- fedoraproject fedora: 33; 34; 35
- debian debian_linux: 11.0

## Every score

- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.9 Medium `AV:L/AC:L/Au:N/C:N/I:N/A:C`

## References

- <https://xenbits.xenproject.org/xsa/advisory-380.txt> (vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2021/09/01/2> (mailing-list, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LPRVHW4J4ZCPPOHZEWP5MOJT7XDGFFPJ/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FZCNPSRPGFCQRYE2BI4D4Q4SCE56ANV2/> (vendor-advisory)
- <https://www.debian.org/security/2021/dsa-4977> (third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2VQCFAPBNGBBAOMJZG6QBREOG5IIDZID/> (vendor-advisory)
- <https://security.gentoo.org/glsa/202208-23> (third-party-advisory, vendor-advisory)

## Sources

- CVE List: [CVE-2021-28698](https://www.cve.org/CVERecord?id=CVE-2021-28698), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-28698](https://nvd.nist.gov/vuln/detail/CVE-2021-28698), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-28698 · Whole record: https://cve.day/CVE-2021-28698.json · Rebuilt by cve.day 2026-11-25T22:58:03.531Z
