In the Linux kernel, the following vulnerability has been resolved:
iommu: Fix error unwind in iommugroupalloc()
If either iommugroupgratefile() fails then the iommugroup is leaked.
Destroy it on these error paths.
Found by kselftest/iommu/iommufdfailnth
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53482.json",
"cna_assigner": "Linux"
}"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53482.json"
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4daa861174d56023c2068ddb03de0752f07fa199",
"signature_type": "Line",
"digest": {
"line_hashes": [
"323127093685256090598861570842962976673",
"124240300579120281048461003580690814674",
"223544251556183281998911768002826259413",
"51860394323040169092685980362690068452",
"303825921442052399141436359343223561912",
"298630305912919329878000407107155865086",
"22214612163763258752247489035004437237",
"50333595522071737729082935017163524566"
],
"threshold": 0.9
},
"deprecated": false,
"target": {
"file": "drivers/iommu/iommu.c"
},
"id": "CVE-2023-53482-2190fc50",
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4daa861174d56023c2068ddb03de0752f07fa199",
"signature_type": "Function",
"digest": {
"function_hash": "50310425372535475444092208721428099519",
"length": 1042.0
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2023-53482-223ea8cb",
"target": {
"file": "drivers/iommu/iommu.c",
"function": "iommu_group_alloc"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4c23124b45ee0aa895ed8d5d08871ae6b15ee336",
"signature_type": "Function",
"digest": {
"function_hash": "198831875030622406719000716684917848349",
"length": 1006.0
},
"deprecated": false,
"target": {
"file": "drivers/iommu/iommu.c",
"function": "iommu_group_alloc"
},
"id": "CVE-2023-53482-26945086",
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8602fa38a63fc689eca29c8c586fac2d8a1f8739",
"signature_type": "Function",
"digest": {
"function_hash": "50310425372535475444092208721428099519",
"length": 1042.0
},
"deprecated": false,
"target": {
"file": "drivers/iommu/iommu.c",
"function": "iommu_group_alloc"
},
"id": "CVE-2023-53482-5ba5e327",
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f119ef452e2d82d912797273cb790a86f1125b3e",
"signature_type": "Function",
"digest": {
"function_hash": "212416621048706319779622304467004736584",
"length": 1092.0
},
"deprecated": false,
"target": {
"file": "drivers/iommu/iommu.c",
"function": "iommu_group_alloc"
},
"id": "CVE-2023-53482-888f41a1",
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f119ef452e2d82d912797273cb790a86f1125b3e",
"signature_type": "Line",
"digest": {
"line_hashes": [
"323127093685256090598861570842962976673",
"124240300579120281048461003580690814674",
"223544251556183281998911768002826259413",
"51860394323040169092685980362690068452",
"303825921442052399141436359343223561912",
"298630305912919329878000407107155865086",
"22214612163763258752247489035004437237",
"50333595522071737729082935017163524566"
],
"threshold": 0.9
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2023-53482-9d537bc1",
"target": {
"file": "drivers/iommu/iommu.c"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4c23124b45ee0aa895ed8d5d08871ae6b15ee336",
"signature_type": "Line",
"digest": {
"line_hashes": [
"323127093685256090598861570842962976673",
"124240300579120281048461003580690814674",
"223544251556183281998911768002826259413",
"51860394323040169092685980362690068452",
"303825921442052399141436359343223561912",
"298630305912919329878000407107155865086",
"22214612163763258752247489035004437237",
"50333595522071737729082935017163524566"
],
"threshold": 0.9
},
"deprecated": false,
"target": {
"file": "drivers/iommu/iommu.c"
},
"id": "CVE-2023-53482-df653b28",
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8602fa38a63fc689eca29c8c586fac2d8a1f8739",
"signature_type": "Line",
"digest": {
"line_hashes": [
"323127093685256090598861570842962976673",
"124240300579120281048461003580690814674",
"223544251556183281998911768002826259413",
"51860394323040169092685980362690068452",
"303825921442052399141436359343223561912",
"298630305912919329878000407107155865086",
"22214612163763258752247489035004437237",
"50333595522071737729082935017163524566"
],
"threshold": 0.9
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2023-53482-fda37d21",
"target": {
"file": "drivers/iommu/iommu.c"
}
}
]