In the Linux kernel, the following vulnerability has been resolved:
iommu/iova: Fix alloc iova overflows issue
In __alloc_and_insert_iova_range, there is an issue that retry_pfn
overflows. The value of iovad->anchor.pfn_hi is ~0UL, then when
iovad->cached_node is iovad->anchor, curr_iova->pfn_hi + 1 will
overflow. As a result, if the retry logic is executed, low_pfn is
updated to 0, and then new_pfn < low_pfn returns false to make the
allocation successful.
This issue occurs in the following two situations:
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
ubuntu | 22.04 | noarch | linux | < 5.15.0-70.77 | UNKNOWN |
ubuntu | 22.04 | noarch | linux-aws | < 5.15.0-1034.38 | UNKNOWN |
ubuntu | 20.04 | noarch | linux-aws-5.15 | < 5.15.0-1034.38~20.04.1 | UNKNOWN |
ubuntu | 22.04 | noarch | linux-azure | < 5.15.0-1036.43 | UNKNOWN |
ubuntu | 20.04 | noarch | linux-azure-5.15 | < 5.15.0-1036.43~20.04.1 | UNKNOWN |
ubuntu | 22.04 | noarch | linux-azure-fde | < 5.15.0-1036.43.1 | UNKNOWN |
ubuntu | 20.04 | noarch | linux-azure-fde-5.15 | < 5.15.0-1036.43~20.04.1.1 | UNKNOWN |
ubuntu | 22.04 | noarch | linux-gcp | < 5.15.0-1032.40 | UNKNOWN |
ubuntu | 20.04 | noarch | linux-gcp-5.15 | < 5.15.0-1032.40~20.04.1 | UNKNOWN |
ubuntu | 22.04 | noarch | linux-gke | < 5.15.0-1031.36 | UNKNOWN |
git.kernel.org/linus/dcdb3ba7e2a8caae7bfefd603bc22fd0ce9a389c (6.2-rc4)
git.kernel.org/stable/c/61cbf790e7329ed78877560be7136f0b911bba7f
git.kernel.org/stable/c/c929a230c84441e400c32e7b7b4ab763711fb63e
git.kernel.org/stable/c/dcdb3ba7e2a8caae7bfefd603bc22fd0ce9a389c
launchpad.net/bugs/cve/CVE-2023-52910
nvd.nist.gov/vuln/detail/CVE-2023-52910
security-tracker.debian.org/tracker/CVE-2023-52910
www.cve.org/CVERecord?id=CVE-2023-52910