iommu/vt-d: Clean up si_domain in the init_dmars() error path
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 86080ccc223aabf8d0b85a504f4f06aa88e82fb3 · < c4ad3ae4c6be9d8b0701761c839771116bca6ea3| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
iommu/vt-d: Clean up si_domain in the init_dmars() error path
A splat from kmem_cache_destroy() was seen with a kernel prior to commit ee2653bbe89d ("iommu/vt-d: Remove domain and devinfo mempool") when there was a failure in init_dmars(), because the iommu_domain cache still had objects. While the mempool code is now gone, there still is a leak of the si_domain memory if init_dmars() fails. So clean up si_domain in the init_dmars() error path.
From the CVE record · Linux
The Linux kernel's iommu/vt-d code leaks si_domain memory if init_dmars() fails. The input does not describe how an attacker could trigger the failure or whether access or user interaction is required.
Engineers running Linux kernels with iommu/vt-d should check their versions; affected versions are not specified.