# CVE-2022-50263: vdpasim: fix memory leak when freeing IOTLBs

- 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.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2025-09-15T14:20:59.436Z
- Modified: 2026-06-17T05:23:06.403Z
- Weaknesses: CWE-401
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

vdpasim: fix memory leak when freeing IOTLBs

After commit bda324fd037a ("vdpasim: control virtqueue support"),
vdpasim->iommu became an array of IOTLB, so we should clean the
mappings of each free one by one instead of just deleting the ranges
in the first IOTLB which may leak maps.

(As written by CVE List.)

## Affected

- Linux Linux: from bda324fd037a6b0d44da5699574ce741ca161bc4 before 54b210c90d2803a9f1c8fd2f0d08e90172e9a06d; from bda324fd037a6b0d44da5699574ce741ca161bc4 before 16b22e27fba6fd816d0dcb98f42cc71f0836c27e; from bda324fd037a6b0d44da5699574ce741ca161bc4 before 0b7a04a30eef20e6b24926a45c0ce7906ae85bd6; 5.19 (not affected: before 5.19; from 6.0.19 up to 6.0.*; from 6.1.5 up to 6.1.*; from 6.2 up to *)
- linux linux_kernel: from 5.19 before 6.0.19; from 6.1 before 6.1.5; 6.2

## References

- <https://git.kernel.org/stable/c/54b210c90d2803a9f1c8fd2f0d08e90172e9a06d> (patch)
- <https://git.kernel.org/stable/c/16b22e27fba6fd816d0dcb98f42cc71f0836c27e> (patch)
- <https://git.kernel.org/stable/c/0b7a04a30eef20e6b24926a45c0ce7906ae85bd6> (patch)

## Sources

- CVE List: [CVE-2022-50263](https://www.cve.org/CVERecord?id=CVE-2022-50263), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-50263](https://nvd.nist.gov/vuln/detail/CVE-2022-50263), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-50263 · Whole record: https://cve.day/CVE-2022-50263.json · Rebuilt by cve.day 2026-11-25T22:58:21.136Z
