title: iommu/vt-d: Fix sysfs leak in alloc_iommu()
description: In the Linux kernel, the following vulnerability has been resolved:
iommu/vt-d: Fix sysfs leak in alloc_iommu()
iommu_device_sysfs_add() is called before, so is has to be cleaned on subsequent
errors.
affected:
{
product: Linux
vendor: Linux
defaultStatus: unaffected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: 39ab9555c241, lessThan: 22da9f497838, status: affected, versionType: git
version: 39ab9555c241, lessThan: 2ec5e9bb6b05, status: affected, versionType: git
version: 39ab9555c241, lessThan: 044bbe8b92ab, status: affected, versionType: git
version: 39ab9555c241, lessThan: f01134321d04, status: affected, versionType: git
version: 39ab9555c241, lessThan: ca466561eef3, status: affected, versionType: git
version: 39ab9555c241, lessThan: 0ee74d5a4863, status: affected, versionType: git
}
{
product: Linux
vendor: Linux
defaultStatus: affected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: 4.11, status: affected
version: 0, lessThan: 4.11, status: unaffected, versionType: custom
version: 4.14.235, lessThanOrEqual: 4.14.*, status: unaffected, versionType: custom
version: 4.19.193, lessThanOrEqual: 4.19.*, status: unaffected, versionType: custom
version: 5.4.124, lessThanOrEqual: 5.4.*, status: unaffected, versionType: custom
version: 5.10.42, lessThanOrEqual: 5.10.*, status: unaffected, versionType: custom
version: 5.12.9, lessThanOrEqual: 5.12.*, status: unaffected, versionType: custom
version: 5.13, lessThanOrEqual: *, status: unaffected, versionType: original_commit_for_fix
}
