In the Linux kernel, the following vulnerability has been resolved:
iommu: sprd: Avoid NULL deref in sprd_iommu_hw_en
In sprd_iommu_cleanup() before calling function sprd_iommu_hw_en()
dom->sdev is equal to NULL, which leads to null dereference.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
[
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/iommu/sprd-iommu.c"
],
"versions": [
{
"version": "92c089a931fd",
"lessThan": "8c79ceb4ecf8",
"status": "affected",
"versionType": "git"
},
{
"version": "8745f3592ee4",
"lessThan": "dfe90030a0cf",
"status": "affected",
"versionType": "git"
},
{
"version": "9afea57384d4",
"lessThan": "b62841e49a2b",
"status": "affected",
"versionType": "git"
},
{
"version": "9afea57384d4",
"lessThan": "d5fe884ce28c",
"status": "affected",
"versionType": "git"
},
{
"version": "9afea57384d4",
"lessThan": "630482ee0653",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/iommu/sprd-iommu.c"
],
"versions": [
{
"version": "6.4",
"status": "affected"
},
{
"version": "0",
"lessThan": "6.4",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "5.15.165",
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.1.103",
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.6.44",
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.10.3",
"lessThanOrEqual": "6.10.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.11",
"lessThanOrEqual": "*",
"status": "unaffected",
"versionType": "original_commit_for_fix"
}
]
}
]
git.kernel.org/stable/c/630482ee0653decf9e2482ac6181897eb6cde5b8
git.kernel.org/stable/c/8c79ceb4ecf823e6ec10fee6febb0fca3de79922
git.kernel.org/stable/c/b62841e49a2b7938f6fdeaaf93fb57e4eb880bdb
git.kernel.org/stable/c/d5fe884ce28c5005f8582c35333c195a168f841c
git.kernel.org/stable/c/dfe90030a0cfa26dca4cb6510de28920e5ad22fb