# CVE-2021-28688: The fix for XSA-365 includes initialization of pointers such that subsequent cleanup code wouldn't use uninitialized or stale values.

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/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.34%, higher than 29% of CVEs (2026-12-01)
- Published: 2021-04-06T18:07:41.000Z
- Modified: 2026-06-17T03:46:47.920Z
- Weaknesses: CWE-665
- Assigned by: XEN

## Description

The fix for XSA-365 includes initialization of pointers such that subsequent cleanup code wouldn't use uninitialized or stale values. This initialization went too far and may under certain conditions also overwrite pointers which are in need of cleaning up. The lack of cleanup would result in leaking persistent grants. The leak in turn would prevent fully cleaning up after a respective guest has died, leaving around zombie domains. All Linux versions having the fix for XSA-365 applied are vulnerable. XSA-365 was classified to affect versions back to at least 3.11.

(As written by CVE List.)

## Affected

- Linux Linux: from unspecified before 4.12; from 3.11 before unspecified; 5.11.1; 5.12-rc; 5.10.18; from 4.4 before unspecified (not affected: from next of 4.3 before unspecified; from next of 5.9 before unspecified)
- linux linux_kernel: from 3.11 up to 5.10.18
- debian debian_linux: 9.0

## Every score

- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H`
- NVD: CVSS:2.0 2.1 Low `AV:L/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://xenbits.xenproject.org/xsa/advisory-371.txt> (patch, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2021/06/msg00020.html> (mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2021/06/msg00019.html> (mailing-list, third-party-advisory)

## Sources

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

---

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