# CVE-2023-52910: iommu/iova: Fix alloc iova overflows issue

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.33% (percentile 18, 2026-11-26)
- **Published:** 2024-08-21T06:10:51.337Z
- **Modified:** 2026-08-05T09:11:57.069Z

## Who should check

- Anyone running Linux \>= 4e89dce725213d3d0b0475211b500eda4ef4bf2f, \< c929a230c84441e400c32e7b7b4ab763711fb63e; \>= 4e89dce725213d3d0b0475211b500eda4ef4bf2f, \< 61cbf790e7329ed78877560be7136f0b911bba7f; \>= 4e89dce725213d3d0b0475211b500eda4ef4bf2f, \< dcdb3ba7e2a8caae7bfefd603bc22fd0ce9a389c
- Anyone running Linux 5.11

## Description

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:
1. The first iova size exceeds the domain size. When initializing
iova domain, iovad-\>cached\_node is assigned as iovad-\>anchor. For
example, the iova domain size is 10M, start\_pfn is 0x1\_F000\_0000,
and the iova size allocated for the first time is 11M. The
following is the log information, new-\>pfn\_lo is smaller than
iovad-\>cached\_node.

Example log as follows:
\[  223.798112\]\[T1705487\] sh: \[name:iova&\]\_\_alloc\_and\_insert\_iova\_range
start\_pfn:0x1f0000,retry\_pfn:0x0,size:0xb00,limit\_pfn:0x1f0a00
\[  223.799590\]\[T1705487\] sh: \[name:iova&\]\_\_alloc\_and\_insert\_iova\_range
success start\_pfn:0x1f0000,new-\>pfn\_lo:0x1efe00,new-\>pfn\_hi:0x1f08ff

2. The node with the largest iova-\>pfn\_lo value in the iova domain
is deleted, iovad-\>cached\_node will be updated to iovad-\>anchor,
and then the alloc iova size exceeds the maximum iova size that can
be allocated in the domain.

After judging that retry\_pfn is less than limit\_pfn, call retry\_pfn+1
to fix the overflow issue.

## Affected and fixed versions

- Linux: \>= 4e89dce725213d3d0b0475211b500eda4ef4bf2f, \< c929a230c84441e400c32e7b7b4ab763711fb63e; \>= 4e89dce725213d3d0b0475211b500eda4ef4bf2f, \< 61cbf790e7329ed78877560be7136f0b911bba7f; \>= 4e89dce725213d3d0b0475211b500eda4ef4bf2f, \< dcdb3ba7e2a8caae7bfefd603bc22fd0ce9a389c (cvelist)
- Linux: 5.11 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-52910. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-52910.md
Affected: Linux >= 4e89dce725213d3d0b0475211b500eda4ef4bf2f, < c929a230c84441e400c32e7b7b4ab763711fb63e; >= 4e89dce725213d3d0b0475211b500eda4ef4bf2f, < 61cbf790e7329ed78877560be7136f0b911bba7f; >= 4e89dce725213d3d0b0475211b500eda4ef4bf2f, < dcdb3ba7e2a8caae7bfefd603bc22fd0ce9a389c; Linux 5.11
Fixed in: Linux 61cbf790e7329ed78877560be7136f0b911bba7f

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-52910 being exploited?

There is no confirmed exploitation: CVE-2023-52910 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-52910?

High: CVSS 8.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-52910?

Linux \>= 4e89dce725213d3d0b0475211b500eda4ef4bf2f, \< c929a230c84441e400c32e7b7b4ab763711fb63e; \>= 4e89dce725213d3d0b0475211b500eda4ef4bf2f, \< 61cbf790e7329ed78877560be7136f0b911bba7f; \>= 4e89dce725213d3d0b0475211b500eda4ef4bf2f, \< dcdb3ba7e2a8caae7bfefd603bc22fd0ce9a389c; Linux 5.11.

### Is there a fix for CVE-2023-52910?

Yes. Fixed in Linux 61cbf790e7329ed78877560be7136f0b911bba7f. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-52910?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/c929a230c84441e400c32e7b7b4ab763711fb63e>
- patch: <https://git.kernel.org/stable/c/61cbf790e7329ed78877560be7136f0b911bba7f>
- patch: <https://git.kernel.org/stable/c/dcdb3ba7e2a8caae7bfefd603bc22fd0ce9a389c>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-52910>

HTML: <https://flawdb.com/CVE-2023-52910> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-52910>
