NetSight
medium5.5

CVE-2022-50482

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_destr…

Impact

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.

Affected products

VendorProductAffected versions
LinuxLinux Kernel
from 4.2 before 4.14.298
from 4.15 before 4.19.264
from 4.20 before 5.4.221
from 5.5 before 5.10.152
from 5.11 before 5.15.76
from 5.16 before 6.0.6

Weakness classification

References