# CVE-2026-74713: vhost\_iotlb: bound map allocation in add\_range

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

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: None; Integrity impact: None; 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.19% (percentile 5, 2026-11-28)
- **Published:** 2026-08-22T15:33:09.028Z
- **Modified:** 2026-10-30T13:20:04.460Z

## Who should check

- Anyone running Linux \>= 0bbe30668d89ec8a309f28ced6d092c90fb23e8c, \< 91d3f1fcb8f7109f18d46a7366bb8202ac4b4456; \>= 0bbe30668d89ec8a309f28ced6d092c90fb23e8c, \< 96da3e1439e7d689eea09fc9b6227fbab5b88ac3; \>= 0bbe30668d89ec8a309f28ced6d092c90fb23e8c, \< eb70200e34772572ad08e99291b08afea6522111; \>= 0bbe30668d89ec8a309f28ced6d092c90fb23e8c, \< b57164cdddb46924ff9fa191b727ca097744de88; \>= 0bbe30668d89ec8a309f28ced6d092c90fb23e8c, \< ae128dd19040ee06a4f8143c7ced4d18080d7a9a; \>= 0bbe30668d89ec8a309f28ced6d092c90fb23e8c, \< 1ed35ac7f3fe2b4396bdd29ac3a7f0ebc0829e94
- Anyone running Linux 5.7

## Description

In the Linux kernel, the following vulnerability has been resolved:

vhost\_iotlb: bound map allocation in add\_range

vhost\_iotlb\_add\_range\_ctx() only retires an old entry when the table
has a non-zero limit, has exactly reached that limit and has
VHOST\_IOTLB\_FLAG\_RETIRE set. Non-retiring tables can keep allocating
entries after reaching their configured limit.

Existing vhost devices allocate their IOTLB with max\_iotlb\_entries from
vhost.c, which defaults to 2048 and is tunable by module parameter. Use
the caller-provided limit at the allocation point instead of adding a
separate default in the common IOTLB helper, and reject non-positive
values in vhost paths that can report an error.

Other vhost IOTLB users should not create zero-limit tables when entries
can be populated from userspace or guest-controlled requests. Add
caller-side max\_iotlb\_entries parameters for mlx5 vDPA, VDUSE and
vhost-vDPA. Reject non-positive VDUSE and vhost-vDPA values, and require
at least two entries for vdpa\_sim and mlx5 vDPA paths that install
full-range mappings, since those mappings are split into two IOTLB
entries.

Handle full-range mappings in the common helper by checking that the
IOTLB can hold both split entries before inserting the first half. This
avoids returning an error after leaving a half mapping behind.

When the table is full, keep the existing retire behavior for retiring
tables and return -ENOSPC for non-retiring tables. Reuse the retired map
node instead of freeing it and allocating a replacement, so a stream of
IOTLB updates cannot keep forcing GFP\_ATOMIC allocations after the table
has reached its limit. If a zero-limit IOTLB still reaches the common
helper, treat it as a configuration error and return -EINVAL.

I found this bug myself, though the patch was written with AI assistance.

## Affected and fixed versions

- Linux: \>= 0bbe30668d89ec8a309f28ced6d092c90fb23e8c, \< 91d3f1fcb8f7109f18d46a7366bb8202ac4b4456; \>= 0bbe30668d89ec8a309f28ced6d092c90fb23e8c, \< 96da3e1439e7d689eea09fc9b6227fbab5b88ac3; \>= 0bbe30668d89ec8a309f28ced6d092c90fb23e8c, \< eb70200e34772572ad08e99291b08afea6522111; \>= 0bbe30668d89ec8a309f28ced6d092c90fb23e8c, \< b57164cdddb46924ff9fa191b727ca097744de88; \>= 0bbe30668d89ec8a309f28ced6d092c90fb23e8c, \< ae128dd19040ee06a4f8143c7ced4d18080d7a9a; \>= 0bbe30668d89ec8a309f28ced6d092c90fb23e8c, \< 1ed35ac7f3fe2b4396bdd29ac3a7f0ebc0829e94 (cvelist)
- Linux: 5.7 (cvelist)

## Mitigation

- Upgrade Linux to 1ed35ac7f3fe2b4396bdd29ac3a7f0ebc0829e94 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-74713.md
Affected: Linux >= 0bbe30668d89ec8a309f28ced6d092c90fb23e8c, < 91d3f1fcb8f7109f18d46a7366bb8202ac4b4456; >= 0bbe30668d89ec8a309f28ced6d092c90fb23e8c, < 96da3e1439e7d689eea09fc9b6227fbab5b88ac3; >= 0bbe30668d89ec8a309f28ced6d092c90fb23e8c, < eb70200e34772572ad08e99291b08afea6522111; >= 0bbe30668d89ec8a309f28c…
Fixed in: Linux 91d3f1fcb8f7109f18d46a7366bb8202ac4b4456, Linux 96da3e1439e7d689eea09fc9b6227fbab5b88ac3, Linux 1ed35ac7f3fe2b4396bdd29ac3a7f0ebc0829e94

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-2026-74713 being exploited?

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

### How serious is CVE-2026-74713?

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

### Which versions are affected by CVE-2026-74713?

Linux \>= 0bbe30668d89ec8a309f28ced6d092c90fb23e8c, \< 91d3f1fcb8f7109f18d46a7366bb8202ac4b4456; \>= 0bbe30668d89ec8a309f28ced6d092c90fb23e8c, \< 96da3e1439e7d689eea09fc9b6227fbab5b88ac3; \>= 0bbe30668d89ec8a309f28ced6d092c90fb23e8c, \< eb70200e34772572ad08e99291b08afea6522111; \>= 0bbe30668d89ec8a309f28ced6d092c90fb23e8c, \< b57164cdddb46924ff9fa191b727ca097744de88; \>= 0bbe30668d89ec8a309f28ced6d092c90fb23e8c, \< ae128dd19040ee06a4f8143c7ced4d18080d7a9a; \>= 0bbe30668d89ec8a309f28ced6d092c90fb23e8c, \< 1ed35ac7f3fe2b4396bdd29ac3a7f0ebc0829e94; Linux 5.7.

### Is there a fix for CVE-2026-74713?

Yes. Fixed in Linux 91d3f1fcb8f7109f18d46a7366bb8202ac4b4456, Linux 96da3e1439e7d689eea09fc9b6227fbab5b88ac3, Linux 1ed35ac7f3fe2b4396bdd29ac3a7f0ebc0829e94. Upgrade Linux to 1ed35ac7f3fe2b4396bdd29ac3a7f0ebc0829e94 or later.

### How do I check if I'm affected by CVE-2026-74713?

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

- other: <https://git.kernel.org/stable/c/91d3f1fcb8f7109f18d46a7366bb8202ac4b4456>
- other: <https://git.kernel.org/stable/c/96da3e1439e7d689eea09fc9b6227fbab5b88ac3>
- other: <https://git.kernel.org/stable/c/eb70200e34772572ad08e99291b08afea6522111>
- other: <https://git.kernel.org/stable/c/b57164cdddb46924ff9fa191b727ca097744de88>
- other: <https://git.kernel.org/stable/c/ae128dd19040ee06a4f8143c7ced4d18080d7a9a>
- other: <https://git.kernel.org/stable/c/1ed35ac7f3fe2b4396bdd29ac3a7f0ebc0829e94>

## 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-2026-74713>

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